<?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>non-random ramble &#187; web</title>
	<atom:link href="http://jimbarritt.com/non-random/category/code/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://jimbarritt.com/non-random</link>
	<description>adventures in code</description>
	<lastBuildDate>Tue, 03 Aug 2010 19:57:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Wolfram takes on google?</title>
		<link>http://jimbarritt.com/non-random/2009/05/20/wolfram-takes-on-google/</link>
		<comments>http://jimbarritt.com/non-random/2009/05/20/wolfram-takes-on-google/#comments</comments>
		<pubDate>Wed, 20 May 2009 14:50:27 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[thoughtblog]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/2009/05/20/wolfram-takes-on-google/</guid>
		<description><![CDATA[For those who haven&#8217;t seen it &#8230;. http://www76.wolframalpha.com/ Its an interesting experiment in structuring the information which is available out there. It doesn&#8217;t work by crawling the net, its a massive knowledge based system which has information input into it. It doesn&#8217;t always know what to do with your question but its quite good at [...]]]></description>
			<content:encoded><![CDATA[<p>For those who haven&#8217;t seen it &#8230;.</p>
<p><a href="http://www76.wolframalpha.com/">http://www76.wolframalpha.com/</a></p>
<p>Its an interesting experiment in structuring the information which is available out there. It doesn&#8217;t work by crawling the net, its a massive knowledge based system which has information input into it. </p>
<p>It doesn&#8217;t always know what to do with your question but its quite good at drawing pictures of equations.</p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2009/05/20/wolfram-takes-on-google/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RESTfull uri&#8217;s with Spring 2.5</title>
		<link>http://jimbarritt.com/non-random/2009/05/20/restfull-uris-with-spring-25/</link>
		<comments>http://jimbarritt.com/non-random/2009/05/20/restfull-uris-with-spring-25/#comments</comments>
		<pubDate>Wed, 20 May 2009 11:33:06 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[anecdotes]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/2009/05/20/restfull-uris-with-spring-25/</guid>
		<description><![CDATA[Spring 3 will introduce annotated URI mapping for restfull like uris. But you might not be able to install 2.5 for some reason. In this case, the following article might help: UrlRewriteFilter it describes the core project UrlRewriteFilter Project]]></description>
			<content:encoded><![CDATA[<p>Spring 3 will introduce annotated URI mapping for restfull like uris. But you might not be able to install 2.5 for some reason.</p>
<p>In this case, the following article might help:</p>
<p><a href="http://sziebert.net/posts/restful-urls-with-spring-mvc-and-urlrewritefilter/">UrlRewriteFilter</a></p>
<p>it describes the core project <a href="http://tuckey.org/urlrewrite/">UrlRewriteFilter Project</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2009/05/20/restfull-uris-with-spring-25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Tips and tricks&#8230;</title>
		<link>http://jimbarritt.com/non-random/2009/02/26/css-tips-and-tricks/</link>
		<comments>http://jimbarritt.com/non-random/2009/02/26/css-tips-and-tricks/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 13:54:28 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[thoughtblog]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/2009/02/26/css-tips-and-tricks/</guid>
		<description><![CDATA[I was just working with Tom on trying to get some CSS to work properly for a project he&#8217;s working on. The problem was divs flowing outside their parents. I was reminded of some pages I used to have up which demonstrate various div layout issues and show some fixes. I have now added them [...]]]></description>
			<content:encoded><![CDATA[<p>I was just working with Tom on trying to get some CSS to work properly for a project he&#8217;s working on. </p>
<p>The problem was divs flowing outside their parents. I was reminded of some pages I used to have up which demonstrate various div layout issues and show some fixes. I have now added them back into this site and they are <a href='http://jimbarritt.com/commercial/weblab/'>here</a>.</p>
<p>They key point for quite a few of the solutions there and hopefully for Toms&#8217; solution (except its not quite finished yet) was that sometimes if you have some floats knowing around, it can be useful to have another, empty div with a style set to <code>clear:both;</code> this forces the floating to stop and makes the parent div expand (or should do anyway).</p>
<p>Oh yeah, an important resource that helped me to solve these problems was <a href='http://meyerweb.com/'>Eric Meyer&#8217;s site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2009/02/26/css-tips-and-tricks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>URI not URL (it is deprecated)</title>
		<link>http://jimbarritt.com/non-random/2009/02/04/uri-not-url-it-is-deprecated/</link>
		<comments>http://jimbarritt.com/non-random/2009/02/04/uri-not-url-it-is-deprecated/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 13:17:40 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[http]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/2009/02/04/uri-not-url-it-is-deprecated/</guid>
		<description><![CDATA[I have been asked about this a few times, I had learned from Jim that it had been deprecated but thought it would be useful to provide the documentation to demonstrate it. This apache doc gives a good summary : http://labs.apache.org/webarch/uri/rfc/rfc3986.html#URLvsURN Which points you to : http://www.ietf.org/rfc/rfc3305.txt Basically URL is a subset of URI which [...]]]></description>
			<content:encoded><![CDATA[<p>I have been asked about this a few times, I had learned from <a href="http://jim.webber.name/">Jim</a> that it had been deprecated but thought it would be useful to provide the documentation to demonstrate it.</p>
<p>This apache doc gives a good summary :<br />
<a href='http://labs.apache.org/webarch/uri/rfc/rfc3986.html#URLvsURN'>http://labs.apache.org/webarch/uri/rfc/rfc3986.html#URLvsURN</a></p>
<p>Which points you to :<br />
<a href='http://www.ietf.org/rfc/rfc3305.txt'>http://www.ietf.org/rfc/rfc3305.txt</a></p>
<p>Basically URL is a subset of URI which<br />
<blockquote>&#8230; in addition to identifying a resource, provide a means of locating the resource by describing its primary access mechanism (e.g., its network &#8220;location&#8221;)</p></blockquote>
<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2009/02/04/uri-not-url-it-is-deprecated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple image sizing&#8230;</title>
		<link>http://jimbarritt.com/non-random/2008/09/03/multiple-image-sizing/</link>
		<comments>http://jimbarritt.com/non-random/2008/09/03/multiple-image-sizing/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 22:49:07 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/2008/09/03/multiple-image-sizing/</guid>
		<description><![CDATA[You would have thought this was the easiest thing in the world! anyway after 1.5 hours trying various offerings i finally found this: RapidoResizer Which does exactly what you want. Simply drag a load of images on it and then resize them!!!! It does however seem to reduce the quality a little, think i should [...]]]></description>
			<content:encoded><![CDATA[<p>You would have thought this was the easiest thing in the world!</p>
<p>anyway after 1.5 hours trying various offerings i finally found this: </p>
<p><a href='http://www.apple.com/downloads/macosx/imaging_3d/rapidoresizer.html'>RapidoResizer</a></p>
<p>Which does exactly what you want. Simply drag a load of images on it and then resize them!!!!</p>
<p>It does however seem to reduce the quality a little, think i should have started out with png files rather than gifs.</p>
<p>Anyway i now have a way to put an entire presentation including effects on the web. </p>
<p>Simply view it and press COMMAND + SHIFT + 3 and OS X will save a picture to the desktop. Have to give it chance to catch up between shots.</p>
<p>Then can resize them with the above software and then rename them all &#8211; need a script for this but am to tired of software nonsense for one night!</p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2008/09/03/multiple-image-sizing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Feeds from my blog</title>
		<link>http://jimbarritt.com/non-random/2008/08/20/feeds-from-my-blog/</link>
		<comments>http://jimbarritt.com/non-random/2008/08/20/feeds-from-my-blog/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 23:58:46 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[meta]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/2008/08/20/feeds-from-my-blog/</guid>
		<description><![CDATA[Have been waiting for the launch of our new exciting blogs on the guardian site, e.g. Science Blog and in the meantime working on this, my blog. I want to be able to feed some of my posts to the thoughtworks blogspace, blogs.thoughtworks.com and have discovered that wordpress ROCKS at this. you simply put the [...]]]></description>
			<content:encoded><![CDATA[<p>Have been waiting for the launch of our new exciting blogs on the guardian site, e.g. <a href='www.guardian.co.uk/science/blog'>Science Blog</a> and in the meantime working on this, my blog. I want to be able to feed some of my posts to the thoughtworks blogspace, <a href='blogs.thoughtworks.com'>blogs.thoughtworks.com</a> and have discovered that wordpress ROCKS at this. you simply put the category name and /feeds at the end, e.g. : <a href='feed://jimbarritt.com/non-random/category/agile/feed'>feed://jimbarritt.com/non-random/category/agile/feed</a> sweet as!</p>
<p>So I will create a new category called thoughtblog and then just assign this to each post i want to include!</p>
<p>nice.</p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2008/08/20/feeds-from-my-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Templates And Model View Separation</title>
		<link>http://jimbarritt.com/non-random/2008/06/30/templates-and-model-view-separation/</link>
		<comments>http://jimbarritt.com/non-random/2008/06/30/templates-and-model-view-separation/#comments</comments>
		<pubDate>Sun, 29 Jun 2008 21:27:50 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[thoughtblog]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/2008/06/30/templates-and-model-view-separation/</guid>
		<description><![CDATA[We have been using velocity heavily. This could be interesting&#8230; http://www.cs.usfca.edu/~parrt/papers/mvc.templates.pdf]]></description>
			<content:encoded><![CDATA[<p>We have been using velocity heavily.</p>
<p>This could be interesting&#8230; </p>
<p><a href="http://www.cs.usfca.edu/~parrt/papers/mvc.templates.pdf">http://www.cs.usfca.edu/~parrt/papers/mvc.templates.pdf</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2008/06/30/templates-and-model-view-separation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update to the site&#8230;</title>
		<link>http://jimbarritt.com/non-random/2008/04/28/update-to-the-site/</link>
		<comments>http://jimbarritt.com/non-random/2008/04/28/update-to-the-site/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 00:12:55 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/2008/04/28/update-to-the-site/</guid>
		<description><![CDATA[I&#8217;ve been playing with media wiki all weekend and now have it behaving pretty well. You can click the links in the header of this page and it will seamlessly go to the mind web! which is also of course here Now all I have to do is work out how to convert LaTeX to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing with media wiki all weekend and now have it behaving pretty well.</p>
<p>You can click the links in the header of this page and it will seamlessly go to the mind web! </p>
<p>which is also of course <a href="http://jimbarritt.com/mind-web/">here</a></p>
<p>Now all I have to do is work out how to convert LaTeX to HTML properly and i can start putting some articles up here. </p>
<p>The other option of course would just be to make a nice CSS stylesheet for an xml format and write everything using that. I can simply print to a pdf then. </p>
<p>wait a minute! google docs somehow manages to show stuff as html &#8230;.</p>
<p>so you can just send yourself a pdf and then view as html and save the result!</p>
<p>it doesnt do pictures though unfortunately, but it wouldn be all that hard to put them back in for short articles&#8230;.</p>
<p>So I also updated the pictures part &#8211; customising the gallery application which now looks cool to! </p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2008/04/28/update-to-the-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript Javascript JavaScript JavaSCRIPT!!</title>
		<link>http://jimbarritt.com/non-random/2008/04/17/javascript-javascript-javascript-javascript-2/</link>
		<comments>http://jimbarritt.com/non-random/2008/04/17/javascript-javascript-javascript-javascript-2/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 19:45:52 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/2008/04/17/javascript-javascript-javascript-javascript-2/</guid>
		<description><![CDATA[Just been shown how to do the old hiding and showing trick with javascript so that when javascript is turned off the thing shows by default. simple trick &#8211; have a stylesheet that is itself loaded by javascript in the on load method of the dom. Then you can override a class which has say [...]]]></description>
			<content:encoded><![CDATA[<p>Just been shown how to do the old hiding and showing trick with javascript so that when javascript is turned off the thing shows by default.</p>
<p>simple trick &#8211; have a stylesheet that is itself loaded by javascript in the on load method of the dom.</p>
<p>Then you can override a class which has say &#8220;display:block&#8221; in a base css file with &#8220;display:none&#8221; in the JS loaded one.</p>
<p>After that you simply do the normal toggling.</p>
<p>A nice adaptation is to change a class name you use :</p>
<pre name='code' class='javascript'>
    if (className.indexOf('js-hider') > -1) {
        document.getElementById('element-to-hide').className = className.replace('js-hider', 'js-shower');
        console.log(document.getElementById('element-to-hide').className);
        theLink.innerHTML="Hide thing";
    } else {
        document.getElementById('element-to-hide').className = className.replace('js-shower', 'js-hider');
        theLink.innerHTML = 'Show thing';
    }
</pre>
]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2008/04/17/javascript-javascript-javascript-javascript-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The semantic web</title>
		<link>http://jimbarritt.com/non-random/2008/03/02/the-semantic-web/</link>
		<comments>http://jimbarritt.com/non-random/2008/03/02/the-semantic-web/#comments</comments>
		<pubDate>Sun, 02 Mar 2008 12:30:12 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/2008/03/02/the-semantic-web/</guid>
		<description><![CDATA[Was trying to describe the semantic web and discovered OWL web ontology language which sounds interesting. http://en.wikipedia.org/wiki/Web_Ontology_Language]]></description>
			<content:encoded><![CDATA[<p>Was trying to describe the semantic web and discovered OWL web ontology language which sounds interesting.</p>
<p><a href='http://en.wikipedia.org/wiki/Web_Ontology_Language'>http://en.wikipedia.org/wiki/Web_Ontology_Language</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2008/03/02/the-semantic-web/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
