Here’s my first new podcast. It’s a kind of waffly monologue about the SemWeb and RDF space. I’d say it’s pretty good for my first proper podcast.
Some links are necessary, no?

Standard Podcast:
Download
# 5 Comments »
I’d like eventually to have a simple way of getting data from all the UK universities admissions departments. Considering that I’m not particularly bothered about getting any more degrees, I’m not totally sure why. But it certainly would be useful.
So, here are some XPaths for one college - namely, UCL.
First up, the undergraduate page:
Course Titles: //tr[count (td) = 5]/td[1]/a
Course Type: //tr[count (td) = 5]/td[3]
Course Code: //tr[count (td) = 5]/td[5]
Secondly, postgraduate admissions:
Courses: //tr[count (td) = 3 and @height = '12' and td/@height != "25"]
Links: //tr[count (td) = 3 and @height = '12' and td/@height != "25"]/td[1]/a
Qualification: //tr[count (td) = 3 and @height = '12' and td/@height != "25"]/td[3]
Now, universities. Get your act together and make all this information available in an open XML format and stop me having to write these blog entries!
# Comments Off
Want to get data out of MySpace? Here are the XPath strings you need to extract data from a MySpace profile:
Top friends:
//table[4]/tr/td/table/tr/td/table/tr/td/table/tr/td/a/img/../@href
Name: //*[@class='nametext']
Status: //*[@id='ProfileStatus:']
Religion: //*[@id='ProfileReligion:']
Zodiac Sign: //*[@id='ProfileZodiac Sign:']
Smoke / Drink: //*[@id='ProfileSmoke / Drink:']
Children: //*[@id='ProfileChildren:']
Education: //*[@id='ProfileEducation:']
Number of friends: //*[@class='redbtext']
Schools: //a[contains (@href, "InterestType=SCH&")
And if you want to get the friends from your friends page:
//a/img/../@href
The problem with this is that MySpace uses a paging mechanism written in JavaScript (just to switch the pages - it doesn’t do anything funky or AJAXy to get the data down and switch it dynamically - it’s just bloat basically) - it is probably easy enough to skip around, but I haven’t spent the time to look under the JavaScript hood since the crazy HTML was enough for me!
When running XPath queries over MySpace, it’s probably a good idea to set your parser on the most ultra-liberal mode you can find, because MySpace is probably the most expensive pile of non-validating crap around.
# Comments Off
Alan Yentob asked “why is YouTube important?”Here’s what I think.
# Comments Off
With all the hype now arriving about the Zune and how the iPod is dying because hipsters don’t want to be associated with a product their parents now use or white-earphone-phobia, here’s exactly why I use the iPod. Until someone replicates this functionality, they’re not even in the running.
# Comments Off
Following Dave’s lead with his Blackberry video, I thought I’d do a little demo of some of the things I do with my Palm TX. It’s shot on the crappy little camera on my Mac, so I apologise if it looks a bit ropey. I hope I got my message across though.
# Comments Off