<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>evolmachine.com - scripts, linux, music and art</title>
	
	<link>http://www.evolmachine.com/blog</link>
	<description>This Machine Kills Fascists</description>
	<lastBuildDate>Thu, 18 Jun 2009 08:09:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/evolmachine" type="application/rss+xml" /><item>
		<title>brilliancy helvetica tshirt</title>
		<link>http://www.evolmachine.com/blog/archives/brilliancy-helvetica-tshirt/</link>
		<comments>http://www.evolmachine.com/blog/archives/brilliancy-helvetica-tshirt/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 08:09:15 +0000</pubDate>
		<dc:creator>lando</dc:creator>
				<category><![CDATA[apparel]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://www.evolmachine.com/blog/?p=135</guid>
		<description><![CDATA[


			
		

			
		


i&#8217;ve always had a thing for typography and after coming across these shirts i had to confess that they were the tits. im ordering now! you can too at brilliancy.eu.
[found via designyoutrust] [brilliancy.eu]
]]></description>
			<content:encoded><![CDATA[<table align="center">
<tr>
<td>
			<img src="http://www.evolmachine.com/blog/wp-content/uploads/2009/06/tee-6-300x256.jpg" alt="helvetica tshirt" title="helvetica tshirt" width="300" height="256" class="size-medium wp-image-144" />
		</td>
<td>
			<img src="http://www.evolmachine.com/blog/wp-content/uploads/2009/06/tee-7-237x300.jpg" alt="helvetica tshirt" title="helvetica tshirt" width="237" height="300" class="size-medium wp-image-139" />
		</td>
</tr>
</table>
<p>i&#8217;ve always had a thing for typography and after coming across these shirts i had to confess that they were the tits. im ordering now! you can too at <a href="http://www.brilliancy.eu/tee.html"><b>brilliancy.eu</b></a>.</p>
<p>[found via <a href="http://designyoutrust.com">designyoutrust</a>] [<a href="http://www.brilliancy.eu/tee.html">brilliancy.eu</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolmachine.com/blog/archives/brilliancy-helvetica-tshirt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ruby on rails overview thanks to Berkeleys Rad Lab</title>
		<link>http://www.evolmachine.com/blog/archives/ruby-on-rails-overview-thanks-to-berkeleys-rad-lab/</link>
		<comments>http://www.evolmachine.com/blog/archives/ruby-on-rails-overview-thanks-to-berkeleys-rad-lab/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 07:39:04 +0000</pubDate>
		<dc:creator>lando</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.evolmachine.com/blog/?p=95</guid>
		<description><![CDATA[
While trying to quench my desire to understand Ruby On Rails, I came accross a 6 segment video overview from Berkeley&#8217;s RADlab thats easy to understand (if you have any knowledge of OOP and Ruby) and thorough enough to get me heading in the right direction. This has been, by far, the easiest to understand [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.evolmachine.com/blog/wp-content/uploads/2009/04/bruce_on_rails-300x221.jpg" alt="bruce_on_rails" title="bruce_on_rails" width="300" height="221" class="alignright size-medium wp-image-105" /><br />
While trying to quench my desire to understand <a href="http://rubyonrails.org/">Ruby On Rails</a>, I came accross a 6 segment video overview from <a href="http://berkeley.edu/">Berkeley</a>&#8217;s <a href="http://radlab.cs.berkeley.edu/">RADlab</a> thats easy to understand (if you have any knowledge of OOP and Ruby) and thorough enough to get me heading in the right direction. This has been, by far, the easiest to understand crash course on rails for the beginner that i have found. I&#8217;ve sat many an hour trying to piece together tutorials to try and grasp the concepts, but nothing would stick. Then came </p>
<p>It takes you through the following hour long segments:</p>
<p>1. Hello World<br />
2. Just Enough Ruby<br />
3. Basic Rails<br />
4. Advanced Active Record<br />
5. AJAX and Testing<br />
6. Configuration and Deployment</p>
<p>the following is a quote from their youtube description:<br />
&#8220;This is an intensive one-day overview of the fundamental concepts of the Ruby on Rails Web programming framework, presented by the UC Berkeley RAD Lab. The overview consists of six sections of approximately one hour each.&#8221;</p>
<p>[ <a href="http://www.youtube.com/profile?user=ucberkeleyevents&#038;view=videos&#038;query=ruby+on+rails">Berkeley - Ruby on Rail Video Lecture</a> ] [ <a href="http://radlab.cs.berkeley.edu/wiki/Ruby_on_Rails_1-day_course">Ruby on Rails 1-day Course - Wiki Entry</a> ]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolmachine.com/blog/archives/ruby-on-rails-overview-thanks-to-berkeleys-rad-lab/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>blip.fm</title>
		<link>http://www.evolmachine.com/blog/archives/blipfm/</link>
		<comments>http://www.evolmachine.com/blog/archives/blipfm/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 09:18:25 +0000</pubDate>
		<dc:creator>lando</dc:creator>
				<category><![CDATA[music]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[social]]></category>

		<guid isPermaLink="false">http://www.evolmachine.com/blog/?p=86</guid>
		<description><![CDATA[
My days are filled with coffee, cigarettes, car rides, work and music. I already use the services of Last.fm and Pandora.com to filter out the enormous amounts of crap music strewn through out the internet. Although, the previous services helps me discover new bands by finding other users that have similar musical tastes as mine [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blip.fm"><img src="http://www.evolmachine.com/blog/wp-content/uploads/2009/04/blipfm_lg.png" alt="blipfm" title="blipfm" width="190" height="75" class="alignright size-full wp-image-89" /></a></p>
<p>My days are filled with coffee, cigarettes, car rides, work and music. I already use the services of <a href="http://last.fm">Last.fm</a> and <a href="pandora.com">Pandora.com</a> to filter out the enormous amounts of crap music strewn through out the internet. Although, the previous services helps me discover new bands by finding other users that have similar musical tastes as mine there are always other new and interesting avenues to the same conclusion.</p>
<p>Here enters a new breed of social music discovery called <a href="http://blip.fm">blip.fm</a>. This service is explained simplest by calling it <a href="http://twitter.com">Twitter</a> with music. Once you arrive at the home page after you&#8217;ve registered all you need to do is type in the song you want to blip. This brings up a list of user submitted songs hosting accross the internet. You can preview the song and decide wether to blip or not. If you decide to blip this song your allowed to add a small message to it.</p>
<p>Where the social aspect comes into play is that users who are attracted to your playlists can befriend you and you the same to them. If they find a particular song that they really enjoy that can give you &#8220;props&#8221; for it. &#8220;Props&#8221; in Blip.fm land is like cred currency. You earn them by either blipping or by getting props. This then allows you to use them on others.</p>
<p>Blip.fm may not be the end all, be all of social music sharing but it is an interting new service thats helped me fill up my music folder with new albums. This is a good thing in my book.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolmachine.com/blog/archives/blipfm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>display gmail count in conky using ruby</title>
		<link>http://www.evolmachine.com/blog/archives/display-gmail-count-in-conky-using-ruby/</link>
		<comments>http://www.evolmachine.com/blog/archives/display-gmail-count-in-conky-using-ruby/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 22:28:18 +0000</pubDate>
		<dc:creator>lando</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[imap]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.evolmachine.com/blog/?p=75</guid>
		<description><![CDATA[I&#8217;m currently running xmonad as my window manager alongside with conky for system stats and such. I needed conky to show my email count for my various gmail accounts so i came up with the following ruby script. It pretty much loops through my accounts and writes the username and email count to a file [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently running <a href="http://xmonad.org/">xmonad</a> as my window manager alongside with <a href="http://conky.sourceforge.net/">conky</a> for system stats and such. I needed conky to show my email count for my various <a href="http://gmail.com">gmail</a> accounts so i came up with the following ruby script. It pretty much loops through my accounts and writes the username and email count to a file located in my /tmp directory. This script is scheduled using my crontab to run every 5 minutes. I then ask conky to look for that file and display it. its simple and to the point.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
</pre></td><td class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#008000; font-style:italic;">#!/usr/bin/ruby</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'net/imap'</span>
&nbsp;
usernames = <span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#996600;">'username1'</span>, <span style="color:#996600;">'username2'</span>, <span style="color:#996600;">'username3'</span>, <span style="color:#996600;">'username4'</span><span style="color:#006600; font-weight:bold;">&#93;</span>
passwords = <span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#996600;">'password1'</span>, <span style="color:#996600;">'password2'</span>, <span style="color:#996600;">'password3'</span>, <span style="color:#996600;">'password4'</span><span style="color:#006600; font-weight:bold;">&#93;</span>
&nbsp;
&nbsp;
aFile = <span style="color:#CC00FF; font-weight:bold;">File</span>.<span style="color:#CC0066; font-weight:bold;">open</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;/tmp/emailcount&quot;</span>, <span style="color:#996600;">&quot;w&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>aFile<span style="color:#006600; font-weight:bold;">|</span>
  <span style="color:#9966CC; font-weight:bold;">if</span> aFile    
&nbsp;
    <span style="color:#9966CC; font-weight:bold;">for</span> i <span style="color:#9966CC; font-weight:bold;">in</span> 0...<span style="color:#9900CC;">usernames</span>.<span style="color:#9900CC;">length</span>
      count = 0
      imap = <span style="color:#6666ff; font-weight:bold;">Net::IMAP</span>.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'imap.gmail.com'</span>,<span style="color:#996600;">'993'</span>,<span style="color:#0000FF; font-weight:bold;">true</span><span style="color:#006600; font-weight:bold;">&#41;</span>
      imap.<span style="color:#9900CC;">login</span><span style="color:#006600; font-weight:bold;">&#40;</span>usernames<span style="color:#006600; font-weight:bold;">&#91;</span>i<span style="color:#006600; font-weight:bold;">&#93;</span>, passwords<span style="color:#006600; font-weight:bold;">&#91;</span>i<span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
      imap.<span style="color:#CC0066; font-weight:bold;">select</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'INBOX'</span><span style="color:#006600; font-weight:bold;">&#41;</span>
      imap.<span style="color:#9900CC;">search</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#996600;">&quot;NOT&quot;</span>, <span style="color:#996600;">&quot;DELETED&quot;</span><span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">each</span> <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>message_id<span style="color:#006600; font-weight:bold;">|</span>
        count = count <span style="color:#006600; font-weight:bold;">+</span> 1
      <span style="color:#9966CC; font-weight:bold;">end</span>
      aFile.<span style="color:#9900CC;">syswrite</span><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#996600;">&quot;#{usernames[i]}: #{count}<span style="color:#000099;">\n</span>&quot;</span> <span style="color:#006600; font-weight:bold;">&#41;</span>
      imap.<span style="color:#9900CC;">logout</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
      imap.<span style="color:#9900CC;">disconnect</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
&nbsp;
    <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
  <span style="color:#9966CC; font-weight:bold;">else</span>
    <span style="color:#CC0066; font-weight:bold;">puts</span> <span style="color:#996600;">&quot;cannot open emailcount file&quot;</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">end</span></pre></td></tr></table></div>

<p>then add this to your .conkyrc config file</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #800000;">${color}</span><span style="color: #800000;">${execi 30 cat /tmp/emailcount}</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.evolmachine.com/blog/archives/display-gmail-count-in-conky-using-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dead milkmen might have new material</title>
		<link>http://www.evolmachine.com/blog/archives/dead-milkmen-might-have-new-material/</link>
		<comments>http://www.evolmachine.com/blog/archives/dead-milkmen-might-have-new-material/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 05:47:16 +0000</pubDate>
		<dc:creator>lando</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[band]]></category>

		<guid isPermaLink="false">http://www.evolmachine.com/blog/?p=61</guid>
		<description><![CDATA[
I&#8217;m a huge fan of the dead milkmen and it seems as if they might be getting back together. Well, at least for a couple shows. This all started back in November of 2008 when they played the Fun Fun Fun Festival in Austin, Texas. They had so much fun they&#8217;ve decided to keep on [...]]]></description>
			<content:encoded><![CDATA[<div align="center"><img src="http://www.evolmachine.com/blog/wp-content/uploads/2009/02/dead_milkmen_rehearsing.png" alt="dead milkmen rehearsing" title="dead milkmen rehearsing" width="500" height="386" class="aligncenter size-full wp-image-62"/></div>
<p>I&#8217;m a huge fan of the dead milkmen and it seems as if they might be getting back together. Well, at least for a couple shows. This all started back in November of 2008 when they played the <a href="http://www.funfunfunfest.com/">Fun Fun Fun Festival</a> in Austin, Texas. They had so much fun they&#8217;ve decided to keep on rehearsing to see what new material might materialize. <span class="strikethrough">The great thing is that they&#8217;ve already booked about 10 shows across the states.</span> If i wasn&#8217;t so busy and broke i would surely be attending one of these shows. </p>
<p><span class="correction">correction:</span> seems that i read the article wrong and they have not booked 10 shows. They have, however, booked one show in Brooklyn on April 17th. The other nine shows are actually Joe&#8217;s solo work which will be appearing at SXSW this year.</p>
<p>this news is fucking fantastic! here a flickr photo set taken by Dean&#8217;s sister [<a href="http://www.flickr.com/photos/bluberd/sets/72157607954769604/">flickr set</a>].</p>
<p>[ via <a href="http://www.deadmilkmen.com/2009/02/10/a-new-year-new-stuff-happening/">deadmilkmen.com</a> ]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolmachine.com/blog/archives/dead-milkmen-might-have-new-material/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hacking programmable road signs</title>
		<link>http://www.evolmachine.com/blog/archives/hacking-programmable-road-signs/</link>
		<comments>http://www.evolmachine.com/blog/archives/hacking-programmable-road-signs/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 09:48:52 +0000</pubDate>
		<dc:creator>lando</dc:creator>
				<category><![CDATA[hack]]></category>

		<guid isPermaLink="false">http://evolmachine.com/blog/?p=30</guid>
		<description><![CDATA[
Imagine driving yourself to work and passing a road safety sign with the following message. &#8220;Zombies Ahead&#8221; The above sign was hacked this week in the boston area and i-hacked.com has directions on how to change the display message on those programmable road signs.
[ via i-hacked.com ]
]]></description>
			<content:encoded><![CDATA[<p><center><img src="http://www.evolmachine.com/blog/wp-content/uploads/2009/02/hacking-programmable-road-signs.jpg" alt="hacking-programmable-road-signs" title="hacking-programmable-road-signs" width="360" height="166" class="alignnone size-full wp-image-37" /></center></p>
<p>Imagine driving yourself to work and passing a road safety sign with the following message. &#8220;Zombies Ahead&#8221; The above sign was hacked this week in the boston area and <a href="http://www.i-hacked.com/content/view/274/1/">i-hacked.com</a> has directions on how to change the display message on those programmable road signs.</p>
<p>[ <a href="http://www.i-hacked.com/content/view/274/1/">via i-hacked.com</a> ]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolmachine.com/blog/archives/hacking-programmable-road-signs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>the gangs all here</title>
		<link>http://www.evolmachine.com/blog/archives/the-gangs-all-here/</link>
		<comments>http://www.evolmachine.com/blog/archives/the-gangs-all-here/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 08:02:25 +0000</pubDate>
		<dc:creator>lando</dc:creator>
				<category><![CDATA[random]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://evolmachine.com/blog/?p=29</guid>
		<description><![CDATA[

this video nearly made me piss my pants.
]]></description>
			<content:encoded><![CDATA[<p><center><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/DoquKPpBH_w&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/DoquKPpBH_w&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br />
</center></p>
<h3 style="margin: 5px 0px; text-align: center;">this video nearly made me piss my pants.</h3>
]]></content:encoded>
			<wfw:commentRss>http://www.evolmachine.com/blog/archives/the-gangs-all-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>in the air tonight</title>
		<link>http://www.evolmachine.com/blog/archives/in-the-air-tonight/</link>
		<comments>http://www.evolmachine.com/blog/archives/in-the-air-tonight/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 17:52:15 +0000</pubDate>
		<dc:creator>lando</dc:creator>
				<category><![CDATA[music]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[commercial]]></category>
		<category><![CDATA[funny]]></category>

		<guid isPermaLink="false">http://evolmachine.com/blog/?p=26</guid>
		<description><![CDATA[


]]></description>
			<content:encoded><![CDATA[<div align="center">
<object width="500" height="325"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=348710&amp;server=www.vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://www.vimeo.com/moogaloop.swf?clip_id=348710&amp;server=www.vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="325"></embed></object>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.evolmachine.com/blog/archives/in-the-air-tonight/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>identi.ca feed plugin</title>
		<link>http://www.evolmachine.com/blog/archives/identica-feed-plugin/</link>
		<comments>http://www.evolmachine.com/blog/archives/identica-feed-plugin/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 15:09:05 +0000</pubDate>
		<dc:creator>lando</dc:creator>
				<category><![CDATA[script]]></category>
		<category><![CDATA[identi.ca]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://evolmachine.com/blog/?p=23</guid>
		<description><![CDATA[
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
&#60;?
$limitToShow = 10;
$xmlcontent = &#34;&#34;;
$xfh = fopen&#40;&#34;http://identi.ca/evolmachine/rss&#34;, &#34;r&#34;&#41;;
&#160;
while&#40; !feof&#40;$xfh&#41; &#41; &#123;
	$xmlcontent .= fread&#40; $xfh, 128 &#41;;
&#125;
fclose&#40; $xfh &#41;;
&#160;
$feedArr = array&#40;&#41;;
&#160;
$xml = simplexml_load_string&#40; $xmlcontent &#41;;
&#160;
foreach &#40; $xml-&#62;item as $item &#41; &#123;
	$feedItem&#91;'title'&#93; = &#40;string&#41; $item-&#62;title;
	$feedItem&#91;'link'&#93; = &#40;string&#41; $item-&#62;link;
	$feedItem&#91;'description'&#93; = &#40;string&#41; $item-&#62;description;
	$feedItem&#91;'date'&#93; = &#40;string&#41; $item-&#62;date;
	array_push&#40; $feedArr, $feedItem &#41;;
&#125;?&#62;
&#160;
&#60;ul&#62;	
	&#60;? 
	$count = 0;
	foreach&#40; $feedArr as $item &#41; &#123;
		if&#40; $count &#60; [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?</span>
<span style="color: #000088;">$limitToShow</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$xmlcontent</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$xfh</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;http://identi.ca/evolmachine/rss&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;r&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><span style="color: #990000;">feof</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$xfh</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$xmlcontent</span> <span style="color: #339933;">.=</span> <span style="color: #990000;">fread</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$xfh</span><span style="color: #339933;">,</span> 128 <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$xfh</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$feedArr</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$xml</span> <span style="color: #339933;">=</span> <span style="color: #990000;">simplexml_load_string</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$xmlcontent</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">item</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$item</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$feedItem</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'title'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span> <span style="color: #000088;">$item</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$feedItem</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'link'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span> <span style="color: #000088;">$item</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">link</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$feedItem</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'description'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span> <span style="color: #000088;">$item</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">description</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$feedItem</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'date'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span> <span style="color: #000088;">$item</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">date</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">array_push</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$feedArr</span><span style="color: #339933;">,</span> <span style="color: #000088;">$feedItem</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
&lt;ul&gt;	
	<span style="color: #000000; font-weight: bold;">&lt;?</span> 
	<span style="color: #000088;">$count</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$feedArr</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$item</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$count</span> <span style="color: #339933;">&lt;</span> <span style="color: #000088;">$limitToShow</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			&lt;li&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?=</span><span style="color: #000088;">$item</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'link'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?=</span><span style="color: #000088;">$item</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'title'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt;&lt;/li&gt;
		<span style="color: #000000; font-weight: bold;">&lt;?</span> <span style="color: #000088;">$count</span><span style="color: #339933;">+=</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/ul&gt;</pre></td></tr></table></div>

<p>you do need php compiled with simplexml for this script to work. All you need then is to include this where you want your <a href="http://identi.ca/">identi.ca</a> feed to show up!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolmachine.com/blog/archives/identica-feed-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>slackware packages</title>
		<link>http://www.evolmachine.com/blog/archives/slackware-packages/</link>
		<comments>http://www.evolmachine.com/blog/archives/slackware-packages/#comments</comments>
		<pubDate>Thu, 08 May 2008 12:40:42 +0000</pubDate>
		<dc:creator>lando</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[slackware]]></category>

		<guid isPermaLink="false">http://evolmachine.com/blog/archives/slackware-packages/</guid>
		<description><![CDATA[


After thinking about it for several seconds I&#8217;ve decided to place my slackware packages where people can download it. here they are >> slackware 12.0 packages and slackware 12.1 packages
]]></description>
			<content:encoded><![CDATA[<div align="center">
<a href='http://evolmachine.com/blog/wp-content/uploads/2008/07/slackware_propaganda.gif'><img src="http://evolmachine.com/blog/wp-content/uploads/2008/07/slackware_propaganda.gif" alt="" title="slackware propaganda" width="398" height="48" class="aligncenter size-full wp-image-27" /></a>
</div>
<p>After thinking about it for several seconds I&#8217;ve decided to place my slackware packages where people can download it. here they are >> <a href="http://evolmachine.com/slackware_12.0/">slackware 12.0 packages</a> and <a href="http://evolmachine.com/slackware_12.1/">slackware 12.1 packages</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolmachine.com/blog/archives/slackware-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
