[uf-discuss] Re: [uf-new] Mapping Microformats to RDFa

Tom Morris tom at tommorris.org
Sat Oct 13 02:36:26 PDT 2007


On 10/12/07, Manu Sporny <msporny at digitalbazaar.com> wrote:
> Great! Where are they? Are the transformations only available as XSL
> stylesheets? If so, they're not very useful as a quick-reference for
> publishers... are they?
>

Brian is referring to the RDFa folks rewriting microformats in RDFa, which
seems like a non-optimal route to take - it's much better to publish
microformats in the microformat syntax, and then use the profile attribute to
point GRDDL processors in the right direction. Publishing microformats as
RDFa seems like a terrific way to ensure that only RDFa tools can read them.
Follow current practice and all that... ;)

> The hcard2rdf.xsl is licensed under CC-non-commercial, which makes it
> useless to any company wanting to implement this stuff in their products.
>

I'm not sure why it would be a problem. You can implement a commercial GRDDL
processor that pulls in transformation stylesheets from any number of sources.
The licensing issues would be irrelevant. Just as you don't have to get a
license to go to a webpage, you don't need a license to load a GRDDL
stylesheet off the web and run it.

That said, it may be an idea for GRDDL stylesheets to be released with the
least restrictive licenses one can - like a LGPL type license.

> hreview2rdfxml.xsl is a 404.
>

The link is just broken. The actual XSLT is:
http://dannyayers.com/xslt/hreview2rdfxml.xsl

> There are no mappings for hCalendar, hAtom, or hResume, etc... what am I
> missing? Apologies - I'm not that familiar with GRDDL tools that are
> available... do you have some good links to GRDDL tools?
>

http://triplr.org is a nice example of a GRDDL tool - and the W3C maintain a
reference implementation at http://www.w3.org/2007/08/grddl/

The W3C also publish glean.py, a GRDDL implementation in Python:
http://www.w3.org/2003/g/glean.py

As for stylesheets for other microformats, I'm sure that people will get
around to writing them. I had a bash at vote-links recently:
http://tommorris.org/profiles/votelinks
If you use vote-links on any of your pages, feel free to add this URL to the
profile attribute of the page to make your vote-links available in RDF space.

I'll have a crack at writing some more microformat GRDDL stylesheets,
specifically focused on elemental microformats. hResume, for instance, looks
like a nice challenge.

What would help would be if microformats.org could give some URI-space to hold
some official profile URIs, like:

http://profiles.microformats.org/ (for all)
http://profiles.microformats.org/hcard
http://profiles.microformats.org/hcalendar
http://profiles.microformats.org/xfn
etc.

These would just be simple pages written in valid XHTML 1.0, containing a link
in the head to the relevant transformation and a link in the body to the
relevant specification page on the wiki.

-- 
Tom Morris
http://tommorris.org/


More information about the microformats-discuss mailing list