<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>marius &#187; JavaScript</title>
	<atom:link href="http://devilx.net/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://devilx.net</link>
	<description></description>
	<lastBuildDate>Mon, 14 May 2012 21:25:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Palm webOS (formerly Palm Pre) Development Bundle for TextMate 0.3</title>
		<link>http://devilx.net/2009/11/13/palm-webos-formerly-palm-pre-development-bundle-for-textmate-0-3/</link>
		<comments>http://devilx.net/2009/11/13/palm-webos-formerly-palm-pre-development-bundle-for-textmate-0-3/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 23:45:23 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Mac and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[This Site]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Austin Powers]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Bundle]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[GitHub]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[Mojo]]></category>
		<category><![CDATA[Palm]]></category>
		<category><![CDATA[Pre]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[TextMate]]></category>
		<category><![CDATA[webOS]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=1077</guid>
		<description><![CDATA[Releasing version 0.3 of my Palm webOS development bundle for TextMate, with plenty new features and a stand-alone &#8220;Mojo&#8221;-language. So, what&#8217;s new in 0.3? Well, just about everything. I&#8217;ve renamed the bundle (at least its metadata), since webOS is not &#8230; <a href="http://devilx.net/2009/11/13/palm-webos-formerly-palm-pre-development-bundle-for-textmate-0-3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.devilx.net/wp-content/uploads/2009/11/Palm-webOS-0.3.png"><img class="alignleft size-thumbnail wp-image-1079" title="Palm webOS 0.3" src="http://www.devilx.net/wp-content/uploads/2009/11/Palm-webOS-0.3-150x150.png" alt="Palm webOS 0.3" width="150" height="150" /></a>Releasing version 0.3 of my Palm webOS development bundle for TextMate, with plenty new features and a stand-alone &#8220;Mojo&#8221;-language.</p>
<p>So, what&#8217;s new in 0.3? Well, just about everything. I&#8217;ve renamed the bundle (at least its metadata), since webOS is not just limited to the Pre and I&#8217;ve modified the shortcuts of existing features to fit TextMate&#8217;s styling guidelines a bit better. I&#8217;ve also created some snippets which can be used for faster code-writing now and in addition to that, I&#8217;ve implemented a very own language for the bundle, which can&#8217;t be found in the document type picker named as &#8220;Mojo&#8221;. &#8220;Yeah baby!&#8221;, as Austin would say now. Actually, yet it&#8217;s just a copy &amp; paste of the JavaScript-language implementation in TextMate, but I&#8217;m planning to extend it to fit the Mojo-framework even better.</p>
<p>The TextMate bundle is now also available on <a title="devilx's palm-webos-development-tmbundle" href="http://github.com/devilx/palm-webos-development-tmbundle">GitHub</a>, for everyone who can&#8217;t wait for me packaging the releases and releasing them here. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> If you have any ideas for improvement, feel free to contact me by mail or just leave some lines here on my blog.</p>
<p>Enjoy!</p>
<p><strong><span style="text-decoration: line-through;">Download: </span><a href="http://www.devilx.net/wp-content/uploads/2009/11/Palm_webOS-Bundle-0.3.zip"><span style="text-decoration: line-through;">Palm_webOS-Bundle-0.3</span></a></strong></p>
<p><strong>Download: <a href="http://www.devilx.net/wp-content/uploads/2009/11/Palm_webOS-Bundle-0.31.zip">Palm_webOS-Bundle-0.3</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/11/13/palm-webos-formerly-palm-pre-development-bundle-for-textmate-0-3/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>iPhone Safari and XmlHttpRequest Authorization-Headers</title>
		<link>http://devilx.net/2009/10/23/iphone-safari-and-xmlhttprequest-authorization-headers/</link>
		<comments>http://devilx.net/2009/10/23/iphone-safari-and-xmlhttprequest-authorization-headers/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 19:58:55 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Life itself]]></category>
		<category><![CDATA[Mac and stuff ...]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Epic Fail]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Support]]></category>
		<category><![CDATA[XmlHttpRequest]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=1026</guid>
		<description><![CDATA[Lately I came across an odd phenomenon regarding the iPhone OS (3.1) Safari and web-sites that make use of JavaScript to set XmlHttpRequest-Headers, like for ETags or for authorization. I&#8217;ve analyzed the (mobile) Safari&#8217;s behavior, tried to find possible mistakes &#8230; <a href="http://devilx.net/2009/10/23/iphone-safari-and-xmlhttprequest-authorization-headers/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Lately I came across an odd phenomenon regarding the iPhone OS (3.1) Safari and web-sites that make use of JavaScript to set XmlHttpRequest-Headers, like for ETags or for authorization. I&#8217;ve analyzed the (mobile) Safari&#8217;s behavior, tried to find possible mistakes within my JavaScript/jQuery code, searched the internet and even called Apple&#8217;s Technical Support (Germany) for more information on that problem. Let me first of all begin by describing the actual occurrence:</p>
<p>I&#8217;ve been working on a web-site that used the jQuery framework to render content on the client side and get information from its back-end, via XmlHttpRequests. The whole built-up worked just fine of every modern, popular browser available in the market &#8211; like the Firefox, Internet Explorer or Safari (on the Mac platform). Now, I had to test the site and make it workable on the iPhone-plattform as well. The site itself uses OAuth as authentication method and provides the information within a HTTP-header named &#8220;Authorization&#8221;. The theory is pretty plain: The back-end receives a request, checks for this header and responses accordingly.</p>
<p>However, iPhone&#8217;s Safari didn&#8217;t behave like the other browsers did. For whatever reason, the XHR was sent to the back-end, including every header that was set on the JavaScript side &#8211; except the &#8220;Authorization&#8221;-header. First, I though that Safari maybe could not handle the parameters of this header, but when I just renamed the setRequestHeader-argument to &#8220;Auth&#8221;, it worked. It simply just worked.</p>
<p>This happening made me search for other users experiencing this problem, unfortunately there doesn&#8217;t really seem to be many users testing JavaScript-sites on their iPhone &#8211; to be more precise, I did not find one result on Google that describes the problem I&#8217;m experiencing. I though, <em>&#8220;Oh well, why not call Apple&#8217;s Technical Support?&#8221;</em> &#8211; bad mistake. I got connected to a very annoyed and stroppy telephone-support which tried to convince me, that the iPhone&#8217;s Safari yet does not support Java. When I repeated myself by saying <em>&#8220;It&#8217;s about Java</em><strong><em>Script</em></strong><em>&#8220;</em>, he didn&#8217;t really make the impression to understand the difference. I told him what the actual scenario was and all I got as answer was <em>&#8220;Fill out the Feedback form on Apple&#8217;s site&#8221;</em>. This made me a bit angry, because I more and more got the feeling of him trying to simply get rid of me. I asked for someone who is more technically involved into the whole iPhone stuff and he answered with <em>&#8220;You&#8217;re already calling the most-advanced technical support &#8211; there&#8217;s no way to go further!&#8221;</em>. At this point total disappointment overcame me and the only thing I thought of saying before I would hang-up the phone was <em>&#8220;FAIL!&#8221;</em> &#8211; luckily I was behaving more polite than the support-guy himself. Eh.</p>
<p>The end of the story is, that I (once again) wrote a report via Apple&#8217;s Feedback form (which from my impression is saving the submitted content to /dev/null) and implemented a workaround for myself by renaming the &#8220;Authorization&#8221;-header to &#8220;Auth&#8221;. Yet again a scenario in which I&#8217;m feeling like talking to a wall of bricks and have no possibility to get any information regarding my problem or maybe even correct this sort of bug. I think, this is the other side of closed-source software.</p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/10/23/iphone-safari-and-xmlhttprequest-authorization-headers/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Searching for FireBugs on a Safari?</title>
		<link>http://devilx.net/2009/05/18/searching-for-firebugs-on-a-safari/</link>
		<comments>http://devilx.net/2009/05/18/searching-for-firebugs-on-a-safari/#comments</comments>
		<pubDate>Mon, 18 May 2009 17:59:26 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Art & Design]]></category>
		<category><![CDATA[Mac and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Addon]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Crap]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[FireBug]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Parallels]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Webkit]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=890</guid>
		<description><![CDATA[In the past few weeks, I was involved into heavy JavaScript web-development at work and had to work with tools that allow me to debug dynamic web-content in an effortless way. Most people would now say &#8220;Use Firefox with FireBug &#8230; <a href="http://devilx.net/2009/05/18/searching-for-firebugs-on-a-safari/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_891" class="wp-caption alignleft" style="width: 160px"><a href="http://www.devilx.net/wp-content/uploads/2009/05/9991783944a1135f3f1f7b.png"><img class="size-thumbnail wp-image-891" title="WebKit Development Tools" src="http://www.devilx.net/wp-content/uploads/2009/05/9991783944a1135f3f1f7b-150x150.png" alt="WebKit Development Tools" width="150" height="150" /></a><p class="wp-caption-text">WebKit Development Tools</p></div>
<p>In the past few weeks, I was involved into heavy JavaScript web-development at work and had to work with tools that allow me to debug dynamic web-content in an effortless way. Most people would now say &#8220;<em>Use Firefox with FireBug addition!</em>&#8221; and I would even agree with them, if I would be using some Windows operating-system instead of my lovely Mac. Everyone who has ever used Firefox on a Linux or a Mac OS X will know, that it&#8217;s a pain in the arse. Due to the way Mozilla-developers have taken to make Firefox available on multiple platforms, it lacks of any speed and integration within most implementations.</p>
<p>So what to do on a Mac, where Firefox trying to render a full-blown AJAX-site needs more space and CPU-power than a VMware or Parallels instance of Windows XP, running the IE? Most people don&#8217;t really know, that the Mac&#8217;s integrated browser already provides a very good toolset for web-development which just got even better with the version 4 (yet, still Beta) of Safari.</p>
<p>The toolset is hidden, on a regular OS X, but it can be unlocked pretty easy. The only thing you gotta do, is quit your Safari, open a Terminal and enter this command:</p>
<p><code> defaults write com.apple.Safari WebKitDeveloperExtras -bool true<br />
</code></p>
<p>It should quit without any output. After that, you can quit the Terminal and re-start Safari. You might not see any difference to Safari&#8217;s appearance before spawning the command, but now just try to do a right-click / command-click within a web-site. You will see, that your popup-menu has just been extended by one new item at its bottom, called &#8220;<em>Inspect Element</em>&#8220;. By clicking this entrie, Safari either opens a new window or separates your current one with an additional view, depending on what Safari version you&#8217;re using. This command works on 3 and 4.</p>
<p>Within that window, you will see a lot of useful information about the page. You can see time and size measurements, script-warnings and -errors and many many more. This extensions to Safari&#8217;s WebKit provides you nearly everything you might know from FireFox Add-Ons like FireBug. And besides of that, it allows you to profile your page in a sleek and easy, graphical way.</p>
<p>I&#8217;m now working quite some time with those tools, exactly because of all the problems I had with Firefox on my Mac, and I must say that I love them. I love the integration and the way it allows me to debug my sites. The only thing I liked more in FireBug was the precision of its GET/POST/PUT/&#8230;-output, but most of the time I don&#8217;t need that anyway. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/05/18/searching-for-firebugs-on-a-safari/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lickable New Dwarf?</title>
		<link>http://devilx.net/2009/05/07/lickable-new-dwarf/</link>
		<comments>http://devilx.net/2009/05/07/lickable-new-dwarf/#comments</comments>
		<pubDate>Thu, 07 May 2009 20:01:01 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Art & Design]]></category>
		<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Art]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[GNOME Shell]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[New]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Talisman Desktop]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=870</guid>
		<description><![CDATA[Today a colleague of mine told me about a new OSS-project within the community around GNOME, called &#8220;GNOME Shell&#8221;. GNOME Shell is&#8230; err&#8230; well, let&#8217;s just use the developer&#8217;s words: The GNOME Shell redefines user interactions with the GNOME desktop. &#8230; <a href="http://devilx.net/2009/05/07/lickable-new-dwarf/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today a colleague of mine told me about a new OSS-project within the community around GNOME, called <a title="GnomeShell - GNOME Live!" href="http://live.gnome.org/GnomeShell">&#8220;GNOME Shell&#8221;</a>. GNOME Shell is&#8230; err&#8230; well, let&#8217;s just use the developer&#8217;s words:</p>
<blockquote><p>The GNOME Shell redefines user interactions with the GNOME desktop. In particular, it offers new paradigms for launching applications, accessing documents, and organizing open windows in GNOME. Later, it will introduce a new applets eco-system and offer new solutions for other desktop features, such as notifications and contacts management. The GNOME Shell is intended to replace functions handled by the GNOME Panel and by the window manager in previous versions of GNOME. The GNOME Shell has rich visual effects enabled by new graphical technologies.</p></blockquote>
<p>So, the GNOME Shell is actually a more lickable and not-so-crappy version of what we can remember from old Windows 98/2k times, usually called something like <a title="Talisman Desktop" href="http://www.lighttek.com/talisman.htm">Talisman Desktop</a> or similar. Those applications were replacements for the actual explorer.exe binary, which hooked into the system logon and tried to build a better looking and feeling, theme-able interface for the end-user. Though, these applications never really found a market niche, last but not least because of the mostly exorbitant pricing policy. A few time later these add-ons were pushed away by Windows XP&#8217;s own theming abilities.</p>
<p>However, as it seems the GNOME community now starting writing a similar add-on for the GNOME desktop, using features provided by modern soft- and especially hardware. The whole Shell is hardware accelerated and seems to be working pretty fluent &#8211; not only because it&#8217;s exceptionally not written in Python or any other sick scripting language. Instead, it makes use of native C code, combined with Clutter and hooks for JavaScript plug-ins.</p>
<p>From what I&#8217;ve seen so far, it&#8217;s not that bad and finally seems to really be an add-on that integrates into the desktop, instead of being just another application which I need to bound <strong><em>somehow</em></strong> into my GNOME desktop. My colleague just quickly compiled and ran it and at least on his nVidia accelerated hardware it worked out pretty smooth and at least while testing it didn&#8217;t crash once.</p>
<p>It could become a pretty cool and promising project, if the people running it will find somebody concerned about UI-Design/-Usability and maybe some graphical artists, too and maybe make it look more &#8220;stable&#8221;. At the moment, the whole &#8216;shell&#8217; still looks pretty half-cooked, but of course, they&#8217;re just at their beginning. So let&#8217;s wait and see &#8211; or better even contribute and change! <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/05/07/lickable-new-dwarf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress iPhone Theme</title>
		<link>http://devilx.net/2009/04/06/wordpress-iphone-theme/</link>
		<comments>http://devilx.net/2009/04/06/wordpress-iphone-theme/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 17:52:41 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Art & Design]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[This Site]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Application]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hot]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[iWebKit]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[New]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Revolutionary]]></category>
		<category><![CDATA[Sexy]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[Touch]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=820</guid>
		<description><![CDATA[So, after I&#8217;ve been asked (or more like beg) by quite a couple of people, whether I could finally release my iPhone theme for WordPress, I&#8217;m now finally taking the time to do so. Since I&#8217;ve already posted a quite &#8230; <a href="http://devilx.net/2009/04/06/wordpress-iphone-theme/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So, after I&#8217;ve been asked (or more like beg) by quite a couple of people, whether I could finally release my iPhone theme for WordPress, I&#8217;m now finally taking the time to do so. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
<p>Since I&#8217;ve already posted a quite descriptive post regarding the theme itself, I won&#8217;t beat around the bush now. For those who haven&#8217;t read the initial story, <a href="#mce_temp_url#">here you can review it</a>. You can download the theme by clicking the link at the bottom of this page. Note, that the theme needs the theme-switcher-reloaded Plugin for WordPress to be up and running to work properly. Additional to that, you will need to make some changes to your actual theme, which allows the user to actually switch to the iPhone theme. These changes depend on what theme you are using, but in general you need to modify your theme&#8217;s header.php and include a code like this one:</p>
<p><code> &lt;?php<br />
if(empty($_COOKIE["iphonetheme" . COOKIEHASH]))<br />
{<br />
if (stristr($_SERVER['HTTP_USER_AGENT'], 'iPhone'))<br />
{<br />
echo "&lt;div style=\"background-color: #F66; color: #fff; padding: 8px;\"&gt;";<br />
echo "You seem to be browsing this site from your iPhone or iPod Touch.";<br />
echo "Would you like to &lt;a href=\"?wptheme=iphone\" title=\"\"&gt;change to the optimized site&lt;/a&gt;?";<br />
echo "&lt;/div&gt;";<br />
}<br />
}<br />
?&gt;<br />
</code></p>
<p>The iPhone Theme itself already contains a button which provides you to switch back to the regular theme.</p>
<p>However, feel free to download, distribute, modify and have fun with my WordPress iPhone Theme &#8211; it&#8217;s released under GNU GPLv2!</p>
<p>Download: <a href="http://www.devilx.net/wp-content/uploads/2009/04/iphone-01.zip">WordPress iPhone 0.1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/04/06/wordpress-iphone-theme/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Revolutionary WordPress Theme for the iPhone / iPod Touch</title>
		<link>http://devilx.net/2009/03/06/revolutionary-wordpress-theme-for-the-iphone-ipod-touch/</link>
		<comments>http://devilx.net/2009/03/06/revolutionary-wordpress-theme-for-the-iphone-ipod-touch/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 11:43:08 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Art & Design]]></category>
		<category><![CDATA[Hot Gear]]></category>
		<category><![CDATA[Life itself]]></category>
		<category><![CDATA[Mac and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[This Site]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Application]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[Cover-Flow]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[Gallery]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hot]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[iWebKit]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[New]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Picasa]]></category>
		<category><![CDATA[Prologue]]></category>
		<category><![CDATA[Revolutionary]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Sexy]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[Touch]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=805</guid>
		<description><![CDATA[As some of you might have already noticed, last night/this morning I&#8217;ve been doing some (or better, a lot of!) work on my web-space regarding many different topics. Therefor I would first like to excuse me for the inaccessibility. However, &#8230; <a href="http://devilx.net/2009/03/06/revolutionary-wordpress-theme-for-the-iphone-ipod-touch/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As some of you might have already noticed, last night/this morning I&#8217;ve been doing some (or better, a lot of!) work on my web-space regarding many different topics. Therefor I would first like to excuse me for the inaccessibility. However, one of the topics was my WordPress&#8217; theme.</p>
<div id="attachment_806" class="wp-caption alignleft" style="width: 160px"><a href="http://www.devilx.net/wp-content/uploads/2009/03/wpiphone1.jpg"><img class="size-thumbnail wp-image-806" title="wpiphone1" src="http://www.devilx.net/wp-content/uploads/2009/03/wpiphone1-150x150.jpg" alt="The red block let's you choose." width="150" height="150" /></a><p class="wp-caption-text">The red block let&#39;s you choose.</p></div>
<p>I&#8217;ve been now using <a title="Automattic" href="http://automattic.com/">Prologue</a> for quite a very long time &#8211; I guess longer than I&#8217;ve ever used one WordPress theme before &#8211; and I&#8217;m highly pleased of it. However, even that Prologue has a built-in iPhone/iPod Touch browser-detection which cuts away the sidebar and only keeps the important news-stream in focus, I haven&#8217;t been very satisfied by that. The font is still pretty small, nearly unreadable, the links are therefor pretty hard to hit, et cetera.</p>
<p>However, yesterday then <a title="widmr.com" href="http://www.widmr.com/">Andi</a> showed me some pretty nice little framework he just found, what actually doesn&#8217;t have anything to do with WordPress itself, but made me think of a very cool idea. The <a title="iWebKit" href="http://www.iwebkit.net/">iWebKit-Framework</a> is a small set of CSS and image files that concentrates on building a website in a way so that it looks just like an iPhone or iPod Touch Application. The whole thing&#8217;s appearance is pretty sexy, you can take a look at the downloads and get the framework plus some example HTML files for testing.</p>
<div id="attachment_807" class="wp-caption alignright" style="width: 160px"><a href="http://www.devilx.net/wp-content/uploads/2009/03/wpiphone2.jpg"><img class="size-thumbnail wp-image-807" title="wpiphone2" src="http://www.devilx.net/wp-content/uploads/2009/03/wpiphone2-150x150.jpg" alt="My optimized front-page." width="150" height="150" /></a><p class="wp-caption-text">My optimized front-page.</p></div>
<p>So, I took a closer look on the iWebKit stuff and did some (again better, a lot of!) PHP WordPress theme hacking. I think I spent the whole night building that thing &#8211; but I also think that it was worth it, heh. And I guess, I&#8217;ve created a revolutionary and new WordPress theme aimed for the usage on iPhones and iPod Touches &#8211; the only problem I had left was: How to I get WordPress to use this theme only on the tiny Safari, but on nothing else? After some more PHP hacking, which included modifying my Prologue theme <strong>but not</strong> the actual WordPress (what&#8217;s the really cool thing within the whole story), I&#8217;ve found a way.</p>
<p>When you browse my WordPress now using your iPhone, you should be getting a red message right on top of the site, which tells you that it has detected the tiny Safari and suggests you to use the iPhone optimized theme. If you confirm by clicking the first link, the whole site&#8217;s design should get to look just like on the pictures I&#8217;ve inserted here.</p>
<div id="attachment_808" class="wp-caption alignleft" style="width: 160px"><a href="http://www.devilx.net/wp-content/uploads/2009/03/wpiphone4.jpg"><img class="size-thumbnail wp-image-808" title="wpiphone4" src="http://www.devilx.net/wp-content/uploads/2009/03/wpiphone4-150x150.jpg" alt="My contact information - optimized." width="150" height="150" /></a><p class="wp-caption-text">My contact information - optimized.</p></div>
<p>I will extend the theme some more, maybe by building in JavaScript effects or other Eye-Candy, to make it fit even better into the iPhones Look &amp; Feel. I was also thinking of some Cover-Flow&#8217;ish effect for my Gallery (which at the moment just links to my Picasa-Site, but thanks to the great API provided by Google it shouldn&#8217;t be too hard to implement that right into the page).</p>
<p>Maybe, after some more testing I&#8217;ll be able to provide it for download, including a whole documentation of how to make it work. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> Until then, I hope you enjoy browsing my Blog, especially over the iPhone or your iPod Touch. Please feel free to write me your impressions, feedback and also suggestions for improvement by commenting here or writing me an e-mail. So far &#8230;</p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/03/06/revolutionary-wordpress-theme-for-the-iphone-ipod-touch/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>My first Dashboard Widget</title>
		<link>http://devilx.net/2008/11/01/my-first-dashboard-widget/</link>
		<comments>http://devilx.net/2008/11/01/my-first-dashboard-widget/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 16:50:13 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Mac and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[This Site]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[Dashboard]]></category>
		<category><![CDATA[Dashcode]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Karamba]]></category>
		<category><![CDATA[New]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[Widget]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=592</guid>
		<description><![CDATA[So, I&#8217;ve just played around a bit with Dashcode, Apple&#8217;s IDE for Dashboard-Widget development, and I have to say that it&#8217;s pretty cool. It&#8217;s quite easy to use and provides excellent WYSIWYG features. I just started a default RSS-Reader project &#8230; <a href="http://devilx.net/2008/11/01/my-first-dashboard-widget/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 250px"></p>
<div style="text-align: auto;"><img class=" " title="A Place Full Of Dorkness" src="/~devilx/blog/bin/widgets/widget_aplacefullofdorkness.jpg" alt="My first Dashboard Widget" width="240" height="267" /></div>
<p><p class="wp-caption-text">My first Dashboard Widget</p></div>
<p>So, I&#8217;ve just played around a bit with Dashcode, Apple&#8217;s IDE for Dashboard-Widget development, and I have to say that it&#8217;s pretty cool. It&#8217;s quite easy to use and provides excellent WYSIWYG features. I just started a default RSS-Reader project and customized the template it gave me the way I liked it. It&#8217;s really interesting what can be done with a little JavaScript. Of course, by using that script language, Dashboard Widgets might not be the best in performance or system-usage, but in my opinion this way is a better one for writing widgets, than for example OpenSource projects like Karamba provide. I don&#8217;t want to have to learn Python from ground up, just to be able to write my own RSS-Reader widget. And of course, for writing more advanced Widgets with Dashcode, the developer must know JavaScript &#8211; but it&#8217;s a small difference between the time it takes to learn simple JavaScript and the time it takes to just understand Python or whatever other language.</p>
<p>However, I think I might be doing some more playing around with Dashcode. I don&#8217;t know yet what widgets to implement, but I&#8217;m sure I&#8217;ll find some interesting ideas I could realize.</p>
<p>You can download the <a title="A Place Full Of Dorkness RSS-Reading Widget" href="http://devilx.net/~devilx/blog/bin/widgets/APlaceFullOfDorkness.zip" target="_self">RSS-Reader for my Blog here</a>. Enjoy! <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2008/11/01/my-first-dashboard-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

