<?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>Hay Kranen &#187; twol</title>
	<atom:link href="http://www.haykranen.nl/category/twol/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.haykranen.nl</link>
	<description></description>
	<lastBuildDate>Fri, 30 Dec 2011 23:41:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Balkenende-vertaler update</title>
		<link>http://www.haykranen.nl/2010/02/20/balkenende-vertaler-update/</link>
		<comments>http://www.haykranen.nl/2010/02/20/balkenende-vertaler-update/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 00:45:26 +0000</pubDate>
		<dc:creator>Hay</dc:creator>
				<category><![CDATA[ict+web]]></category>
		<category><![CDATA[nederlands]]></category>
		<category><![CDATA[twol]]></category>

		<guid isPermaLink="false">http://www.haykranen.nl/?p=1082</guid>
		<description><![CDATA[In het kader van de val van het kabiniet Balkenende-IV heb ik mijn beroemde en beruchte Balkenende-vertaler geupdate met nieuwe zinnen. De achterkant is helemaal herschreven en draait nu op de API (lees hier wat dat is) van de Twol. Je kan dus nu ook zelf je Balkenende-vertalertje bouwen.]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone colorbox-1082" src="http://www.haykranen.nl/balk/images/balk_header.jpg" alt="" width="450" height="200" /></p>
<p>In het kader van de val van het kabiniet Balkenende-IV heb ik mijn beroemde en beruchte <a href="http://www.haykranen.nl/balk">Balkenende-vertaler</a> geupdate met nieuwe zinnen. De achterkant is helemaal herschreven en draait nu op de <a href="http://twol.haykranen.nl/api">API</a> (<a href="http://nl.wikipedia.org/wiki/Webservice">lees hier wat dat is</a>) van de <a href="http://www.365dagenhay.nl/2009/202/">Twol</a>. <a href="http://twol.haykranen.nl/api/?q=balk%20laat%20ik%20eens%20een%20mooie%20balkenende-vertaler%20gaan%20bouwen%20op%20basis%20van%20de%20twol%20api!&amp;long=true">Je kan dus nu ook zelf</a> je Balkenende-vertalertje bouwen.</p>
<img class="colorbox-1082"  src="http://www.haykranen.nl/?ak_action=api_record_view&id=1082&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.haykranen.nl/2010/02/20/balkenende-vertaler-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Twol: now available as a terminal (cli) command</title>
		<link>http://www.haykranen.nl/2009/12/20/twolcli/</link>
		<comments>http://www.haykranen.nl/2009/12/20/twolcli/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 01:08:27 +0000</pubDate>
		<dc:creator>Hay</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[ict+web]]></category>
		<category><![CDATA[tutorial / howto]]></category>
		<category><![CDATA[twol]]></category>

		<guid isPermaLink="false">http://www.haykranen.nl/?p=848</guid>
		<description><![CDATA[I wrote a little shell script that enables you to query The Twol (you know, my little pet project that provides instant information on lots of things) from the terminal (command line interface). So, now you can do stuff like: » Translate sentences from English to German (and many other languages) twol translate en de [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-849 colorbox-848" title="cli" src="http://www.haykranen.nl/wp-content/uploads/2009/12/cli.jpg" alt="cli" width="333" height="188" /></p>
<p>I wrote <a href="http://twol.haykranen.nl/api/twol">a little shell script</a> that enables you to query <a href="http://twol.haykranen.nl">The Twol</a> (you know, my little pet project that <a href="http://www.haykranen.nl/2009/09/28/twol/">provides instant information on lots of things</a>) from the terminal (command line interface).</p>
<p>So, now you can do stuff like:</p>
<p>» Translate sentences from English to German (and many other languages)<br />
<code class="terminal">twol translate en de I would really like a nice cold beer </code></p>
<p>» Get the weather for virtually any city in the world<br />
<code class="terminal">twol weather St. Petersburg, Russia </code></p>
<p>» Check if a Twitter username is still free<br />
<code class="terminal">twol twitterusernamefree stevejobs</code></p>
<p>Right from the command line (under Mac OS X and Linux at least :)</p>
<p>You need PHP to run the script. In Mac OS X that&#8217;s included out of the box, under Linux you might need to install php5-cli or another package with a similiar name.</p>
<p>Then you can simply:</p>
<ul>
<li> download the script</li>
<li>copy it somewhere in your $PATH<br />
<code class="terminal">cp twol /usr/local/bin</code></li>
<li>make it executable<br />
<code class="terminal">chmod u+x /user/local/bin/twol</code></li>
<li>have fun!</li>
</ul>
<p><small style="color:#999;margin-top:10px;">Photo credit: <a href="http://www.flickr.com/photos/n3wjack/3856456237/" target="_blank">*n3wjack</a> (CC-BY-SA)</small></p>
<img class="colorbox-848"  src="http://www.haykranen.nl/?ak_action=api_record_view&id=848&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.haykranen.nl/2009/12/20/twolcli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing&#8230;The Twol</title>
		<link>http://www.haykranen.nl/2009/09/28/twol/</link>
		<comments>http://www.haykranen.nl/2009/09/28/twol/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 21:44:31 +0000</pubDate>
		<dc:creator>Hay</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[haykranen.nl]]></category>
		<category><![CDATA[ict+web]]></category>
		<category><![CDATA[twol]]></category>

		<guid isPermaLink="false">http://www.haykranen.nl/?p=756</guid>
		<description><![CDATA[Read this announcement in Dutch. I&#8217;d like to introduce you to a little project i&#8217;ve been working on for the past time. It&#8217;s called The Twol and it&#8217;s a new way to get all kinds of instant information using a command-line like interface on the web or using Twitter. How does it work? The Twol [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://twol.haykranen.nl/"><img class="alignnone size-full wp-image-757 colorbox-756" title="twol" src="http://www.haykranen.nl/wp-content/uploads/2009/09/twol.png" alt="twol" width="235" height="85" /></a></p>
<p><a href="http://www.365dagenhay.nl/2009/202/">Read this announcement in Dutch</a>.</p>
<p>I&#8217;d like to introduce you to a little project i&#8217;ve been working on for the past time. It&#8217;s called <a href="http://twol.haykranen.nl">The Twol</a> and it&#8217;s a new way to get all kinds of instant information using a <a href="http://twol.haykranen.nl">command-line like interface on the web</a> or using <a href="http://www.twitter.com/twol">Twitter</a>.</p>
<p>How does it work? The Twol works by entering simple commands, either using <a href="http://twol.haykranen.nl">the interface on the website</a> or by sending tweets to <a href="http://www.twitter.com/twol">@twol</a> on Twitter. Take a look at the screenshot here below for an example:</p>
<p><a href="http://twol.haykranen.nl/index.php?q=translate+en+nl+Twol+commands+are+given+by+simply+typing+them+into+this+field...+When+pressing+%22Ask+The+Twol!%22+this+sentence+will+be+transformed+to+Dutch..&amp;submit="><img class="alignnone size-full wp-image-772 colorbox-756" style="border: 1px solid #999;" title="Click to see this example live in The Twol" src="http://www.haykranen.nl/wp-content/uploads/2009/09/twolexample.png" alt="twolexample" width="400" height="136" /></a></p>
<p>Currently there are around 20 commands, that you can use to..</p>
<ul>
<li><a href="http://twol.haykranen.nl/index.php?q=weather+Rome&amp;submit=">Get the weather on a random city in the world</a></li>
<li><a href="http://twol.haykranen.nl/index.php?q=translate+en+de+What+is+the+answer+to+life%2C+the+universe+and+everything%3F&amp;submit=">Translate sentences from any language to any other language</a></li>
<li><a href="http://twol.haykranen.nl/index.php?q=twitterusernamefree+twol&amp;submit=">Check if a username on Twitter is still free</a></li>
<li><a href="http://twol.haykranen.nl/index.php?q=eightball+What+is+the+answer+to+life%2C+the+universe+and+everything%3F&amp;submit=">Get an answer to any question from the magic eight ball</a></li>
<li><a href="http://twol.haykranen.nl/index.php?q=oblique&amp;submit=">Get inspiration from the Oblique Strategies</a></li>
</ul>
<p>If you speak Dutch you might also enjoy some commands from my art site, <a href="http://www.365dagenhay.nl">365 DAGEN HAY</a>, including <a href="http://twol.haykranen.nl/index.php?q=dooddoener&amp;submit=">dooddoeners</a>, <a href="http://twol.haykranen.nl/index.php?q=mop&amp;submit=">onbegrijpelijke moppen</a>, de <a href="http://twol.haykranen.nl/index.php?q=nimweegs+Kijk+daar%2C+wat+raar%2C+ze+kussen+elkaar!+Onder+die+pilaar!&amp;submit=">Nimweegs vertaler</a> and of course the <a href="http://twol.haykranen.nl/index.php?q=wilders&amp;submit=">Wilders citaten generator</a>.</p>
<p>You might ask how this differs from<a href="http://www.google.com/intl/en/help/features.html"> some of the functions</a> from Google. Well, Google always returns search results, which might not be the thing you&#8217;re looking for when searching for the current weather in Rome. Furthermore, there are many other commands that might not be the first result on Google. Of course Google search results don&#8217;t integrate in Twitter.</p>
<p>In that sense, The Twol is more like the <a href="http://en.wikipedia.org/wiki/Command_line">classic command line</a> or an <a href="http://en.wikipedia.org/wiki/Irc_bot">IRC bot</a>, with the difference that you don&#8217;t need to leave your browser or Twitter client to get quick information.</p>
<p>Note that when using Twitter, it can take up to 20 seconds to get a reply back. This is a result of the way Twitter works, unfortunately i can&#8217;t do anything about that. If it does longer than 20 seconds though, The Twol might be broken. Please let me know so i can fix things :) Of course, the website works instantly.</p>
<p>Of course, this is all still very much in beta so i&#8217;d like you to test the Twol and give feedback and what works, what doesn&#8217;t work, and what commands you&#8217;d like to see added (if you&#8217;re a little technical, you might be able to write your own commands in the future). Right now you can already hack a little bit using <a href="http://twol.haykranen.nl/api/">The Twol&#8217;s API</a>.</p>
<p>You can give feedback using the <a href="#respond">comment form here below</a>, by <a href="mailto:twol@haykranen.nl">mailing me</a> or of course by using <a href="http://twol.haykranen.nl/index.php?q=feedback+Please+add+a+command+for+doing+my+dishes&amp;submit=">The Twol itself</a>.</p>
<p>Have fun!</p>
<img class="colorbox-756"  src="http://www.haykranen.nl/?ak_action=api_record_view&id=756&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.haykranen.nl/2009/09/28/twol/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

