GRDDL is a technique for gleaning resource descriptions from dialects of languages. It's a way of extracting Semantic Web data in RDF from XML formats (especially XHTML dialects or microformats) via transformations identified by URIs and typically expressed in XSLT. For full details, see the GRDDL specification.
Note: The GRDDL specification is a W3C Recommendation. W3C welcomes comments by email, especially comments that reflect implementation experience.
To use GRDDL:
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://purl.org/stuff/hdoap/profile">
<title>My Project</title>
</head>
...
</html>
<html xmlns="http://www.w3.org/1999/xhtml"> <head profile="http://www.w3.org/2003/g/data-view"> <title>Some Document</title> <link rel="transformation" href="http://www.w3.org/2000/06/dc-extract/dc-extract.xsl" /> <meta name="DC.Subject" content="ADAM; Simple Search; Index+; prototype" /> ... </head> ... </html>
<html xmlns="http://www.w3.org/1999/xhtml"> <head profile="http://www.w3.org/2003/g/data-view"> <title>Some Document</title> ...
The GRDDL primer gives a number of examples in detail. Also, a home page for Joe Lambda shows DC, geoURL, RSS as above plus markup for FOAF (using grokFOAF.xsl) and Creative Commons Licenses (using grokCC.xsl) that you can probably figure out if you view source.
A: The CustomRdfDialects wiki topic provides an informal directory of existing conventions.
If you just want to use GRDDL, that's all you need to know. If you're curious to learn more, read on...
This document, http://www.w3.org/2003/g/data-view, is a metadata profile in the sense of the HTML specification, in section 7.4.4.3 Meta data profiles.
The following term is introduced here as an XHTML link relationship name and RDF property name:
The following terms are introduced here as RDF properties:
The following terms are bound to concepts from existing standards:
We provide a sample GRDDL/XHTML implementation, and a more complete sample GRDDL implementation and a technical specification, Gleaning Resource Descriptions from Dialects of Languages (GRDDL), as a specification.
This document uses Embedded RDF to encode Description of a Project (DOAP) data as well as RDF Schema data and one or two RDDL properties. We have moved away from the RDDL syntax itself.
This document was inspired by the XFN getting started page. Previous versions used XMDP (with grokXMDP.xsl), but in documenting domains and ranges of properties, maintaining the XMDP convention of ids on the dt rather than the dd element were too awkward to maintain.