Archive for 2003

Update: Screenscraping HTML with TagSoup and XPath

December 28th, 2003  |  Published in java

UPDATE: Oliver Roup has published updated code that uses the builtin XPath processor in JDK 1.5

Some emails and comments on Screenscraping HTML with TagSoup and XPath alerted me to the fact that the example I gave on that page has gone out of sync with the current release of JDOM and no longer works. I’ve reworked the example using Xalan 2.5.

Read the rest of this entry »

Dumping Geo RDF from Garmin GPS units

September 21st, 2003  |  Published in python, rdf

Having connected my GPS unit to my laptop, it was time to dump the data off into a usable RDF model.

Read the rest of this entry »

The PL2303 serial-USB adapter and Linux

September 21st, 2003  |  Published in hardware, linux

A short note to fill in for something I couldn’t find via google on getting a PL2303-based serial-USB adapter to work with linux…

Read the rest of this entry »

XML TV Listings in RDF

September 7th, 2003  |  Published in bots, python, xml

In preparation for a TiVoBot that I’m planning to write as a wrapper for scheduling digital WinTV recordings, I’ve been looking at TV listings data produced by tools from the XMLTV project. I started out using the XML directly and storing it using Berkeley DB XML but soon found (like most of my projects) that I’d be happier if the data was expressed as an RDF model.

Read the rest of this entry »

Ericsson Bluetooth phone as remote control

August 3rd, 2003  |  Published in hardware, python

After seeing Richard Clamp’s excellent talk at a techmeet on using Ericsson phones as remote controls I went away to code something similar (but less fully-functioned) in python for my own use. My code plugs into the Twisted framework and listens for phone keypress events. It uses the AT commands defined in an Ericsson PDF for the R320 phone, and it works with my T610.

Read the rest of this entry »

The Chumpologica – an RSS feed combiner

June 30th, 2003  |  Published in foaf, python, rss

Today we relaunched The Daily Chump, a multi-author IRC-based blog, with a shiny new look and a new feature: the chumpologica. This is a webpage (and RSS 1.0 feed) that aggregates entries from blogs written by regular contributors to the Chump. It’s built using about 150 lines of python and takes its configuration from a FOAF file.

Update: I’ve now packaged and released this project as a proper distribution.

Read the rest of this entry »

Using OpenOffice Draw to author RDF

June 16th, 2003  |  Published in python, rdf, xml

OpenOffice’s vector-drawing app has a very nice Visio-like ‘connector’ tool that can link objects together with lines. It’s very easy to put together labelled directed graph diagrams and have the lines re-flow as you move the nodes around. It also has a well-documented XML file format, which got me thinking that graph drawings could be converted into RDF automatically. I wrote some python code to read in OO files and print out n-triples.

Read the rest of this entry »

www2003 developers day talk

June 9th, 2003  |  Published in photos, rdf, rss, talks, wordnet

I gave a developer-oriented version of my semantic web “photos and metadata” talk at www2003 developers day. The slides are available online and there are a bunch of demos to look at.

Read the rest of this entry »

www2003 day 2

May 23rd, 2003  |  Published in events

After such an intense day of note taking and a very entertaining evening bowling with the guys from ILRT on day 1, I didn’t manage to take proper notes on yesterday’s sessions. I’ll try to fill in some detail during today.

Read the rest of this entry »

www2003 day 1

May 21st, 2003  |  Published in events

I’m at www2003 in Budapest, Hungary for the rest of the week. I’m not much of a note-taker but I’ll probably jot a few things down here. Good wireless coverage in the conference venue. See also day 2.

Read the rest of this entry »