<?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>HM2K.com</title>
	<atom:link href="http://www.hm2k.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hm2k.com</link>
	<description>The research of an internet entrepreneur and IT consultant</description>
	<lastBuildDate>Wed, 30 Jun 2010 09:29:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>TinySong TCL script for Eggdrop</title>
		<link>http://www.hm2k.com/posts/tinysong-tcl-script-for-eggdrop</link>
		<comments>http://www.hm2k.com/posts/tinysong-tcl-script-for-eggdrop#comments</comments>
		<pubDate>Sun, 06 Jun 2010 15:59:35 +0000</pubDate>
		<dc:creator>hm2k</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[eggdrop]]></category>
		<category><![CDATA[grooveshark]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[TCL]]></category>
		<category><![CDATA[tinysong]]></category>

		<guid isPermaLink="false">http://www.hm2k.com/?p=612</guid>
		<description><![CDATA[If you&#8217;ve not heard of TinySong, you&#8217;re missing out!
TinySong allows you to share music using a short URL using Grooveshark.
I have created a very simple script that connects to the TinySong API.

The TinySong TCL script for Eggdrop allows you to search for a track using tinysong.com and return the artist, title, album and url.
It works [...]


Related posts:<ol><li><a href='http://www.hm2k.com/posts/universal-currency-converter-tcl-for-eggdrop' rel='bookmark' title='Permanent Link: Universal Currency Converter TCL for Eggdrop'>Universal Currency Converter TCL for Eggdrop</a> <small>This is a currency converter written in TCL for Eggdrop,...</small></li>
<li><a href='http://www.hm2k.com/posts/seen-script-for-mirc-updated' rel='bookmark' title='Permanent Link: Seen script for mIRC updated'>Seen script for mIRC updated</a> <small>Looking for someone? huh? Well, look no further, this script...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve not heard of TinySong, you&#8217;re missing out!</p>
<p>TinySong allows you to share music using a short URL using Grooveshark.</p>
<p>I have created a very simple script that connects to the <a href="http://www.tinysong.com/api">TinySong API</a>.</p>
<p><span id="more-612"></span></p>
<p>The TinySong TCL script for Eggdrop allows you to search for a track using tinysong.com and return the artist, title, album and url.</p>
<p>It works as follows:</p>
<blockquote><p>&gt; .song Midnight Juggernauts &#8211; Nine Lives<br />
&lt;Bot&gt; HM2K, * TinySong: Midnight Juggernauts &#8211; Nine Lives [Dystopia] &lt;http://tinysong.com/uAb8&gt;</p></blockquote>
<ul>
<li><a href="http://hm2k.googlecode.com/svn/trunk/code/tcl/tinysong.tcl">Download tinysong.tcl</a></li>
</ul>
<p>Enjoy!</p>


<p>Related posts:<ol><li><a href='http://www.hm2k.com/posts/universal-currency-converter-tcl-for-eggdrop' rel='bookmark' title='Permanent Link: Universal Currency Converter TCL for Eggdrop'>Universal Currency Converter TCL for Eggdrop</a> <small>This is a currency converter written in TCL for Eggdrop,...</small></li>
<li><a href='http://www.hm2k.com/posts/seen-script-for-mirc-updated' rel='bookmark' title='Permanent Link: Seen script for mIRC updated'>Seen script for mIRC updated</a> <small>Looking for someone? huh? Well, look no further, this script...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.hm2k.com/posts/tinysong-tcl-script-for-eggdrop/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WhoisX relaunch</title>
		<link>http://www.hm2k.com/posts/whoisx-relaunch</link>
		<comments>http://www.hm2k.com/posts/whoisx-relaunch#comments</comments>
		<pubDate>Fri, 04 Jun 2010 10:08:07 +0000</pubDate>
		<dc:creator>hm2k</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Domains]]></category>
		<category><![CDATA[relaunch]]></category>
		<category><![CDATA[whois]]></category>
		<category><![CDATA[whoisx]]></category>

		<guid isPermaLink="false">http://www.hm2k.com/?p=629</guid>
		<description><![CDATA[We&#8217;re ready now&#8230;
So, we&#8217;ve been running WhoisX since 2004, it was slightly updated in 2007, since then not a lot has happened&#8230;
Until now&#8230;
We&#8217;ve spent the past few weeks putting together some plans and developing them into a brand new site, which we hope you&#8217;ll like.
Now for the good stuff&#8230;
To get started, simply visit our website:

http://whoisx.co.uk/

So, [...]


Related posts:<ol><li><a href='http://www.hm2k.com/posts/twitter-for-mirc' rel='bookmark' title='Permanent Link: Twitter for mIRC'>Twitter for mIRC</a> <small>I signed up for Twitter quite some months ago, but...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h1>We&#8217;re ready now&#8230;</h1>
<p>So, we&#8217;ve been running <a href="http://whoisx.co.uk/">WhoisX</a> since 2004, it was slightly updated in 2007, since then not a lot has happened&#8230;</p>
<p>Until now&#8230;<br />
<span id="more-629"></span>We&#8217;ve spent the past few weeks putting together some plans and developing them into a brand new site, which we hope you&#8217;ll like.</p>
<p>Now for the good stuff&#8230;</p>
<p>To get started, simply visit our website:</p>
<ul>
<li><a href="http://whoisx.us1.list-manage.com/track/click?u=fc3257c084746eaaba754914a&amp;id=54b2fab19a&amp;e=3891362231">http://whoisx.co.uk/</a></li>
</ul>
<p>So, what are you waiting for? Let&#8217;s go!</p>
<p>We hope you like what we&#8217;ve done, but I&#8217;m sure you will have something to say, so we&#8217;ve made it really easy for you to give us feedback, just look for the link on the website.</p>
<p>Ps. You&#8217;ll also find us on twitter <a href="http://whoisx.us1.list-manage.com/track/click?u=fc3257c084746eaaba754914a&amp;id=cd2b64458c&amp;e=3891362231">@whoisxuk</a>.</p>
<p>Thanks!</p>


<p>Related posts:<ol><li><a href='http://www.hm2k.com/posts/twitter-for-mirc' rel='bookmark' title='Permanent Link: Twitter for mIRC'>Twitter for mIRC</a> <small>I signed up for Twitter quite some months ago, but...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.hm2k.com/posts/whoisx-relaunch/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>upgrade.co.uk sucks</title>
		<link>http://www.hm2k.com/posts/upgrade-co-uk-sucks</link>
		<comments>http://www.hm2k.com/posts/upgrade-co-uk-sucks#comments</comments>
		<pubDate>Tue, 04 May 2010 16:45:08 +0000</pubDate>
		<dc:creator>hm2k</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[upgrade.co.uk]]></category>

		<guid isPermaLink="false">http://www.hm2k.com/?p=615</guid>
		<description><![CDATA[I&#8217;ve been trying to get a quote for a part for a Dell laptop, when I contacted Dell UK, they told me to contact &#8220;Upgrade Options&#8221;. They offered no other alternative.
I&#8217;ve tried emailing them&#8230;

sales@upgrade.co.uk
No response.
I&#8217;ve tried using their &#8220;online quote request&#8221;
&#8220;please fill in the form below for a competitive quote&#8221;
http://www.upgrade.co.uk/quotes.asp
No response.
I&#8217;ve tried emailing a contact [...]


Related posts:<ol><li><a href='http://www.hm2k.com/posts/why-aol-sucks' rel='bookmark' title='Permanent Link: Why AOL sucks'>Why AOL sucks</a> <small> I have a client that is currently on AOL,...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to get a quote for a part for a Dell laptop, when I contacted Dell UK, they told me to contact &#8220;Upgrade Options&#8221;. They offered no other alternative.</p>
<p>I&#8217;ve tried emailing them&#8230;</p>
<p><span id="more-615"></span></p>
<blockquote><p><a href="mailto:sales@upgrade.co.uk">sales@upgrade.co.uk</a></p></blockquote>
<p><strong>No response.</strong></p>
<p>I&#8217;ve tried using their &#8220;online quote request&#8221;</p>
<blockquote><p>&#8220;please fill in the form below for a competitive quote&#8221;</p>
<p><a href="http://www.upgrade.co.uk/quotes.asp">http://www.upgrade.co.uk/quotes.asp</a></p></blockquote>
<p><strong>No response.</strong></p>
<p>I&#8217;ve tried emailing a contact I already had:</p>
<blockquote><p><a href="mailto:alexh@upgrade.co.uk">Alex Holden &lt;alexh@upgrade.co.uk&gt;</a></p></blockquote>
<p><strong>It failed.</strong></p>
<p>I&#8217;ve tried emailing another email address listed on their site:</p>
<blockquote><p><a href="mailto:busisales@upgrade.co.uk">busisales@upgrade.co.uk</a></p></blockquote>
<p><strong>No response.</strong></p>
<p>Their website is difficult to reach:</p>
<blockquote><p><a href="http://upgrade.co.uk">http://upgrade.co.uk</a></p></blockquote>
<p><strong>Server not found</strong></p>
<p>Even when you do reach their website, it looks pants and is difficult to navigate.</p>
<blockquote><p><a title="upgrade.co.uk sucks" href="http://imgur.com/0M6Bp.jpg"><img src="http://imgur.com/0M6Bps.jpg" alt="upgrade.co.uk sucks" /></a></p></blockquote>
<p><strong>Pants</strong></p>
<p>To further add insult to injury: All the phone numbers on their website are 0871 numbers charged at 10p per minute:</p>
<blockquote><p>0871 231 1900</p>
<p>* Please note calls to this number will cost 10 pence per minute from BT landlines, calls from other networks and mobiles may vary. Calls may be recorded for training and quality purposes</p>
<p>Call Now For Dell Spares and Dell Upgrades &#8211; 0871 231 1924</p></blockquote>
<p><strong>I&#8217;m going to </strong><a href="http://www.saynoto0870.com/"><strong>say no</strong></a></p>
<p>They seem to leave me with only one option, which is to open a credit account with them:</p>
<blockquote><p><a href="http://www.upgrade.co.uk/creditappform.pdf" target="new">Click  here</a> to open the credit application form, please then fill in all  the details on the form, print it, sign it and fax it along with two trade references to 0871 231  1921. If you have any problems or queries, please call on 0871 231 1900.</p></blockquote>
<p><strong>No thanks</strong></p>
<p>Will anyone ever get back to me?</p>
<blockquote><p>Whatever your hardware needs we can help</p>
<p>Main Tel: +44 (0) 871 231 1900<br />
Main Fax: +44 (0) 871 231 1921<br />
Website: www.upgrade.co.uk</p>
<p>Customer services: customerservices@upgrade.co.uk<br />
Account sales: busisales@upgrade.co.uk<br />
Internet sales: isales@upgrade.co.uk<br />
Accounts: accounts@upgrade.co.uk<br />
Human resources: humanresources@upgrade.co.uk<br />
Marketing: marketing@upgrade.co.uk</p>
<p>Upgrade Options Ltd<br />
Clocktower, Greenhills Rural Enterprise Centre,<br />
Greenhills Estate, Tilford, Surrey GU10 2DZ</p></blockquote>
<p>I have hardware needs, but don&#8217;t appear to be getting any help&#8230;</p>
<p>I did however manage to find an alternative phone number&#8230;</p>
<blockquote><p>Upgrade Options Ltd.<br />
Greenhills Estate<br />
Tilford Road<br />
Tilford<br />
Farnham<br />
Surrey<br />
GU10 2DZ</p>
<p>Telephone:    01252-797660</p>
<p>Companies House<br />
Registration Number:    2873785</p>
<p>From <a href="http://www.do-business.net/Indexer/Company/Upgrade-Options-Ltd">http://www.do-business.net/Indexer/Company/Upgrade-Options-Ltd</a></p></blockquote>
<p><strong>Success, the number works. Press 1 for sales&#8230;<br />
</strong></p>
<p>Just in case you missed it, that&#8217;s</p>
<blockquote>
<h2><strong>01252 797660</strong></h2>
</blockquote>
<p>Enjoy!<strong></strong></p>
<p><strong>Update</strong></p>
<p>It turns out that emailing<em> isales@upgrade.co.uk</em> gets a response within 24 hours.<strong> </strong>Jack Bodian &lt;jackb@upgrade.co.uk&gt; was kind enough to get back to me with a non-answer, but a response all the same.</p>


<p>Related posts:<ol><li><a href='http://www.hm2k.com/posts/why-aol-sucks' rel='bookmark' title='Permanent Link: Why AOL sucks'>Why AOL sucks</a> <small> I have a client that is currently on AOL,...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.hm2k.com/posts/upgrade-co-uk-sucks/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Getting started with Quercus in Google App Engine</title>
		<link>http://www.hm2k.com/posts/getting-started-with-quercus-in-google-app-engine</link>
		<comments>http://www.hm2k.com/posts/getting-started-with-quercus-in-google-app-engine#comments</comments>
		<pubDate>Thu, 15 Apr 2010 12:26:55 +0000</pubDate>
		<dc:creator>hm2k</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[gae]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[google app engine]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[quercus]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.hm2k.com/?p=609</guid>
		<description><![CDATA[Last year an article was written on a blog about how to run PHP on Google App Engine (GAE).
The guide came with a pre-made package to get you started.
However, Quercus has been updated since this was produced.
Unfortunately the official Quercus website has very little detail to help us get started&#8230;
Further research lead me to a [...]


Related posts:<ol><li><a href='http://www.hm2k.com/posts/10-wordpress-performance-optimisation-tips' rel='bookmark' title='Permanent Link: 10 wordpress performance optimisation tips'>10 wordpress performance optimisation tips</a> <small>I wanted to prepare my wordpress powered blog for an...</small></li>
<li><a href='http://www.hm2k.com/posts/using-your-own-url-as-your-openid-with-wordpress' rel='bookmark' title='Permanent Link: Using Your Own URL as Your OpenID with WordPress'>Using Your Own URL as Your OpenID with WordPress</a> <small>Today I decided to join stackoverflow.com, which requires you to...</small></li>
<li><a href='http://www.hm2k.com/posts/the-google-translate-recursion-bug' rel='bookmark' title='Permanent Link: The Google Translate recursion bug'>The Google Translate recursion bug</a> <small>Recently I found a bug in Google Translate. It&#8217;s not...</small></li>
<li><a href='http://www.hm2k.com/posts/cannot-redeclare-pclziputilpathreduction' rel='bookmark' title='Permanent Link: Cannot redeclare pclziputilpathreduction()'>Cannot redeclare pclziputilpathreduction()</a> <small>I had this issue today, I found that you need...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Last year an article was written on a blog about how to <a href="http://www.webdigi.co.uk/blog/2009/run-php-on-the-google-app-engine/">run PHP on Google App Engine (GAE)</a>.</p>
<p>The guide came with a pre-made package to get you started.</p>
<p>However, Quercus has been updated since this was produced.</p>
<p><span id="more-609"></span>Unfortunately the <a href="http://quercus.caucho.com/">official Quercus website</a> has very little detail to help us get started&#8230;</p>
<p>Further research lead me to a blog post by the company that makes Quercus entitled: <a href="http://blog.caucho.com/?p=187">Quercus on the Google App Engine</a></p>
<p>It gives a general overview of what is required, but isn&#8217;t really very direct.</p>
<p>I did also find an entry on their wiki for <a href="http://wiki.caucho.com/Quercus_Google_App_Engine">Quercus on Google App Engine</a>, which was more useful.</p>
<p>Here&#8217;s what you need to do:</p>
<ol>
<li>Follow the <a href="http://code.google.com/appengine/docs/java/gettingstarted/creating.html">Google App Engine: Creating a Project getting started guide</a> to create your file structure and the xml files.</li>
<li> Download the <a href="http://caucho.com/download">latest version of Resin</a> (ie: <a href="http://www.caucho.com/download/resin-4.0.6.zip">resin-4.0.6.zip</a>)</li>
<li>From the zip, copy lib/resin.jar to your WEB-INF/lib</li>
<li>Add GoogleQuercusServlet as a standard servlet and any params to web.xml (<a href="http://gist.github.com/367023">example web.xml</a>)</li>
<li>Put your PHP files in your &#8220;war&#8221; directory.</li>
<li>Use the <a href="http://code.google.com/appengine/downloads.html#Google_App_Engine_SDK_for_Java">AppEngine Java SDK</a> appcfg to update.</li>
</ol>
<p>If you get this error:</p>
<blockquote><p>java.lang.IllegalStateException: Found a jar file too large to upload: &#8220;&#8230;\WEB-INF\lib\resin.jar&#8221;.  Consider using &#8211;enable_jar_splitting.</p></blockquote>
<p>Using the suggested option fixed this, which looks like this:</p>
<blockquote><p>C:\appengine-java-sdk\bin\appcfg.cmd &#8211;enable_jar_splitting update war</p></blockquote>
<p>That&#8217;s pretty much it to get you started, when you visit your app address, you should be able to call your PHP files.</p>
<p>If you are looking for something a bit more advanced, take a look at these articles that explain how to get WordPress working:</p>
<ul>
<li><a href="http://blog.caucho.com/?p=196">Converting Wordpress for Quercus on Google App Engine</a></li>
<li><a href="http://www.caucho.com/articles/Quercus_on_GAE.pdf">Using Quercus® to Run the WordPress PHP blog on Google App Engine (pdf)</a></li>
</ul>
<p>For additional help I recommend you visit <a href="http://forum.caucho.com/forumdisplay.php?f=5">Caucho&#8217;s Quercus  Forums</a>.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 575px; width: 1px; height: 1px; overflow: hidden;">Using Quercus® to Run the WordPress PHP blog on Google App EngineUsing Quercus® to Run the WordPress PHP blog on Google App Engine</div>


<p>Related posts:<ol><li><a href='http://www.hm2k.com/posts/10-wordpress-performance-optimisation-tips' rel='bookmark' title='Permanent Link: 10 wordpress performance optimisation tips'>10 wordpress performance optimisation tips</a> <small>I wanted to prepare my wordpress powered blog for an...</small></li>
<li><a href='http://www.hm2k.com/posts/using-your-own-url-as-your-openid-with-wordpress' rel='bookmark' title='Permanent Link: Using Your Own URL as Your OpenID with WordPress'>Using Your Own URL as Your OpenID with WordPress</a> <small>Today I decided to join stackoverflow.com, which requires you to...</small></li>
<li><a href='http://www.hm2k.com/posts/the-google-translate-recursion-bug' rel='bookmark' title='Permanent Link: The Google Translate recursion bug'>The Google Translate recursion bug</a> <small>Recently I found a bug in Google Translate. It&#8217;s not...</small></li>
<li><a href='http://www.hm2k.com/posts/cannot-redeclare-pclziputilpathreduction' rel='bookmark' title='Permanent Link: Cannot redeclare pclziputilpathreduction()'>Cannot redeclare pclziputilpathreduction()</a> <small>I had this issue today, I found that you need...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.hm2k.com/posts/getting-started-with-quercus-in-google-app-engine/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Universal Currency Converter TCL for Eggdrop</title>
		<link>http://www.hm2k.com/posts/universal-currency-converter-tcl-for-eggdrop</link>
		<comments>http://www.hm2k.com/posts/universal-currency-converter-tcl-for-eggdrop#comments</comments>
		<pubDate>Thu, 25 Feb 2010 14:41:31 +0000</pubDate>
		<dc:creator>hm2k</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[IRC]]></category>
		<category><![CDATA[converter]]></category>
		<category><![CDATA[currency]]></category>
		<category><![CDATA[eggdrop]]></category>
		<category><![CDATA[TCL]]></category>
		<category><![CDATA[ucc]]></category>
		<category><![CDATA[xe.com]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://www.hm2k.com/?p=602</guid>
		<description><![CDATA[This is a currency converter written in TCL for Eggdrop, which is similar to the ucc.mrc I wrote for mIRC.
I used to use the xeucc.tcl, but that script no longer works and hasn&#8217;t been updated since 2008.
&#62; !ucc 9 usd gbp
&#60;Bot&#62; Could not obtain results from XE.com, sorry!
Further more xeucc.tcl uses the XE.com website to [...]


Related posts:<ol><li><a href='http://www.hm2k.com/posts/weather-tcl' rel='bookmark' title='Permanent Link: weather.tcl'>weather.tcl</a> <small>Today, after I decided to hang out in #eggtcl on...</small></li>
<li><a href='http://www.hm2k.com/posts/worldtime-tcl' rel='bookmark' title='Permanent Link: worldtime.tcl'>worldtime.tcl</a> <small>Sometimes you need to know the time somewhere else in...</small></li>
<li><a href='http://www.hm2k.com/posts/tinysong-tcl-script-for-eggdrop' rel='bookmark' title='Permanent Link: TinySong TCL script for Eggdrop'>TinySong TCL script for Eggdrop</a> <small>If you&#8217;ve not heard of TinySong, you&#8217;re missing out! TinySong...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This is a currency converter written in TCL for Eggdrop, which is similar to the ucc.mrc I wrote for mIRC.</p>
<p>I used to use the <a href="http://members.dandy.net/~fbn/xeucc.tcl.txt">xeucc.tcl</a>, but that script no longer works and hasn&#8217;t been updated since 2008.</p>
<blockquote><p>&gt; !ucc 9 usd gbp<br />
&lt;Bot&gt; Could not obtain results from XE.com, sorry!</p></blockquote>
<p><span id="more-602"></span>Further more xeucc.tcl uses the XE.com website to gather the information, however they don&#8217;t like us doing this, and have since added the following message:</p>
<blockquote><p>WARNING: Automated extraction of rates is prohibited under the Terms of Use.</p></blockquote>
<p>Other scripts such as Incith&#8217;s Exchange also use a website. This one uses Yahoo Finance. The problem is that this website is subject to change at any time without prior notice.</p>
<p>Parsing a website that is subject to change is not always a good idea. Instead what is needed is an API which is easy to parse and extract the data and also unlikely to change formatting.</p>
<p>Although XE.com does have an API, it is not free. This is no good.</p>
<p>I have decided instead to use the <a href="http://developer.yahoo.com/">Yahoo Developer Network</a> Currency Converter API, which is much easier to parse and permits this kind of usage.</p>
<p>There is a choice of two URLs which you can call to get the data:</p>
<blockquote><p><a href="http://finance.yahoo.com/d/quotes.csv?e=.csv&amp;f=sl1d1t1&amp;s=USDGBP=X">http://finance.yahoo.com/d/quotes.csv?e=.csv&amp;f=sl1d1t1&amp;s=USDGBP=X</a></p>
<p><a href="http://download.finance.yahoo.com/d/?f=sl1d1t1&amp;s=USDGBP=X">http://download.finance.yahoo.com/d/?f=sl1d1t1&amp;s=USDGBP=X</a></p></blockquote>
<p>Both examples should provide you with a csv file to download which will contain the currency information.</p>
<p>I have used the second URL in my script.</p>
<p><strong>Usage</strong></p>
<blockquote><p>&gt; .ucc<br />
&lt;Bot&gt; Usage: .ucc &lt;amount&gt; &lt;from&gt; &lt;to&gt;<br />
&gt; .ucc 9 usd gbp<br />
&lt;Bot&gt; HM2K, * UCC: 9 USD is 5.8905 GBP as of 2/25/2010 9:22am</p></blockquote>
<p><strong>Download</strong></p>
<ul>
<li>Download <a href="http://hm2k.googlecode.com/svn/trunk/code/tcl/ucc.tcl">ucc.tcl</a></li>
</ul>
<p>If you like it, or even if you don&#8217;t, please leave a comment below. Thanks.</p>


<p>Related posts:<ol><li><a href='http://www.hm2k.com/posts/weather-tcl' rel='bookmark' title='Permanent Link: weather.tcl'>weather.tcl</a> <small>Today, after I decided to hang out in #eggtcl on...</small></li>
<li><a href='http://www.hm2k.com/posts/worldtime-tcl' rel='bookmark' title='Permanent Link: worldtime.tcl'>worldtime.tcl</a> <small>Sometimes you need to know the time somewhere else in...</small></li>
<li><a href='http://www.hm2k.com/posts/tinysong-tcl-script-for-eggdrop' rel='bookmark' title='Permanent Link: TinySong TCL script for Eggdrop'>TinySong TCL script for Eggdrop</a> <small>If you&#8217;ve not heard of TinySong, you&#8217;re missing out! TinySong...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.hm2k.com/posts/universal-currency-converter-tcl-for-eggdrop/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to convert an image to greyscale using PHP</title>
		<link>http://www.hm2k.com/posts/how-to-convert-an-image-to-greyscale-using-php</link>
		<comments>http://www.hm2k.com/posts/how-to-convert-an-image-to-greyscale-using-php#comments</comments>
		<pubDate>Thu, 10 Dec 2009 14:39:30 +0000</pubDate>
		<dc:creator>hm2k</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[conver]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[gray]]></category>
		<category><![CDATA[grayscale]]></category>
		<category><![CDATA[grey]]></category>
		<category><![CDATA[greyscale]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[imagefilter]]></category>
		<category><![CDATA[IMG_FILTER_GRAYSCALE]]></category>

		<guid isPermaLink="false">http://www.hm2k.com/?p=583</guid>
		<description><![CDATA[I was trying to find a neat way to grey out some &#8220;powered by&#8221; logos for a website I&#8217;m developing.
I remembered reading about this very thing in .net magazine/august 2009 (i191,p100), which said:
&#8220;Sponsor and associate logos can be a challenge for a designer who is making a valiant attempt to create a cohesive website layout. [...]


Related posts:<ol><li><a href='http://www.hm2k.com/posts/mounting-an-iso-image' rel='bookmark' title='Permanent Link: Mounting an ISO image'>Mounting an ISO image</a> <small>An ISO image usually refers to an archived copy of...</small></li>
<li><a href='http://www.hm2k.com/posts/how-to-bulk-convert-wma-to-mp3' rel='bookmark' title='Permanent Link: How to bulk convert WMA to MP3'>How to bulk convert WMA to MP3</a> <small>So you just downloaded an entire album, and it&#8217;s in...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I was trying to find a neat way to grey out some &#8220;powered by&#8221; logos for a website I&#8217;m developing.</p>
<p>I remembered reading about this very thing in <a href="http://en.wikipedia.org/wiki/.net_%28magazine%29">.net magazine</a>/<a href="http://www.badassideas.com/downloads/net191swarren.pdf">august 2009 (i191,p100)</a>, which said:</p>
<blockquote><p><em>&#8220;Sponsor and associate logos can be a challenge for a designer who is making a valiant attempt to create a cohesive website layout. Logos can be contrasting colour schemes and can be displayed at a wide range of different aspect ratios. When faced with this challenge, I recommend greying out the logos and having them appear in their respective colours upon mouse-over. When placing logos next to each other, I’d consider using visual weight versus actual size to determine spacing.&#8221;</em></p>
<p>- <a href="http://badassideas.com/">Samantha Warren @ badassideas.com</a></p></blockquote>
<p>So, sure we&#8217;ve established that it&#8217;s a good idea, the question is how to achieve it&#8230;</p>
<p><span id="more-583"></span>It&#8217;s really quite simple, there&#8217;s two parts:</p>
<ol>
<li>Convert the image to greyscale using PHP.</li>
<li>Write HTML and javascript that will change the image source on mouseover.</li>
</ol>
<p>Before I get started, I need to point out that because I&#8217;m British, I use &#8220;Grey&#8221;, instead of the American &#8220;Gray&#8221;, apart from in the actual code.</p>
<p>I very quickly discovered a number of ways to convert an image from colour to greyscale, however the easiest way appeared to be using the <a href="http://php.net/manual/en/function.imagefilter.php">imagefilter()</a> function with the IMG_FILTER_GRAYSCALE greyscale filter which produced the results I was looking for. I found you can also very <a href="http://www.talkincode.com/add-effects-to-images-using-image-filters-with-php-266.html">easily add all sorts of effects to images using PHP</a>.</p>
<p>I kept it simple and wrote a function that would convert an image from jpeg, gif or png to a png greyscale image. I called it <a href="http://hm2k.googlecode.com/svn/trunk/code/php/functions/imagegray.php">imagegray()</a>.</p>
<p>It&#8217;s very easy to use, you just pass the filename to the function and it will display the image in greyscale. For example:</p>
<blockquote><p>&lt;?php</p>
<p>$i=isset($_REQUEST['i'])?$_REQUEST['i']:&#8221;;<br />
if ($i) { imagegrey($i); }</p>
<p>?&gt;</p></blockquote>
<p>Next, it&#8217;s onto the HTML, which although isn&#8217;t exactly difficult, you may stumble if you&#8217;re unsure&#8230;</p>
<blockquote><p>&lt;img onmouseover=&#8221;this.src=&#8217;image.jpg&#8217;&#8221; onmouseout=&#8221;this.src=&#8217;imagegrey.php?i=image.jpg&#8217;&#8221; src=&#8221;imagegrey.php?i=image.jpg&#8221; alt=&#8221;image&#8221; border=&#8221;0&#8243;&gt;</p></blockquote>
<p>That&#8217;s it, that&#8217;s all there is to it.</p>
<p>If you run a large site, for scalability reasons you may wish to involve caching, but for most small sites, this method is quick and effective.</p>
<p>Enjoy!</p>


<p>Related posts:<ol><li><a href='http://www.hm2k.com/posts/mounting-an-iso-image' rel='bookmark' title='Permanent Link: Mounting an ISO image'>Mounting an ISO image</a> <small>An ISO image usually refers to an archived copy of...</small></li>
<li><a href='http://www.hm2k.com/posts/how-to-bulk-convert-wma-to-mp3' rel='bookmark' title='Permanent Link: How to bulk convert WMA to MP3'>How to bulk convert WMA to MP3</a> <small>So you just downloaded an entire album, and it&#8217;s in...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.hm2k.com/posts/how-to-convert-an-image-to-greyscale-using-php/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP OpenSRS Client</title>
		<link>http://www.hm2k.com/posts/php-opensrs-client</link>
		<comments>http://www.hm2k.com/posts/php-opensrs-client#comments</comments>
		<pubDate>Wed, 25 Nov 2009 13:42:50 +0000</pubDate>
		<dc:creator>hm2k</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Domains]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[opensrs]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[tucows]]></category>

		<guid isPermaLink="false">http://www.hm2k.com/?p=579</guid>
		<description><![CDATA[This is only a quick message to say that I am now developing the PHP OpenSRS Client project.
OpenSRS-PHP is a PHP-based client class that communicates with the TuCows OpenSRS Domain Name Registry System via an API.
I have just released version 2.8.1 with many long awaited fixes.

Website

Enjoy!


Related posts:Transfering domains from Godaddy.com to TuCows OpenSRS I need [...]


Related posts:<ol><li><a href='http://www.hm2k.com/posts/transfering-domains-from-godaddycom-to-tucows-opensrs' rel='bookmark' title='Permanent Link: Transfering domains from Godaddy.com to TuCows OpenSRS'>Transfering domains from Godaddy.com to TuCows OpenSRS</a> <small>I need to transfer a bunch of domains from Godaddy...</small></li>
<li><a href='http://www.hm2k.com/posts/how-to-setup-tucows-opensrs' rel='bookmark' title='Permanent Link: How to setup Tucows OpenSRS'>How to setup Tucows OpenSRS</a> <small>OpensSRS is a domain reseller system offered by Tucows to...</small></li>
<li><a href='http://www.hm2k.com/posts/ftp-client' rel='bookmark' title='Permanent Link: An FTP client'>An FTP client</a> <small>I have been looking for a decent FTP client for...</small></li>
<li><a href='http://www.hm2k.com/posts/how-to-minimize-microsoft-office-outlook-to-the-system-tray' rel='bookmark' title='Permanent Link: How to Minimize Microsoft Office Outlook to the System Tray'>How to Minimize Microsoft Office Outlook to the System Tray</a> <small>Open your registry and find or create the key below....</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This is only a quick message to say that I am now developing the <em>PHP OpenSRS Client project</em>.</p>
<p>OpenSRS-PHP is a PHP-based client class that communicates with the TuCows OpenSRS Domain Name Registry System via an API.</p>
<p>I have just released version 2.8.1 with many long awaited fixes.</p>
<ul>
<li><a href="http://opensrs-php.sourceforge.net/">Website</a></li>
</ul>
<p>Enjoy!</p>


<p>Related posts:<ol><li><a href='http://www.hm2k.com/posts/transfering-domains-from-godaddycom-to-tucows-opensrs' rel='bookmark' title='Permanent Link: Transfering domains from Godaddy.com to TuCows OpenSRS'>Transfering domains from Godaddy.com to TuCows OpenSRS</a> <small>I need to transfer a bunch of domains from Godaddy...</small></li>
<li><a href='http://www.hm2k.com/posts/how-to-setup-tucows-opensrs' rel='bookmark' title='Permanent Link: How to setup Tucows OpenSRS'>How to setup Tucows OpenSRS</a> <small>OpensSRS is a domain reseller system offered by Tucows to...</small></li>
<li><a href='http://www.hm2k.com/posts/ftp-client' rel='bookmark' title='Permanent Link: An FTP client'>An FTP client</a> <small>I have been looking for a decent FTP client for...</small></li>
<li><a href='http://www.hm2k.com/posts/how-to-minimize-microsoft-office-outlook-to-the-system-tray' rel='bookmark' title='Permanent Link: How to Minimize Microsoft Office Outlook to the System Tray'>How to Minimize Microsoft Office Outlook to the System Tray</a> <small>Open your registry and find or create the key below....</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.hm2k.com/posts/php-opensrs-client/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>worldtime.tcl</title>
		<link>http://www.hm2k.com/posts/worldtime-tcl</link>
		<comments>http://www.hm2k.com/posts/worldtime-tcl#comments</comments>
		<pubDate>Fri, 20 Nov 2009 10:04:23 +0000</pubDate>
		<dc:creator>hm2k</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[IRC]]></category>
		<category><![CDATA[eggdrop]]></category>
		<category><![CDATA[TCL]]></category>
		<category><![CDATA[timezones]]></category>
		<category><![CDATA[worldtime]]></category>
		<category><![CDATA[zoneinfo]]></category>

		<guid isPermaLink="false">http://www.hm2k.com/?p=573</guid>
		<description><![CDATA[Sometimes you need to know the time somewhere else in the world. I find it useful to get my eggdrop to return the time of another timezone&#8230;

&#62; .tz london
&#60;Bot&#62; HM2K, The time for the london timezone is Fri Feb 13 23:31:30 2009

However, much like my old weather.tcl, I realised that my worldtime.tcl had passed it&#8217;s [...]


Related posts:<ol><li><a href='http://www.hm2k.com/posts/universal-currency-converter-tcl-for-eggdrop' rel='bookmark' title='Permanent Link: Universal Currency Converter TCL for Eggdrop'>Universal Currency Converter TCL for Eggdrop</a> <small>This is a currency converter written in TCL for Eggdrop,...</small></li>
<li><a href='http://www.hm2k.com/posts/weather-tcl' rel='bookmark' title='Permanent Link: weather.tcl'>weather.tcl</a> <small>Today, after I decided to hang out in #eggtcl on...</small></li>
<li><a href='http://www.hm2k.com/posts/which-is-the-best-operating-system' rel='bookmark' title='Permanent Link: Which is the best operating system?'>Which is the best operating system?</a> <small>I&#8217;ve done my research and i&#8217;ve discovered there&#8217;s only 6...</small></li>
<li><a href='http://www.hm2k.com/posts/eticket' rel='bookmark' title='Permanent Link: eTicket'>eTicket</a> <small>For the past few weeks I have been mostly working...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Sometimes you need to know the time somewhere else in the world. I find it useful to get my eggdrop to return the time of another timezone&#8230;</p>
<blockquote>
<pre>&gt; .tz london
&lt;Bot&gt; HM2K, The time for the london timezone is Fri Feb 13 23:31:30 2009</pre>
</blockquote>
<p>However, much like my old <em>weather.tcl</em>, I realised that my <em>worldtime.tcl</em> had passed it&#8217;s sell by date and had now expired.</p>
<p>My old <em>worldtime.tcl</em> which was based on a script by <em>Murf</em> which used <em>worldtimeserver.com</em> to gather it&#8217;s data had stopped working.</p>
<p>It would seem that <em>worldtimeserver.com</em> had changed their markup which meant that it was no longer possible to parse the correct data from the HTML.</p>
<p>Never mind, I thought, there must be a better way, that doesn&#8217;t need to use a third party website, that won&#8217;t stop working.</p>
<p>After all operating systems have worldtime build in without using a website, so how do they do it?</p>
<p>So, I did some investigation&#8230;</p>
<p><span id="more-573"></span></p>
<p><span style="text-decoration: line-through;">I discovered that on Linux based systems (including FreeBSD) the time zone information was stored locally.</span></p>
<blockquote><p><span style="text-decoration: line-through;">/usr/share/zoneinfo/</span></p></blockquote>
<p><span style="text-decoration: line-through;">Using a bit of Google magic, I managed to locate a few pre-made procedures to help me read the time zone information.</span></p>
<ul>
<li><span style="text-decoration: line-through;"><a href="http://alice.wu-wien.ac.at:8000/xowiki/load-timezones.tcl">load-timezones.tcl</a></span>
<ul>
<li><span style="text-decoration: line-through;">get_tz_names</span></li>
<li><span style="text-decoration: line-through;">get_tz_rules</span></li>
</ul>
</li>
</ul>
<p><span style="text-decoration: line-through;">Using these functions I was able to find the right timezone and get the GMT offset which allowed me to work out the time in that timezone using the unix ticks.</span></p>
<p><span style="text-decoration: line-through;">At the moment, because it reads the time zone files that are only available on Linux based systems, it will not work on windrops.</span></p>
<p><span style="text-decoration: line-through;">However, what I may do next time is build a function that saves the timezone information into a database file which can be used on windows systems and will also give the Linux systems a cache file to make it respond quicker.</span></p>
<p><strong>Update: </strong>I decided to stop using the tz database method and replace it with a Google lookup method, which is far more accurate and portable.</p>
<p>So now you&#8217;ll probably want to download it&#8230;</p>
<ul>
<li><a href="http://hm2k.googlecode.com/svn/trunk/code/tcl/worldtime.tcl">Download worldtime.tcl</a></li>
</ul>
<p>Hope it works for you.</p>
<p>Enjoy!</p>
<p>Note: If you find this useful, or have an issue with the script, please add a comment below. Thanks.</p>


<p>Related posts:<ol><li><a href='http://www.hm2k.com/posts/universal-currency-converter-tcl-for-eggdrop' rel='bookmark' title='Permanent Link: Universal Currency Converter TCL for Eggdrop'>Universal Currency Converter TCL for Eggdrop</a> <small>This is a currency converter written in TCL for Eggdrop,...</small></li>
<li><a href='http://www.hm2k.com/posts/weather-tcl' rel='bookmark' title='Permanent Link: weather.tcl'>weather.tcl</a> <small>Today, after I decided to hang out in #eggtcl on...</small></li>
<li><a href='http://www.hm2k.com/posts/which-is-the-best-operating-system' rel='bookmark' title='Permanent Link: Which is the best operating system?'>Which is the best operating system?</a> <small>I&#8217;ve done my research and i&#8217;ve discovered there&#8217;s only 6...</small></li>
<li><a href='http://www.hm2k.com/posts/eticket' rel='bookmark' title='Permanent Link: eTicket'>eTicket</a> <small>For the past few weeks I have been mostly working...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.hm2k.com/posts/worldtime-tcl/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Gmail needs an API</title>
		<link>http://www.hm2k.com/posts/gmail-needs-an-api</link>
		<comments>http://www.hm2k.com/posts/gmail-needs-an-api#comments</comments>
		<pubDate>Fri, 13 Nov 2009 16:05:06 +0000</pubDate>
		<dc:creator>hm2k</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[google mail]]></category>
		<category><![CDATA[wave]]></category>

		<guid isPermaLink="false">http://www.hm2k.com/?p=570</guid>
		<description><![CDATA[Yesterday I spent some time investigating Google Wave. A very interesting new product from Google. Not only that but an interesting protocol.
If you think about it, Google has mostly only used other protocols for communication in the past, now it&#8217;s creating it&#8217;s own. They clearly want to create a completely new protocol that will effectively [...]


Related posts:<ol><li><a href='http://www.hm2k.com/posts/how-not-to-use-phpmailer' rel='bookmark' title='Permanent Link: How not to use PHPMailer'>How not to use PHPMailer</a> <small>I came across PHPMailer usage the other day on a...</small></li>
<li><a href='http://www.hm2k.com/posts/google-adsense-wont-let-me-in' rel='bookmark' title='Permanent Link: Google AdSense won&#8217;t let me in!'>Google AdSense won&#8217;t let me in!</a> <small>Back in 2004, I signed up my old site &#8220;hm2k.org&#8221;...</small></li>
<li><a href='http://www.hm2k.com/posts/freebsd-socks-proxy-for-mirc' rel='bookmark' title='Permanent Link: Setting up a FreeBSD socks proxy server for use with mIRC'>Setting up a FreeBSD socks proxy server for use with mIRC</a> <small>I&#8217;m getting fed up with my current IRC BNC software....</small></li>
<li><a href='http://www.hm2k.com/posts/hacked-my-school' rel='bookmark' title='Permanent Link: How I hacked my schools website &#8211; a look into the past'>How I hacked my schools website &#8211; a look into the past</a> <small>When I was about 16 I hacked my schools website,...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Yesterday I spent some time investigating Google Wave. A very interesting new product from Google. Not only that but an interesting protocol.</p>
<p>If you think about it, Google has mostly only used other protocols for communication in the past, now it&#8217;s creating it&#8217;s own. They clearly want to create a completely new protocol that will effectively be the future of these old primitive protocols.</p>
<p>For this to catch on, it will either have to run directly along side smtp and xmmp or layer on top of them.</p>
<p>We&#8217;re going to need a way to pass requests over http to smtp or pop3/imap, and what better way to do it than with gmail?</p>
<p>Sure, but there&#8217;s no API&#8230;</p>
<p><span id="more-570"></span></p>
<p>It&#8217;s argued that all you need to do is roll your own &#8220;api&#8221; or library class to use smtp and imap server provided by Google Mail (gmail) to send and receive emails.</p>
<p>The problem with this is that you&#8217;re forced to hand the app your username and password. Naturally this raises security concerns.</p>
<p>Of course this isn&#8217;t a big problem if you only use your own username and password and manage to store it on your server security.</p>
<p>The problem comes when others want to use their gmail accounts with your web app. They have not choice but to hand over their username and password. What can possibly go wrong?</p>
<ul>
<li>Their username and password gives you FULL access to their account, including account actions such as changing passwords.</li>
</ul>
<p>My proposal would be for an API that allowed you to interface with gmail, in particular to send emails (which has the biggest scope here).</p>
<p>To access the API you could generate an API Key from within gmail that would allow you to interface with gmail, but limited to mailing functions, rather than account settings.</p>
<p>An alternative to this is similar to the &#8220;GoogleCode.com Password&#8221;, used by project members when checking out or committing source code changes, or when using command-line tools to upload files to the project &#8220;Downloads&#8221; tab.</p>
<p>If you could set a &#8220;Google Mail SMTP Password&#8221; or similar, which would only permit you to access the gmail SMTP server, but not gmail itself, this would also allow you to overcome the security issues mentioned above.</p>
<p>However, this alternative wouldn&#8217;t help towards integration with Google Wave as much as an api would.</p>
<p>In summary, to resolve the security issue an API is an option, but for Google Wave integration too, it&#8217;s essentially a must.</p>
<p>I hope someone at Google reads this and agrees with me, for that matter, I hope you or anyone reading this agrees with me.</p>


<p>Related posts:<ol><li><a href='http://www.hm2k.com/posts/how-not-to-use-phpmailer' rel='bookmark' title='Permanent Link: How not to use PHPMailer'>How not to use PHPMailer</a> <small>I came across PHPMailer usage the other day on a...</small></li>
<li><a href='http://www.hm2k.com/posts/google-adsense-wont-let-me-in' rel='bookmark' title='Permanent Link: Google AdSense won&#8217;t let me in!'>Google AdSense won&#8217;t let me in!</a> <small>Back in 2004, I signed up my old site &#8220;hm2k.org&#8221;...</small></li>
<li><a href='http://www.hm2k.com/posts/freebsd-socks-proxy-for-mirc' rel='bookmark' title='Permanent Link: Setting up a FreeBSD socks proxy server for use with mIRC'>Setting up a FreeBSD socks proxy server for use with mIRC</a> <small>I&#8217;m getting fed up with my current IRC BNC software....</small></li>
<li><a href='http://www.hm2k.com/posts/hacked-my-school' rel='bookmark' title='Permanent Link: How I hacked my schools website &#8211; a look into the past'>How I hacked my schools website &#8211; a look into the past</a> <small>When I was about 16 I hacked my schools website,...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.hm2k.com/posts/gmail-needs-an-api/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PlusFM Track Feed</title>
		<link>http://www.hm2k.com/posts/plusfm-track-feed</link>
		<comments>http://www.hm2k.com/posts/plusfm-track-feed#comments</comments>
		<pubDate>Thu, 12 Nov 2009 15:18:53 +0000</pubDate>
		<dc:creator>hm2k</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[audioscrobbler]]></category>
		<category><![CDATA[foobar2000]]></category>
		<category><![CDATA[last.fm]]></category>
		<category><![CDATA[lastfm]]></category>
		<category><![CDATA[plusfm]]></category>
		<category><![CDATA[winamp]]></category>

		<guid isPermaLink="false">http://www.hm2k.com/?p=567</guid>
		<description><![CDATA[Recently an online radio station I listen to called PlusFM stopped displaying track titles on their stream. This was a pain for quickly displaying the current track you were listening to, however I did figure out a work around&#8230;
Here&#8217;s my setup&#8230;
I have two machines in my office, one has a hifi system attached, the other [...]


Related posts:<ol><li><a href='http://www.hm2k.com/posts/legally-listen-to-music-online-for-free' rel='bookmark' title='Permanent Link: Legally listen to music online for free'>Legally listen to music online for free</a> <small>One of the things I enjoy doing while I work...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Recently an online radio station I listen to called PlusFM stopped displaying track titles on their stream. This was a pain for quickly displaying the current track you were listening to, however I did figure out a work around&#8230;</p>
<p><span id="more-567"></span>Here&#8217;s my setup&#8230;</p>
<p>I have two machines in my office, one has a hifi system attached, the other does not.</p>
<p>I use the lightweight media player <a href="http://en.wikipedia.org/wiki/Foobar2000">Foobar2000</a> (foobar2000.org), developed by Peter Pawlowski, a former freelance contractor for Nullsoft. So you know it&#8217;s a good alternative to Winamp.</p>
<p>In Foobar2000 I add the location for PlusFM&#8217;s stream:</p>
<blockquote><p><a href="http://91.121.48.90">http://91.121.48.90</a></p></blockquote>
<p>I then use the last.fm plugin for audio scrobbling in Foobar2000 (<a href="http://www.mp3tag.de/en/fb2k.html">foo_audioscrobbler.dll</a>).</p>
<p>This allows me to feed the track I&#8217;m listening to the last.fm API.</p>
<p>I can then call their API and display the current track I&#8217;m playing on any device, anywhere in the world.</p>
<p>I currently use it in combination with my &#8220;last.fm&#8221; mIRC script, which calls the API, reads the currently playing track, then displays it on screen when you trigger it using the /amp command.</p>
<p>This mean that when I hear a song I like, I could display it to share it with others, or just display it for my own interest.</p>
<p>This was great, until recently, when plusFM changed, and decided to stop displaying the track names on their feed&#8230;</p>
<blockquote><p>* +HM2K is listening to www.plusfm.net &#8211; current track available on www.plusfm.net &lt;www.last.fm/user/hm2k&gt;</p></blockquote>
<p>I understand that you guys want more hits to your site, but you&#8217;re messing up my last.fm feed.</p>
<p>Perhaps PlusFM could sign up to last.fm and feed the audio scrobbler, then I can simply read it from there!</p>
<p>Or perhaps I could read it directly from your site&#8230;</p>
<p>So it turns out there&#8217;s a feed on the site I can read from instead&#8230;</p>
<blockquote><p><a href="http://www.plusfm.net/titre_plusfm.php">http://www.plusfm.net/titre_plusfm.php</a></p></blockquote>
<p>So I wrote a little script for it called plusfm.mrc&#8230;</p>
<ul>
<li>Download <a href="http://hm2k.googlecode.com/svn/trunk/code/mirc/plusfm.mrc">plusfm.mrc</a></li>
<li>Usage: /plusfm</li>
</ul>
<blockquote><p>[12:16:48 pm] * HM2K now playing Justice &#8211; Genesis &lt;www.plusfm.net&gt;</p></blockquote>


<p>Related posts:<ol><li><a href='http://www.hm2k.com/posts/legally-listen-to-music-online-for-free' rel='bookmark' title='Permanent Link: Legally listen to music online for free'>Legally listen to music online for free</a> <small>One of the things I enjoy doing while I work...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.hm2k.com/posts/plusfm-track-feed/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 27.714 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-09-03 00:41:28 -->
