« Blogging iTunes playlists - RSS feeds | Main | What Do Application Profiles Reveal about the Learning Object Metadata Standard? »

November 01, 2004

Extracting DC and FOAF metadata from the MT table structure

I've just spent the day trying to extract some decent metadata for my blogs from the vanilla MT v3.121 database tables. There's enough information there for a quite a rich Dublin Core description of the blog itself plus a very basic FOAF entry. I've augmented the FOAF entry with a very very hacky new table.

This gives an RDF description of the site with dc:creator tied to the FOAF node to produce a correct graph.

To get the raw RDF see:

<http://minnesota.ncl.ac.uk/mt_metadata.rdf.php?blog_url=http://minnesota.ncl.ac.uk/fuzzybuckets/>

Note that you pass the blog URL to the PHP script as the argument.

To render this up as HTML I then run this through an XSL stylesheet to give this:

<http://minnesota.ncl.ac.uk/render_mt_metadata.php?blog_url=http://minnesota.ncl.ac.uk/fuzzybuckets/>

Tags: Blogging , Dublin Core , FOAF

Posted by pj at November 1, 2004 05:09 PM