<?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>James Little &#187; web</title>
	<atom:link href="http://www.jameslittle.biz/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jameslittle.biz</link>
	<description>certified java software developer, architect and consultant in london</description>
	<lastBuildDate>Sat, 12 Dec 2009 17:25:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Hong Kong &#8211; run up Tai Tam Country Park</title>
		<link>http://www.jameslittle.biz/2009/03/code/hong-kong-run-up-tai-tam-country-park/</link>
		<comments>http://www.jameslittle.biz/2009/03/code/hong-kong-run-up-tai-tam-country-park/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 10:24:08 +0000</pubDate>
		<dc:creator>James Little</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[travel]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[Hong Kong]]></category>
		<category><![CDATA[quarry bay]]></category>
		<category><![CDATA[Tai Tam Country Park]]></category>
		<category><![CDATA[wellington]]></category>

		<guid isPermaLink="false">http://www.jameslittle.biz/?p=308</guid>
		<description><![CDATA[大潭郊野公園
Pretty stoked that I found this park today; I realised after my last trip here that we were staying just around the corner!
I have not been doing particularly much recently &#8211; the only other exercise in the last month has been a mountain bike up Makara Peak in Wellington. The hill climb on a comfortable [...]]]></description>
			<content:encoded><![CDATA[<p>大潭郊野公園</p>
<p>Pretty stoked that I found this park today; I realised after my last trip here that we were staying just around the corner!</p>
<p>I have not been doing particularly much recently &#8211; the only other exercise in the last month has been a mountain bike up Makara Peak in Wellington. The hill climb on a comfortable overcast day in Hong Kong took 30min and kept my heart rate above 180!</p>
<p>Many people were walking the tar sealed road that as several picnic areas, only a few ran/jogged. I stopped at a picnic area that also had exercise stations. Visibility was very poor. I am planning to walk to the reservoir at some stage and take a few photos. Perhaps also a picnic.</p>
<p>I am quite dissappointed that I haven&#8217;t got my online fitness log book running &#8211; these little sessions would look good in there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jameslittle.biz/2009/03/code/hong-kong-run-up-tai-tam-country-park/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>James Little on the Web</title>
		<link>http://www.jameslittle.biz/2009/03/web/james-little-on-the-web/</link>
		<comments>http://www.jameslittle.biz/2009/03/web/james-little-on-the-web/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 19:19:38 +0000</pubDate>
		<dc:creator>James Little</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[SMS]]></category>
		<category><![CDATA[social network]]></category>
		<category><![CDATA[Yahoo]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://www.jameslittle.biz/?p=250</guid>
		<description><![CDATA[
You can find me involved with lots of stuff online, here are some of my favourites:

Flickr is my favourite photo sharing service. I&#8217;m also quite a fan of their photo map that allows you to position photos of your travels anywhere in the world.

YouTube is on of the video content services that don&#8217;t pay for [...]]]></description>
			<content:encoded><![CDATA[<p><a title="When you realize how perfect everything is you will tilt your head back and laugh at the sky... (Buddha)" href="http://flickr.com/photos/8418112@N04/2397645689"><img src="http://farm4.static.flickr.com/3225/2397645689_060c772e63.jpg" alt="" /></a></p>
<p>You can find me involved with lots of stuff online, here are some of my favourites:</p>
<p><a href="http://search.yahoo.com/search?p=james+little%2C+linkedin"><img class="alignnone size-full wp-image-253" title="James Little, Linkedin" src="http://www.jameslittle.biz/blog/wp-content/uploads/2009/03/linkedin1.png" alt="James Little, Linkedin" width="495" height="102" /></a></p>
<p><a href="http://www.flickr.com/photos/alphafoobar/">Flickr</a> is my favourite photo sharing service. I&#8217;m also quite a fan of their photo map that allows you to position photos of your travels anywhere in the world.<a href="http://www.flickr.com/photos/alphafoobar/"><br />
</a></p>
<p><a href="http://www.youtube.com/user/alphafoobar">YouTube</a> is on of the video content services that don&#8217;t pay for your content &#8211; that isn&#8217;t google way. But they still dominate online video and you can find most music videos and funny snippets here.</p>
<p><a href="http://www.facebook.com/people/James-Little/568796598">Facebook</a> is the &#8220;now&#8221; social network, I&#8217;m also on Orkut, Bebo, Hi5, MySpace, ShareMyNZ, OldFriends and several others; but most people I know are on Facebook. If you would like to connect please include a message explaining why, it&#8217;s usually advisable to only conenct with people you know.</p>
<p><a href="http://www.linkedin.com/in/alphafoobar">Linkedin</a> is a more professional social network, if you would like to be connected please offer me a job.</p>
<p><a href="http://www.last.fm/user/alphafoobar">Last.fm</a> is a really cool music library that you can use to find hot new stuff or cool old stuff &#8211; and to see what your friends, colleagues and random people are listening to; and what you listened to yesterday, this can be used to focus you to new music that fits your tastes, like google search tailors searching to match your clicks.</p>
<p><a href="http://twitter.com/alphafoobar">Twitter</a> was one of the first micro-blogging applications. It doesn&#8217;t allow you to use more than 140 characters and it does allow you to SMS updates. Handy for people covering events and has been used in conjuction with Google maps to provide live updates on natural disasters.</p>
<p><a href="http://alphafoobar.stumbleupon.com">Stumbleupon</a> is my favoured bookmarking application, I&#8217;ve used others like Digg, Delicious, Yahoo MyWeb 2.0; but Stumbleupon has the quickest tagging mechanism &#8211; someone else has already done it. And Stumbleupon has the stumble feature. Unfortunately stumbleupon is unaware that some content isn&#8217;t english (though you can select other languages) and everything gets garbled as Latin1.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jameslittle.biz/2009/03/web/james-little-on-the-web/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Building a weather service</title>
		<link>http://www.jameslittle.biz/2009/03/code/building-a-weather-service/</link>
		<comments>http://www.jameslittle.biz/2009/03/code/building-a-weather-service/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 04:26:07 +0000</pubDate>
		<dc:creator>James Little</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[jsonp]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[weather]]></category>
		<category><![CDATA[web service]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XSLT]]></category>

		<guid isPermaLink="false">http://www.jameslittle.biz/?p=284</guid>
		<description><![CDATA[
Create web service to return personal weather station or airport weather station data from wunderground.com.
The web service will return JSON or XML data. wunderground.com API returns XML data.
When a user request weather information for a location, the web service will return the closest weather information for that location that is available. If nothing is available, [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Tagging: Maldives Style" href="http://flickr.com/photos/33345813@N00/2389348226"><img src="http://farm4.static.flickr.com/3284/2389348226_90048e1dfe.jpg" alt="" /></a></p>
<p>Create web service to return personal weather station or airport weather station data from <a href="http://www.wunderground.com">wunderground.com</a>.</p>
<p>The web service will return JSON or XML data. <a href="http://wiki.wunderground.com/index.php/API_-_XML">wunderground.com API</a> returns XML data.</p>
<p>When a user request weather information for a location, the web service will return the closest weather information for that location that is available. If nothing is available, or the closest is deemed to be too far away, the user will be asked if this is good enuogh and a message will be added to our logs informing the application administrator that closer weather data is required.</p>
<p>If the user, or an administrator adds a new weather station, the longitude and latitude will be added to the database, as with the name of the station, a link, and an ID that will map to a file system location, when it was added and if the last update was successful. Weather stations once added will be updated every 3 hours, 8 times in a 24 hour period. <em>These will be translated into JSON files when requested.</em></p>
<p>The directory system will be based on weather station ID and the date in the form YYYYMMDD. Each directory will only contain up to 8 XML files, relating to a single weather station and day. <em>Each directory may also contain JSON files. Perhaps a PHP XSLT engine, or C XSLT engine could be used to generate the desired JSON and JSONP files. We may utilise a library such as <a href="http://xml.apache.org/xalan-c/">Xalan-C</a> to generate JSON files.</em> I&#8217;ve investigated XSLT solutions and it appears that PHP has suitable XSLT functions. I will modify this procedure, but it shows that the functionality is suitable.</p>
<pre>$proc = new XSLTProcessor();

if (!$proc-&gt;hasExsltSupport())
{
   die('EXSLT support not available');
}
// Load the XML source
$xml = new DOMDocument;
$xml-&gt;load('test.xml');

$xsl = new DOMDocument;
$xsl-&gt;load('test.xsl');

// Configure the transformer
$proc-&gt;importStyleSheet($xsl); // attach the xsl rules

if(isset($_GET["callback"])) echo $_GET["callback"]."(";
echo $proc-&gt;transformToDoc($xml)-&gt;firstChild-&gt;wholeText;
if(isset($_GET["callback"])) echo ")";</pre>
<p>We will be able to resolve the closest weather station or stations to a particular point and (in our user interface) allow a user to select the favoured weather station.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jameslittle.biz/2009/03/code/building-a-weather-service/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Integrating flickr and some other stuff for k2</title>
		<link>http://www.jameslittle.biz/2009/01/web/integrating-flickr-and-some-other-stuff-for-k2/</link>
		<comments>http://www.jameslittle.biz/2009/01/web/integrating-flickr-and-some-other-stuff-for-k2/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 23:55:44 +0000</pubDate>
		<dc:creator>James Little</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://jameslittle.biz/blog/?p=18</guid>
		<description><![CDATA[I&#8217;ve been hunting around finding new plugins for this blog, because I discovered that the default theme kubrick had a k2 version with lots of nice new stuff. I wanted a blog that was clean, quick and simple&#8230; so I&#8217;m trying to limit myself.

flickrRSS for WordPress allows a feed of flickr images to appear with [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been hunting around finding new plugins for this blog, because I discovered that the default theme kubrick had a k2 version with lots of nice new stuff. I wanted a blog that was clean, quick and simple&#8230; so I&#8217;m trying to limit myself.</p>
<ul>
<li><a href="http://eightface.com/wordpress/flickrrss/">flickrRSS for WordPress</a> allows a feed of flickr images to appear with very little effort.</li>
<li>Brian&#8217;s Latest Comments</li>
<li>Related Posts Plugin</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.jameslittle.biz/2009/01/web/integrating-flickr-and-some-other-stuff-for-k2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy new years 2009!</title>
		<link>http://www.jameslittle.biz/2009/01/web/happy-new-years-2009/</link>
		<comments>http://www.jameslittle.biz/2009/01/web/happy-new-years-2009/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 23:02:02 +0000</pubDate>
		<dc:creator>James Little</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[energy drinks]]></category>
		<category><![CDATA[fitness]]></category>
		<category><![CDATA[goals]]></category>
		<category><![CDATA[new year 2009]]></category>
		<category><![CDATA[new years]]></category>
		<category><![CDATA[resolutions]]></category>
		<category><![CDATA[V]]></category>
		<category><![CDATA[v energy drink]]></category>

		<guid isPermaLink="false">http://www.jameslittle.biz/?p=132</guid>
		<description><![CDATA[Welcome to 2009&#8230; which appears to be an exciting year indeed!

This is just a quick post to outline my new years resolutions&#8230; which are my first ever new years resolutions in my current 30 years. The following list will continue to be updated as I decide what it should contain:

Focus on getting back into shape; [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to 2009&#8230; which appears to be an exciting year indeed!</p>
<p><a title="Happy New Year !!!!" href="http://flickr.com/photos/39592374@N00/3156036633"><img class="alignright" src="http://farm4.static.flickr.com/3085/3156036633_704be8e159_m.jpg" alt="" width="180" height="240" /></a></p>
<p>This is just a quick post to outline my new years resolutions&#8230; which are my first ever new years resolutions in my current 30 years. The following list will continue to be updated as I decide what it should contain:</p>
<ol>
<li>Focus on getting back into shape; I&#8217;ve been a little lazy and I&#8217;d like to improve. Goal: Build over the first month up to at least 3.5 hours per week of low aerobic exercise.</li>
<li>Finish building my fitness diary website. Goal: Prior to April, then I will be able to promote it to an international audience.</li>
<li>Give up drinking V energy drinks. They are now ridiculously expensive and I could spend the money elsewhere&#8230; at almost $3 a day, it adds up! Goal: Don&#8217;t buy V.</li>
<li>Promote one of my favourite small local businesses every week on this blog.</li>
<li>Provide more positive support and reactions, or more simply: say yes more. Though not necessarily to everything! As in the &#8220;Yes Man&#8221; movie. Goal: Say yes more often.</li>
<li>Spend more time outside! Goal: Difficult to measure. Target the majority of one evening (after work) and one weekend day outside.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.jameslittle.biz/2009/01/web/happy-new-years-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>L10n: localisation of WordPress</title>
		<link>http://www.jameslittle.biz/2008/09/web/l10n-localisation-of-wordpress/</link>
		<comments>http://www.jameslittle.biz/2008/09/web/l10n-localisation-of-wordpress/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 13:04:09 +0000</pubDate>
		<dc:creator>James Little</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[i18n]]></category>
		<category><![CDATA[iñtërnâtiônàlizætiøn]]></category>
		<category><![CDATA[locale]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[translation]]></category>
		<category><![CDATA[web browsers]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.jameslittle.biz/?p=52</guid>
		<description><![CDATA[
Application localisation has caught my interest recently, for many years it was satisfactory to create applications that only understood (or expected) simplified character sets. Even though there were often cases where such an application would fail, where words or names are borrowed from other languages.
The question for me now is &#8220;How can I publish in [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left"><a title="Who is warned not to drink the water?" href="http://flickr.com/photos/69467153@N00/2233802539"><img src="http://farm3.static.flickr.com/2159/2233802539_4246bc0769.jpg" alt="" /></a></p>
<p>Application localisation has caught my interest recently, for many years it was satisfactory to create applications that only understood (or expected) simplified character sets. Even though there were often cases where such an application would fail, where words or names are borrowed from other languages.</p>
<p>The question for me now is &#8220;How can I publish in multiple languages?&#8221; I have chosen WordPress as my content management engine. Can it succeed internationally?</p>
<p>When you start searching for multi-lingual or bilingual wordpress, you are likely to end up on the WordPress codex pages. You may also be wondering what it means. These pages will show you how to get WordPress specifically in your languages, i.e. German WordPress, French WordPress. They also tell you how you can help and they link to places to go.</p>
<p>The WordPress pages: <a href="http://codex.wordpress.org/Translating_WordPress">Translating WordPress</a> and <a href="http://codex.wordpress.org/WordPress_in_Your_Language">WordPress in Your Language</a>. If your language is not listed in WordPress in Your Language, you can also try the <a class="external text" title="http://svn.automattic.com/wordpress-i18n/" href="http://svn.automattic.com/wordpress-i18n/">WordPress Language File Repository</a>. I found the <span class="external text">WordPress Language File Repository</span> to be the easiest location for retrieving *.po and *.mo files.</p>
<p>*.mo files can be used by WordPress to render your blog in the correct language if a visitor arrives that is not as familiar to your language. They don&#8217;t really help you display your blog in a different language, unless you have lots of registered users that use the admin facilities of your blog.</p>
<p>You can create your own *.mo files for plugins and templates, these will be more useful to attract foreign visitors. A useful tool for managing your localisation capabilities is the <a href="http://www.code-styling.de/english/development/wordpress-plugin-codestyling-localization-en">Codestyling Localization, wordpress plugin</a>.</p>
<p>It is very good at visualising localisation and you can turn it on and off as you please. The process of using the plugin to create *.po files is to painful, unless you have a very small plugin or template.</p>
<p>So how would you create translation *.po files? Go to the <a class="external text" title="http://svn.automattic.com/wordpress-i18n/" href="http://svn.automattic.com/wordpress-i18n/">WordPress Language File Repository</a> and download the *.po and *.mo files for your version of WordPress and your desired language locales.</p>
<p>I also wanted something for the actual content.<br />
<a href="http://fredfred.net/skriker/index.php/polyglot/">Polyglot2</a><br />
can be used to work out the users preferential locale and if that is available, display content in that locale. Unfortunately this plugin will only pick up the user locale if it matches a set of prepared locales. The plugin only uses two letter locales, so there are some limitations. You are also forced to write the translations directly into the same post, limiting the number of translations and the size of the possible articles.</p>
<p>A better WordPress plugin for multilingual blogging called <a href="http://pixline.net/en/">Gengo</a>. This tool allows you to manage multiple languages, creating relationships of translation groups. This allows you to produce multiple streams of content from the same blog in multiple languages. If you want to assign translations it is simply a matter of selecting the post that you have a new translation for.</p>
<p>I have created content in the following languages to demonstrate:</p>
<ul>
<li><span style="text-decoration: line-through;">English</span></li>
<li><span style="text-decoration: line-through;">French</span></li>
<li><span style="text-decoration: line-through;">German</span></li>
<li><span style="text-decoration: line-through;">Hindi</span></li>
<li><span style="text-decoration: line-through;">Chinese</span></li>
<li><span style="text-decoration: line-through;">Japanese</span></li>
<li><span style="text-decoration: line-through;">Arabic</span></li>
</ul>
<p>I&#8217;m really impressed with the design of this bilingual spanish/english magazine <a href="http://www.kprensa.com/">http://www.kprensa.com/</a>. I don&#8217;t know what plugins they have used. But they have done a good looking job.</p>
<p><strong>Update (2008-12-17):</strong> I&#8217;ve dropped multilingual support on this blog. I can&#8217;t communicate in multiple languages anyway. It was purely a very time consuming experiment, which I will continue to be interested in.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jameslittle.biz/2008/09/web/l10n-localisation-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Friends connect through Google, OpenSocial, Yahoo and Facebook</title>
		<link>http://www.jameslittle.biz/2008/09/web/friends-connect-through-google-opensocial-yahoo-and-facebook/</link>
		<comments>http://www.jameslittle.biz/2008/09/web/friends-connect-through-google-opensocial-yahoo-and-facebook/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 21:09:15 +0000</pubDate>
		<dc:creator>James Little</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[connect]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[friends connect]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[opensocial]]></category>
		<category><![CDATA[social network]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://www.jameslittle.biz/?p=48</guid>
		<description><![CDATA[Providing connectivity quickly and easily to web services appears to be the next battleground.
Google has delivered Friend Connect, named very similar to Facebook connect. However the latter appears to be a more useful approach, Facebook allows quick activation of user website accounts using limited Facebook account information. Google Friend connect only seems to allow users [...]]]></description>
			<content:encoded><![CDATA[<p><a title="The duckies invade Google" href="http://flickr.com/photos/99527366@N00/1449868160"><img src="http://farm2.static.flickr.com/1325/1449868160_d560bbfeac.jpg" alt="" /></a>Providing connectivity quickly and easily to web services appears to be the next battleground.</p>
<p>Google has delivered <a href="http://www.google.com/friendconnect/">Friend Connect</a>, named very similar to Facebook connect. However the latter appears to be a more useful approach, Facebook allows quick activation of user website accounts using limited Facebook account information. Google Friend connect only seems to allow users to play with widgets attached to the website.</p>
<p>There may be power in that, allowing your website to build its own OpenSocial network, but I don&#8217;t see how it enriches any self-respecting website. The google article &#8220;<a href="http://googleblog.blogspot.com/2008/05/friend-connected-web.html">A friend connected web</a>&#8221; talks up the features, which are cool but specifically targeted at a non-technical audience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jameslittle.biz/2008/09/web/friends-connect-through-google-opensocial-yahoo-and-facebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
