<?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; code</title>
	<atom:link href="http://www.jameslittle.biz/category/code/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>Java Developer Certification</title>
		<link>http://www.jameslittle.biz/2009/03/resume/java-developer-certification/</link>
		<comments>http://www.jameslittle.biz/2009/03/resume/java-developer-certification/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 02:59:19 +0000</pubDate>
		<dc:creator>James Little</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[résumé]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[exam]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.jameslittle.biz/?p=299</guid>
		<description><![CDATA[I sat the exam on Thursday morning at a prometric testing centre,
I found the exam to be quite simple. But due to the duration that I took developing the assignment, my memory of some pieces was a little flimsy and I will have to wait and see whether that has much bearing on the outcome.
My [...]]]></description>
			<content:encoded><![CDATA[<p>I sat the exam on Thursday morning at a prometric testing centre,</p>
<p>I found the exam to be quite simple. But due to the duration that I took developing the assignment, my memory of some pieces was a little flimsy and I will have to wait and see whether that has much bearing on the outcome.</p>
<p>My advice: try and do the assignment in contiguous blocks, it will assist your memory and try and sit the exam within two weeks of preparing your assignment. The exam will test the pros and cons of your choices, but the exam will not be particularly tailored to your solution and you may be surprised by what you are asked 3 of the 4 questions I had to answer were related to the design of the UI, where I expected more questions would be more around locking, OO principals, etc.</p>
<p>I got the feeling that the questions were really just to ascertain whether you designed and built the assignment. I expect it will take about 2 weeks to get a result.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jameslittle.biz/2009/03/resume/java-developer-certification/feed/</wfw:commentRss>
		<slash:comments>0</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>Debugging SOAP Web services</title>
		<link>http://www.jameslittle.biz/2009/03/code/debugging-soap-web-services/</link>
		<comments>http://www.jameslittle.biz/2009/03/code/debugging-soap-web-services/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 21:58:27 +0000</pubDate>
		<dc:creator>James Little</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[axis]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[soap]]></category>
		<category><![CDATA[web service]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.jameslittle.biz/?p=234</guid>
		<description><![CDATA[SoapUI is a useful little tool for reading wsdl files, from a URL or as a file. It can then generate default request messages for each method allowing you to go through and tailor a set of test data. It has been developed in Java and builds requests and displays responses from the web service. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.soapui.org/">SoapUI</a> is a useful little tool for reading wsdl files, from a URL or as a file. It can then generate default request messages for each method allowing you to go through and tailor a set of test data. It has been developed in Java and builds requests and displays responses from the web service. I&#8217;ve got version 1.5 which is completely suitable for my current needs, though I notice they are up to version 2.5 and they have a professional release.</p>
<p><a href="http://ws.apache.org/commons/tcpmon/">TCPMon</a> was part of the Apache Axis1 project, but it is now an independent Apache project. The only available version is 1.0, released in March 2006! TCPMon is useful for debugging traffic between any TCP client and server. You set up a local port and point it to a server and port. TCPMon then shows you the communication. Very useful for any TCP based project, especially so for SOAP.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jameslittle.biz/2009/03/code/debugging-soap-web-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Almost&#8230; Sun certified developer for the Java2 platform</title>
		<link>http://www.jameslittle.biz/2009/03/resume/almost-sun-certified-developer-for-the-java2-platform/</link>
		<comments>http://www.jameslittle.biz/2009/03/resume/almost-sun-certified-developer-for-the-java2-platform/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 03:36:59 +0000</pubDate>
		<dc:creator>James Little</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[résumé]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.jameslittle.biz/?p=211</guid>
		<description><![CDATA[It appears that it is almost submission time for the sun certified developer assignment. I have built my application using Java 1.6.
It is quite strange to be building an application like this again, it is very similar to being at university. Only no tutors or lecturers answering questions or running labs.  But there is still [...]]]></description>
			<content:encoded><![CDATA[<p>It appears that it is almost submission time for the sun certified developer assignment. I have built my application using Java 1.6.</p>
<p>It is quite strange to be building an application like this again, it is very similar to being at university. Only no tutors or lecturers answering questions or running labs.  But there is still an emphasis on writing good clean code and documenting it well. Working environments tend to be more concerned about the finished product than the underlying implementation; everyone likes a finished product.</p>
<p>Anyway, it will be good to get this part of the project submitted.</p>
<p>Unfortunately I can not upload my project via the prometric testing portal. Probably because I didn&#8217;t think there was a time limit on the project and my application has either expired or been lost. And to make things less convenient the sun ed secure website is taking forever, or perhaps it is just internet in New Zealand with xtra?</p>
<p><a title="₪ Cobija: Corporativa al atardecer - Flickr Meeting at Tusk ₪" href="http://flickr.com/photos/34248112@N00/2166043959"><img src="http://farm3.static.flickr.com/2164/2166043959_dc2ec8e8a1.jpg" alt="" /></a></p>
<p>Update: Perhaps it is a database issue at the Sun end?</p>
<blockquote><p>The connection to our customer database is temporarily down.</p>
<p>You may create a Temporary Account if you want to continue with the online purchase. This Temporary Account will be  merged with your existing account when our database is operational. We will  contact you with your order number when this is done.</p></blockquote>
<p>Update: I emailed Prometric/Sun support and they have set up my access so I can submit my assignment, but they recommend doing this and then booking in for the essay exam at a testing centre &#8211; which leaves me a pretty tight time frame.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jameslittle.biz/2009/03/resume/almost-sun-certified-developer-for-the-java2-platform/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>K2 &amp; Wordpress upgrade to 2.7.1</title>
		<link>http://www.jameslittle.biz/2009/02/code/k2-wordpress-upgrade-to-271/</link>
		<comments>http://www.jameslittle.biz/2009/02/code/k2-wordpress-upgrade-to-271/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 22:49:02 +0000</pubDate>
		<dc:creator>James Little</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.jameslittle.biz/?p=204</guid>
		<description><![CDATA[I had a couple of small problems upgrading to 2.7.1.
Firstly, I am using automatic upgrade (which is usually magic) and it encountered an error with a function being previously defined. So I had to do a manual upgrade, which doesn&#8217;t appear anywhere near as professional.
After the manual upgrade, I had a problem with the appearance [...]]]></description>
			<content:encoded><![CDATA[<p>I had a couple of small problems upgrading to 2.7.1.</p>
<p>Firstly, I am using automatic upgrade (which is usually magic) and it encountered an error with a function being previously defined. So I had to do a manual upgrade, which doesn&#8217;t appear anywhere near as professional.</p>
<p>After the manual upgrade, I had a problem with the appearance of this blog. Looking at the output HTML I discovered an error was drawn into the class attribute of the body element. The function join was being called with the wrong parameters. After some googling and grep searches for information about which functions are part of the PHP and Wordpress APIs, it appears that the functionality of the Wordpress function attribute_escape or the hook  body_class doesn&#8217;t exist anymore.</p>
<p>To fix (though I imagine I&#8217;ll need to address this next time I upgrade) I edited function k2_body_class in k2/app/include/info.php so the attribute_join is called with the output of join as the argument, not vice versa as it was previously:</p>
<pre>   $c = attribute_escape( join( " ", apply_filters('body_class', $c) ) );</pre>
<p>Perhaps an upgrade of <a href="http://getk2.com">K2</a> is a better idea?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jameslittle.biz/2009/02/code/k2-wordpress-upgrade-to-271/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sun certified developer for the Java2 platform</title>
		<link>http://www.jameslittle.biz/2009/02/code/sun-certified-developer-for-the-java2-platform/</link>
		<comments>http://www.jameslittle.biz/2009/02/code/sun-certified-developer-for-the-java2-platform/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 03:57:50 +0000</pubDate>
		<dc:creator>James Little</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[certified]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.jameslittle.biz/?p=200</guid>
		<description><![CDATA[It appears I was reading the wrong points breakdown when I originally posted on this topic. Here is what it appears to be for my project:

General considerations: how easy is your code to maintain (100).
Documentation: instructions, javadoc tool and comments (70).
Object-oriented Design: Structure of classes and use of variables and methods (30).
User Interface: how well [...]]]></description>
			<content:encoded><![CDATA[<p>It appears I was reading the wrong points breakdown when I originally <a title="Java Developer Certification" href="http://www.jameslittle.biz/2008/12/code/sun-certified-java-developer-scjd/">posted on this topic</a>. Here is what it appears to be for my project:</p>
<ol>
<li>General considerations: how easy is your code to maintain (100).</li>
<li>Documentation: instructions, javadoc tool and comments (70).</li>
<li>Object-oriented Design: Structure of classes and use of variables and methods (30).</li>
<li>User Interface: how well does it match the specification and how easy is it to use (40).</li>
<li>Locking: how does your locking scheme adhere to the locking documentation (80).</li>
<li>Data class (40).</li>
<li>Server (40).</li>
</ol>
<p>The total is still 400 and you are required to score 320 points to pass. It is also a little concerning that unknown automatic failures will terminate the marking process and fail the assignment.</p>
<p>My project appears to work correctly, so now just tidying it up and making sure that I have got everything required to submit it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jameslittle.biz/2009/02/code/sun-certified-developer-for-the-java2-platform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sun Certified Java Developer (SCJD)</title>
		<link>http://www.jameslittle.biz/2008/12/code/sun-certified-java-developer-scjd/</link>
		<comments>http://www.jameslittle.biz/2008/12/code/sun-certified-java-developer-scjd/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 01:50:37 +0000</pubDate>
		<dc:creator>James Little</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[certified]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[javadoc]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.jameslittle.biz/?p=128</guid>
		<description><![CDATA[I&#8217;ve been very quiet recently; there have been a couple of reasons for this&#8230; one is that I have been wanting to slip some more certification under my belt. The others can wait for another post.

Sun Certified Java Developer (SCJD)
I am using Eclipse 3.4, with Java 1.6 to build my project application. I have enabled [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been very quiet recently; there have been a couple of reasons for this&#8230; one is that I have been wanting to slip some more certification under my belt. The others can wait for another post.</p>
<p><a title="No title(Cropped)——Test shot of Konica M-Hexanon 35mm F2 lens with leica M6" href="http://flickr.com/photos/74934646@N00/859544392"><img class="alignleft" src="http://farm2.static.flickr.com/1305/859544392_bc334e9a29_m.jpg" alt="" width="240" height="240" /></a></p>
<h3><a title="sun certified java developer" href="http://www.sun.com/training/certification/java/scjd.xml">Sun Certified Java Developer (SCJD)</a></h3>
<p>I am using <a title="Eclipse" href="http://www.eclipse.org/">Eclipse 3.4</a>, with Java 1.6 to build my project application. I have enabled most warnings in the Errors/Warnings and JavaDoc preferences. I am also using <a href="http://findbugs.sourceforge.net/">Find Bugs</a> and <a href="http://pmd.sourceforge.net/">PMD</a>. I&#8217;m hoping that these will help me produce some pretty clean code and documentation.</p>
<p>Though I am finding it time consuming going through and populating my JavaDocs. The &#8220;Product Description&#8221; is quite vague, but indicates around 3500 lines of code and somewhere between 20 hours and 40 hours is reasonable to complete the assignment. Unfortunately I haven&#8217;t been keeping a very accurate account of how much time I have spent on this project, but I would expect it is over 40 hours. An hour here, couple of hours there; as with most development projects, contiguous time would be more efficient.</p>
<p>It seems that only a limited set of functionality is required from the User Interface, viewing all records, search, update and delete. Based on that my application is good. The scoring criteria is more daunting:</p>
<ol>
<li>General considerations: how easy is your code to maintain (80)?</li>
<li>Documentation: instructions, javadoc tool and comments (50)?</li>
<li>OO Design: Structure of classes and use of variables and methods (50).</li>
<li>GUI: how well does it match the spec and how easy is it to use (70)?</li>
<li>Locking: how does your locking scheme adhere to the locking documentation (80)?</li>
<li>Language fluency: I don&#8217;t know how exactly this is measured, but it is worth (70).</li>
</ol>
<p>I must get 320 out of the possible 400. And I am trying to get it done before the end of the year.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jameslittle.biz/2008/12/code/sun-certified-java-developer-scjd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JSR-170</title>
		<link>http://www.jameslittle.biz/2008/10/code/jsr-170/</link>
		<comments>http://www.jameslittle.biz/2008/10/code/jsr-170/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 23:04:26 +0000</pubDate>
		<dc:creator>James Little</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[jackrabbit]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jsr-170]]></category>

		<guid isPermaLink="false">http://www.jameslittle.biz/?p=113</guid>
		<description><![CDATA[
Apache Jackrabbit is a document management system that implements the API requirements of JSR-170 and JSR-170 is:
A Content Repository for JavaTM technology API. Specifies a standard API to access content repositories in JavaTM 2 independently of implementation.
This is of interest as the standard that all Java oriented document management systems should adhere.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://jackrabbit.apache.org/"><img src="http://jackrabbit.apache.org/style/jlogo.gif" alt="Apache Jackrabbit" width="336" height="100" /></a></p>
<p>Apache Jackrabbit is a document management system that implements the API requirements of JSR-170 and <a href="http://jcp.org/en/jsr/detail?id=170">JSR-170</a> is:</p>
<blockquote><p>A Content Repository for JavaTM technology API. Specifies a standard API to access content repositories in JavaTM 2 independently of implementation.</p></blockquote>
<p>This is of interest as the standard that all Java oriented document management systems should adhere.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jameslittle.biz/2008/10/code/jsr-170/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code markup</title>
		<link>http://www.jameslittle.biz/2008/09/code/code-markup/</link>
		<comments>http://www.jameslittle.biz/2008/09/code/code-markup/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 03:05:51 +0000</pubDate>
		<dc:creator>James Little</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[markup]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[source code]]></category>

		<guid isPermaLink="false">http://jameslittle.biz/blog/?p=14</guid>
		<description><![CDATA[I may have found the code mark up utility I was looking for. It is called code markup and it is relatively simple to use. All you have to do is edit the lang attribute to the source code language and markup=&#8221;none&#8221; displays content exactly as written, no markup is rendered.
So let&#8217;s write some hello [...]]]></description>
			<content:encoded><![CDATA[<p>I may have found the code mark up utility I was looking for. It is called <a href="http://www.thunderguy.com/semicolon/wordpress/code-markup-wordpress-plugin/">code markup</a> and it is relatively <a href="http://wordpress.org/extend/plugins/code-markup/">simple to use</a>. All you have to do is edit the lang attribute to the source code language and markup=&#8221;none&#8221; displays content exactly as written, no markup is rendered.</p>
<p>So let&#8217;s write some hello world applications:</p>
<p>1. HelloWorld.java</p>
<pre><code lang="java">package hello.world;

/**
 * Class will say hello to world.
 * @author James Little
 */
public class HelloWorld {
	private static String welcome = "Hello ";
	public static void main(String [] args) {
		if(args.length &gt; 0)
			System.out.println(welcome + args[0]);
		else
			System.out.println(welcome + "World");
	}
}</code></pre>
<p>2. hello_world.php</p>
<pre><code lang="php">&lt;?php
/**
 * hello_world.php
 * Author: James
 */
class HelloWorld
{
	// Resolve the class type
	public $class = "HelloWorld";

	public function __construct($argv)
	{
		echo "{$i} hello world\n";
	}
}

new HelloWorld($argv[1]);
?&gt;</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jameslittle.biz/2008/09/code/code-markup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
