GRDDLing Metalink XML

There may be a nice deployment in the pipeline, I'd appreciate another
eyeball or two on things (- should also make a little extra tutorial
material somewhere).

Metalink is an XML format for describing sets of downloadable files,
primarily for use by download managers. It's got a significant amount
of adoption, see:
(If this gets GRDDL-enabled ok, it could make a good inclusion for the
press release).

Pre-GRDDL, danbri started discussion with them (specifically Anthony
Bryan) about expressing the data in RDF, and provided code to do a
translation/mapping. Which is great, but would only work where
deployed, and the metalink XML can be produced/hosted by anyone.
Anthony recently contacted me re. GRDDL, and I've just done some XSLT
for it, links below.

The namespace URI is that of their homepage, which currently just has
an HTML representation. Seems like there are two nice ways of
GRDDL-enabling the format: RDF through conneg, tweaking the homepage
HTML. I'd appreciate an eyeball check on these:

In .htaccess, same dir as the homepage:

AddType application/rdf+xml .rdf
RewriteEngine On
RewriteRule ^index.html$ index.rdf

in index.rdf :

 <rdf:Description rdf:about="">

Or in the HTML:

<head profile="">
<link rel="namespaceTransformation"
href="" />

Here's the latest XSLT, some mapping notes in the top of it:

There's a simple sample input/output (generated using metalink creator,
describing the XSLT):

A more complete sample output is at:



Received on Friday, 10 August 2007 11:03:21 UTC