<?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>Stolensidekick.com - web developer news, articles, tutorials, etc</title>
	<atom:link href="http://www.stolensidekick.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.stolensidekick.com</link>
	<description>A blog about web development</description>
	<lastBuildDate>Tue, 28 Jul 2009 14:49:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Lion drawing for free use</title>
		<link>http://www.stolensidekick.com/?p=45</link>
		<comments>http://www.stolensidekick.com/?p=45#comments</comments>
		<pubDate>Tue, 28 Jul 2009 14:40:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Clip art]]></category>

		<guid isPermaLink="false">http://www.stolensidekick.com/?p=45</guid>
		<description><![CDATA[
I created this in photoshop, thought I should share it with the world. Use it for whatever you like, but credit me when using it; link to this site&#8230;
]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.stolensidekick.com/wp-content/uploads/lion.gif" alt="Lion made in photoshop" /></p>
<p>I created this in photoshop, thought I should share it with the world. Use it for whatever you like, but credit me when using it; link to this site&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stolensidekick.com/?feed=rss2&amp;p=45</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A new JavaScript search</title>
		<link>http://www.stolensidekick.com/?p=32</link>
		<comments>http://www.stolensidekick.com/?p=32#comments</comments>
		<pubDate>Wed, 15 Jul 2009 16:49:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.stolensidekick.com/?p=32</guid>
		<description><![CDATA[A little search that excludes items not in the search term live using JavaScript.]]></description>
			<content:encoded><![CDATA[<p>This has probably been done before, but check out my <a href="http://www.stolensidekick.com/ajaxsearch/">ajax-like search</a>! Very easy code, it just uses the text on the page. But you can rewrite it to talk to php scripts, I guess I will do this later, and perhaps explain the code a little.</p>
<p>And please comment if some of the code should be changed for better appearance. I can see that the divs don&#8217;t float the way they should. I will check this later.</p>
<p>UPDATE: works now in IE. The reason it didn&#8217;t work was that document.getElementsByName() isn&#8217;t working in IE (at least IE7). I found a fix and implemented it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stolensidekick.com/?feed=rss2&amp;p=32</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to include your twitter on any php-enabled website</title>
		<link>http://www.stolensidekick.com/?p=21</link>
		<comments>http://www.stolensidekick.com/?p=21#comments</comments>
		<pubDate>Mon, 13 Jul 2009 16:28:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.stolensidekick.com/?p=21</guid>
		<description><![CDATA[We are to do this by creating two files you put serverside. The first one, can be called twitter.php. Here&#8217;s the code:
&#60;a href=&#8221;http://www.twitter.com/pan100lion&#8221;&#62;
&#60;?php
$twitterDOM = new DOMDocument();
$twitterDOM-&#62;encoding = &#8216;UTF-8&#8242;;
$twitterDOM-&#62;load(&#8221;http://twitter.com/statuses/user_timeline/37750230.rss&#8221;);
$xslt= new DOMDocument();
$xslt-&#62;encoding = &#8216;UTF-8&#8242;;
$xslt-&#62;load(&#8221;twitterstub.xsl&#8221;);
$processor = new XSLTProcessor();
$processor-&#62;importStylesheet($xslt);
$output = $processor-&#62;transformToDoc($twitterDOM);
echo $output-&#62;saveXML();
?&#62;
&#60;/a&#62;
Swap the link on the line $twitterDOM-&#62;load with your own feed adress. You&#8217;ll find it at your twitter [...]]]></description>
			<content:encoded><![CDATA[<p>We are to do this by creating two files you put serverside. The first one, can be called twitter.php. Here&#8217;s the code:</p>
<p>&lt;a href=&#8221;http://www.twitter.com/pan100lion&#8221;&gt;</p>
<p>&lt;?php<br />
$twitterDOM = new DOMDocument();<br />
$twitterDOM-&gt;encoding = &#8216;UTF-8&#8242;;<br />
$twitterDOM-&gt;load(&#8221;http://twitter.com/statuses/user_timeline/37750230.rss&#8221;);</p>
<p>$xslt= new DOMDocument();<br />
$xslt-&gt;encoding = &#8216;UTF-8&#8242;;<br />
$xslt-&gt;load(&#8221;twitterstub.xsl&#8221;);</p>
<p>$processor = new XSLTProcessor();<br />
$processor-&gt;importStylesheet($xslt);<br />
$output = $processor-&gt;transformToDoc($twitterDOM);<br />
echo $output-&gt;saveXML();<br />
?&gt;<br />
&lt;/a&gt;</p>
<p>Swap the link on the line $twitterDOM-&gt;load with your own feed adress. You&#8217;ll find it at your twitter page.</p>
<p>File number 2 is called twitterstub.xsl:</p>
<p>&lt;!DOCTYPE xsl:stylesheet  [<br />
&lt;!ENTITY nbsp   "&amp;#160;"&gt;<br />
&lt;!ENTITY copy   "&amp;#169;"&gt;<br />
&lt;!ENTITY reg    "&amp;#174;"&gt;<br />
&lt;!ENTITY trade  "&amp;#8482;"&gt;<br />
&lt;!ENTITY mdash  "&amp;#8212;"&gt;<br />
&lt;!ENTITY ldquo  "&amp;#8220;"&gt;<br />
&lt;!ENTITY rdquo  "&amp;#8221;"&gt;<br />
&lt;!ENTITY pound  "&amp;#163;"&gt;<br />
&lt;!ENTITY yen    "&amp;#165;"&gt;<br />
&lt;!ENTITY euro   "&amp;#8364;"&gt;<br />
]&gt;<br />
&lt;xsl:stylesheet xmlns:xsl=&#8221;http://www.w3.org/1999/XSL/Transform&#8221;<br />
xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221;<br />
version=&#8221;1.0&#8243; &gt;</p>
<p>&lt;xsl:output method=&#8221;html&#8221;<br />
media-type=&#8221;text/html&#8221;<br />
doctype-public=&#8221;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221;<br />
doctype-system=&#8221;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;<br />
indent=&#8221;yes&#8221;<br />
encoding=&#8221;UTF-8&#8243; /&gt;<br />
&lt;xsl:template match=&#8221;/&#8221;&gt;<br />
&lt;xsl:for-each select=&#8221;rss/channel/item&#8221;&gt;<br />
&lt;xsl:if test=&#8221;position() &amp;lt; 2&#8243;&gt;<br />
&lt;p&gt;&lt;xsl:if test=&#8221;position() = 1&#8243;&gt;<br />
&lt;xsl:attribute name=&#8221;style&#8221;&gt;font-weight:bold; font-size:10px&lt;/xsl:attribute&gt;<br />
&lt;/xsl:if&gt;<br />
&lt;xsl:value-of select=&#8221;title&#8221; /&gt;<br />
&lt;i&gt;<br />
(&lt;xsl:value-of select=&#8221;pubDate&#8221; /&gt;)<br />
&lt;/i&gt;<br />
&lt;/p&gt;<br />
&lt;/xsl:if&gt;<br />
&lt;/xsl:for-each&gt;<br />
&lt;/xsl:template&gt;<br />
&lt;/xsl:stylesheet&gt;</p>
<p>this is a stylesheet with info on how to parse the file. It is programmed to only take the first one, but it can be altered to take several posts if you know some xsl. Read more about xslt <a href="http://www.w3schools.com/xsl/default.asp">here</a>.</p>
<p>Oh yeah, and you need to include the twitter.php file where you want it to appear. Like this: &lt;?php include(&#8217;twitter.php&#8217;) ?&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stolensidekick.com/?feed=rss2&amp;p=21</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Adsense on wordpress</title>
		<link>http://www.stolensidekick.com/?p=12</link>
		<comments>http://www.stolensidekick.com/?p=12#comments</comments>
		<pubDate>Fri, 10 Jul 2009 19:56:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Revenues]]></category>

		<guid isPermaLink="false">http://www.stolensidekick.com/?p=12</guid>
		<description><![CDATA[I was planning on installing adsense on this blog, and I have now found a theme for doing so. My adsense account is not ready yet, so I assume someone else gets the vast amount of dollars ticking in than me right now.
The theme I use is Prosense, and I read about it here.
]]></description>
			<content:encoded><![CDATA[<p>I was planning on installing adsense on this blog, and I have now found a theme for doing so. My adsense account is not ready yet, so I assume someone else gets the vast amount of dollars ticking in than me right now.</p>
<p>The theme I use is Prosense, and I read about it <a href="http://www.doshdosh.com/16-adsense-optimized-wordpress-themes-to-maximize-your-contextual-ad-earnings/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stolensidekick.com/?feed=rss2&amp;p=12</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Music for code</title>
		<link>http://www.stolensidekick.com/?p=8</link>
		<comments>http://www.stolensidekick.com/?p=8#comments</comments>
		<pubDate>Mon, 18 May 2009 06:55:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.stolensidekick.com/?p=8</guid>
		<description><![CDATA[Music for code &#8211; code for music. I find Jeff Beck and his whacky guitar tunes to be somewhat inspiring to listen to while coding.
]]></description>
			<content:encoded><![CDATA[<p>Music for code &#8211; code for music. I find Jeff Beck and his whacky guitar tunes to be somewhat inspiring to listen to while coding.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stolensidekick.com/?feed=rss2&amp;p=8</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php coding &#8211; Dreamweaver vs Eclipse vs freware alternative PSPad</title>
		<link>http://www.stolensidekick.com/?p=5</link>
		<comments>http://www.stolensidekick.com/?p=5#comments</comments>
		<pubDate>Fri, 15 May 2009 16:04:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.stolensidekick.com/?p=5</guid>
		<description><![CDATA[What tool should I use for web developement? What is important? Read what I think about the alternatives.]]></description>
			<content:encoded><![CDATA[<p>For a web developer, the coding environment is one of the most important factors in effective work. Being a fresh web developer, it is perhaps even more important to focus on finding the best tools available for coding. The first six months of my career I used <a title="Dreamweaver - a professional web editor" href="http://www.adobe.com/products/dreamweaver/">Dreamweaver CS4</a> some and <a title="Eclipse - an open source programming IDE" href="http://www.eclipse.org">Eclipse </a>some, for my php programming. I found that Eclipse was far better on code completion &#8211; but not as good as it is on Java. Even with plug-ins. But Dreamweaver has built-in ftp support, this can of course be bulit in to Eclipse, but I haven&#8217;t tried it. You can probably also have a WYSIWYG editor in Eclipse, but I can&#8217;t seem to find a distro suiting my needs. And when I install plugins, they tend to introduce bugs to other parts of Eclipse. Frustrating!</p>
<p>When I started working for <a title="My employer" href="http://www.kyber.no/">Kyber</a> now in April, they introduced me to <a title="PSPad - a decent web editor for coders" href="http://www.pspad.com/">PSPad</a>, as an alternative to the relatively expensive Dreamweaver. It turned out to work great (I have used it for classic asp coding and not for php though) for web development coding! It has a built-in ftp client, this is actually important, and it allows code completion. The only thing I could wish for now, was an advanced SQL database administration panel so that I could edit the DB and the site files in the same application. Now, I remote the IIS server and edit the database directly there by using the MS tool (I don&#8217;t remember what it&#8217;s called right now).</p>
<p>I have the feeling Eclipse can be tweaked for my needs, if anyone out there knows about a distro including the features I have discussed, please leave a comment to this post. But, for now, still looking for that perfect tool of my dreams &#8211; the tool to fall in love with, I can easily recommend trying PSPad. I tried <a href="http://www.jedit.org/">JEdit </a>too, but found it didn&#8217;t support drag and drop of files from Explorer in Windows.</p>
<p>More to come on this one &#8211; I am planning on building a web site from scratch in pspad. Keep reading the blog!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stolensidekick.com/?feed=rss2&amp;p=5</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
