- From: Sean B. Palmer <sean@miscoranda.com>
- Date: Sun, 4 Nov 2007 10:31:52 +0000
- To: semantic-web@w3.org
HTML wasn't really meant for writing RDF, and it's easy to get sick of yet another @class-based microformat. For that reason I've made hTurtle, which lets you embed Turtle in HTML comments. http://inamidst.com/sw/hturtle/ - The hTurtle Microformat A quick example from the page itself: <head profile="http://www.w3.org/2003/g/data-view"> <link rel="transformation" href="inamidst.com/sw/hturtle/" /> [...] <h1>The hTurtle Microformat</h1> <!--{ <> dc:title "The hTurtle Microformat" . }--> Note that the link/@href is indeed a relative URI, to a service which converts an hTurtle document using a CGI into an XSLT stylesheet that transforms the hTurtle into RDF/XML. "But wait!", you say. "Does this mean that you had to implement a Turtle parser in XSLT?". Of course not. The CGI does the heavy lifting, being, as Chimezie Ogbuji put it, a "transformation-generating service that's the function of the GRDDL source document". Put an hTurtle document's URI in, and get the appropriate GRDDL XSLT 1.0 transform out. It's a way of bootstrapping non-XSLT conversion services into the XSLT-only GRDDL circle of love. Anyway, the documentation and source code explains this quite thoroughly. Have at, and enjoy! (P.S. If there's anywhere else that's appropriate to announce this to, please feel free to either forward this message on or let me know so that I can do it myself.) -- Sean B. Palmer, http://inamidst.com/sbp/
Received on Sunday, 4 November 2007 10:33:13 UTC