<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
	>
<channel>
	<title>Comments on: WikiSym Twitter Printer</title>
	<atom:link href="http://blog.aboutus.org/2008/09/09/wikisym-twitter-printer/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.aboutus.org/2008/09/09/wikisym-twitter-printer/</link>
	<description>AboutUs.org is creating an editable guide to websites</description>
	<lastBuildDate>Tue, 24 Nov 2009 10:32:32 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: TwitPrint.com</title>
		<link>http://blog.aboutus.org/2008/09/09/wikisym-twitter-printer/comment-page-1/#comment-2049</link>
		<dc:creator>TwitPrint.com</dc:creator>
		<pubDate>Tue, 14 Jul 2009 11:44:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aboutus.org/?p=683#comment-2049</guid>
		<description>We&#039;ve made a different kind of Twitter printer! It&#039;s actually a web service that formats all your tweets in a printer friendly way including Twitpic.com images and user avatars so you can print them. 

Regards, TwitPrint.com</description>
		<content:encoded><![CDATA[<p>We&#8217;ve made a different kind of Twitter printer! It&#8217;s actually a web service that formats all your tweets in a printer friendly way including Twitpic.com images and user avatars so you can print them. </p>
<p>Regards, TwitPrint.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Contabil</title>
		<link>http://blog.aboutus.org/2008/09/09/wikisym-twitter-printer/comment-page-1/#comment-170</link>
		<dc:creator>Contabil</dc:creator>
		<pubDate>Mon, 22 Sep 2008 13:53:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aboutus.org/?p=683#comment-170</guid>
		<description>Great idea! Old fashion stuff are in top of geek fashion nowadays!!! Very creative for sure!!!</description>
		<content:encoded><![CDATA[<p>Great idea! Old fashion stuff are in top of geek fashion nowadays!!! Very creative for sure!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brion</title>
		<link>http://blog.aboutus.org/2008/09/09/wikisym-twitter-printer/comment-page-1/#comment-169</link>
		<dc:creator>Brion</dc:creator>
		<pubDate>Sun, 21 Sep 2008 21:06:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aboutus.org/?p=683#comment-169</guid>
		<description>I love it... we should get one for the office. ;)</description>
		<content:encoded><![CDATA[<p>I love it&#8230; we should get one for the office. <img src='http://blog.aboutus.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott T.</title>
		<link>http://blog.aboutus.org/2008/09/09/wikisym-twitter-printer/comment-page-1/#comment-168</link>
		<dc:creator>Scott T.</dc:creator>
		<pubDate>Fri, 12 Sep 2008 21:52:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aboutus.org/?p=683#comment-168</guid>
		<description>You&#039;re looking for the -O option for wget:

wget -O last.xml http://search.twitter.com/search.atom?q=wikisym

Or you could just use php&#039;s built-in curl lib: http://us3.php.net/curl</description>
		<content:encoded><![CDATA[<p>You&#8217;re looking for the -O option for wget:</p>
<p>wget -O last.xml <a href="http://search.twitter.com/search.atom?q=wikisym" rel="nofollow">http://search.twitter.com/search.atom?q=wikisym</a></p>
<p>Or you could just use php&#8217;s built-in curl lib: <a href="http://us3.php.net/curl" rel="nofollow">http://us3.php.net/curl</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andre Restivo</title>
		<link>http://blog.aboutus.org/2008/09/09/wikisym-twitter-printer/comment-page-1/#comment-163</link>
		<dc:creator>Andre Restivo</dc:creator>
		<pubDate>Wed, 10 Sep 2008 19:42:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aboutus.org/?p=683#comment-163</guid>
		<description>Hi,

Ted Ernst asked me to post a comment explaining how the wikisym twitter printer works. The code was written in about half an hour and is really terrible but the basic idea is captured in this simple script:

wget http://search.twitter.com/search.atom?q=wikisym
mv search.atom* last.xml
php twitter.php &gt; toprint.txt
./print toprint.txt

The first line gets an xml file from twitter with the last 20 twits containing the word wikisym.

I didn&#039;t have time to find how to make wget to save the contents of that URL into a file with a decent filename, so the second line just moves the result into a file called last.xml.

The third line calls a php file that reads the last.xml file and parses it. This file reads another file that contains the timestamp of the last twit printed and saves all twits with a timestamp bigger than that timestamp into a file called toprint.txt. The php script also updates the file containing the timestamp.

The fourth line call another script that prints the toprint.txt file into the LPT port.

That script is just this (i got this one somewhere in the net, sorry but i don&#039;t have the reference):

[ &quot;x$1&quot; = &quot;x&quot; ] &amp;&quot;;
        exit;
        }
        cat $1 &gt; /dev/lp0

The whole thing was called every 60 seconds using the linux watch command:

watch -n 60 ./get_twits

If anyone wants I can send a zip with the complete set of files. But I double warn you. The code is just terrible :-)

AndrÃ© Restivo</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Ted Ernst asked me to post a comment explaining how the wikisym twitter printer works. The code was written in about half an hour and is really terrible but the basic idea is captured in this simple script:</p>
<p>wget <a href="http://search.twitter.com/search.atom?q=wikisym" rel="nofollow">http://search.twitter.com/search.atom?q=wikisym</a><br />
mv search.atom* last.xml<br />
php twitter.php &gt; toprint.txt<br />
./print toprint.txt</p>
<p>The first line gets an xml file from twitter with the last 20 twits containing the word wikisym.</p>
<p>I didn&#8217;t have time to find how to make wget to save the contents of that URL into a file with a decent filename, so the second line just moves the result into a file called last.xml.</p>
<p>The third line calls a php file that reads the last.xml file and parses it. This file reads another file that contains the timestamp of the last twit printed and saves all twits with a timestamp bigger than that timestamp into a file called toprint.txt. The php script also updates the file containing the timestamp.</p>
<p>The fourth line call another script that prints the toprint.txt file into the LPT port.</p>
<p>That script is just this (i got this one somewhere in the net, sorry but i don&#8217;t have the reference):</p>
<p>[ "x$1" = "x" ] &amp;&#8221;;<br />
        exit;<br />
        }<br />
        cat $1 &gt; /dev/lp0</p>
<p>The whole thing was called every 60 seconds using the linux watch command:</p>
<p>watch -n 60 ./get_twits</p>
<p>If anyone wants I can send a zip with the complete set of files. But I double warn you. The code is just terrible <img src='http://blog.aboutus.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>AndrÃ© Restivo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TedErnst</title>
		<link>http://blog.aboutus.org/2008/09/09/wikisym-twitter-printer/comment-page-1/#comment-164</link>
		<dc:creator>TedErnst</dc:creator>
		<pubDate>Wed, 10 Sep 2008 15:34:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aboutus.org/?p=683#comment-164</guid>
		<description>Brianna, Does identica only work for #wikisym?

PS  I&#039;ve asked the WikiSym folks to comment here about how this actually works.</description>
		<content:encoded><![CDATA[<p>Brianna, Does identica only work for #wikisym?</p>
<p>PS  I&#8217;ve asked the WikiSym folks to comment here about how this actually works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pfctdayelise</title>
		<link>http://blog.aboutus.org/2008/09/09/wikisym-twitter-printer/comment-page-1/#comment-165</link>
		<dc:creator>pfctdayelise</dc:creator>
		<pubDate>Wed, 10 Sep 2008 02:00:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aboutus.org/?p=683#comment-165</guid>
		<description>How about identica? http://identi.ca/tag/wikisym</description>
		<content:encoded><![CDATA[<p>How about identica? <a href="http://identi.ca/tag/wikisym" rel="nofollow">http://identi.ca/tag/wikisym</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://blog.aboutus.org/2008/09/09/wikisym-twitter-printer/comment-page-1/#comment-166</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Tue, 09 Sep 2008 16:52:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aboutus.org/?p=683#comment-166</guid>
		<description>This is a way cool idea!

Ward and I were looking at this picture yesterday and thinking about how we&#039;d build an AboutUs tweet printer for the office.</description>
		<content:encoded><![CDATA[<p>This is a way cool idea!</p>
<p>Ward and I were looking at this picture yesterday and thinking about how we&#8217;d build an AboutUs tweet printer for the office.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Dueckert</title>
		<link>http://blog.aboutus.org/2008/09/09/wikisym-twitter-printer/comment-page-1/#comment-167</link>
		<dc:creator>Simon Dueckert</dc:creator>
		<pubDate>Tue, 09 Sep 2008 14:17:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aboutus.org/?p=683#comment-167</guid>
		<description>Great Idea! How does this work?</description>
		<content:encoded><![CDATA[<p>Great Idea! How does this work?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
