<?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>marramgrass &#187; Software</title>
	<atom:link href="http://www.marramgrass.org.uk/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.marramgrass.org.uk</link>
	<description>unexpected, and a little spiky</description>
	<lastBuildDate>Mon, 23 Aug 2010 21:29:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>HTML Meets XPath</title>
		<link>http://www.marramgrass.org.uk/2010/01/25/html-meets-xpath/</link>
		<comments>http://www.marramgrass.org.uk/2010/01/25/html-meets-xpath/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 12:10:27 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Unexpectedly Spiky]]></category>

		<guid isPermaLink="false">http://www.marramgrass.org.uk/?p=958</guid>
		<description><![CDATA[Dang. There was a blog post I was going to write for today, but haven&#8217;t. There was another one I could have written, but this isn&#8217;t it, either. Instead, there&#8217;s this fairly unplanned one. I&#8217;m working on a few different projects at the moment, and for one of them I went looking for a particular [...]]]></description>
			<content:encoded><![CDATA[<p>Dang. There was a blog post I was going to write for today, but haven&#8217;t. There was another one I could have written, but this isn&#8217;t it, either. Instead, there&#8217;s this fairly unplanned one.</p>
<p>I&#8217;m working on a few different projects at the moment, and for one of them I went looking for a particular tool and couldn&#8217;t find it. So I wrote it.</p>
<p>Today introduces a little Mac desktop application called <b>HTML Meets XPath</b>. (Snappy, I know.)</p>
<p><img class="noborder" src="http://www.marramgrass.org.uk/images/HMXP1screenshot.jpg" /></p>
<p>The idea is simple. There are a number of ways to extract data from a web page. Most are a pain, some are slightly less so. One way is to use XPath to query the elements of the page, treating it like you would a tree of XML nodes. HTML Meets XPath accepts some HTML, either by looking up a URL or a local file, and lets you input an XPath query to run against the page. It then displays the results.</p>
<p>That&#8217;s it.</p>
<p>Possibly handy if you&#8217;re trying to pin down which query to use on a given page, maybe even useful if you&#8217;re just learning how to use XPath at all.</p>
<p>A few things to note:</p>
<ul>
<li>HTML Meets XPath is written by me, Mark Goody. It&#8217;s published by and copyright Unexpectedly Spiky Ltd, all rights reserved. (Yes, it&#8217;s the first public act of Unexpectedly Spiky Ltd. More on that to come.)</li>
<li>However, it&#8217;s a free download, at least for version 1.x. If it develops into an all-singing, all-dancing 2.0, that may change. But that&#8217;s unlikely.</li>
<li>Please don&#8217;t republish the files elsewhere. If you want to spread the word, that&#8217;s cool, but please do it by pointing people here.</li>
<li>HTML Meets XPath is presented with no warranties or guarantees of any kind. It&#8217;s very rough, and not just about the edges. I plan to refine it quite rapidly (next job is to make the output a bit more readable), but be aware that this is an early 1.0. It shouldn&#8217;t do anything horrible to your computer, but if it does then I accept no responsibility. If you&#8217;re not happy with that, don&#8217;t download it.</li>
<li>I&#8217;ve only tested the software on Mac OS X 10.6.2. It may work on 10.5, but I haven&#8217;t tried it, so let&#8217;s just say it requires 10.6.</li>
</ul>
<p>If you want to give it a go, please <a href="http://www.marramgrass.org.uk/downloads/htmlmeetsxpath/html-meets-xpath.zip" onClick="javascript:urchinTracker ('html-meets-xpath.zip'); ">download the .zip (582 KB)</a>, unarchive it and drag the app to wherever you want it to live.</p>
<p>All feedback (good and bad) is welcome. Comment here, or drop me an <a href="http://www.marramgrass.org.uk/about/">email</a>. Cheers.</p>
<p><i>UPDATE: Version 1.0.2 is now uploaded &mdash; run &#8220;Check for Updates&#8230;&#8221; from the application menu to get it. The interface now survives resizing the window! The devil&#8217;s in the detail, folks&#8230;</i></p>
]]></content:encoded>
			<wfw:commentRss>http://www.marramgrass.org.uk/2010/01/25/html-meets-xpath/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.358 seconds -->
