grddl: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(added votelinks and clarification regarding HTML4)
(→‎Issues: unnecessarily limiting)
Line 29: Line 29:
** Surely parsers can convert valid HTML4.01 to XHTML, perhaps using HTML-Tidy, before parsing it?
** Surely parsers can convert valid HTML4.01 to XHTML, perhaps using HTML-Tidy, before parsing it?
*** The specification states that it is intended for XML and XHTML, but 'profile' is in the HTML4 specification. Parsers can implement Tidy or other conversion routines, but do not have to. --[[User:TomMorris|TomMorris]] 03:49, 13 Oct 2007 (PDT)
*** The specification states that it is intended for XML and XHTML, but 'profile' is in the HTML4 specification. Parsers can implement Tidy or other conversion routines, but do not have to. --[[User:TomMorris|TomMorris]] 03:49, 13 Oct 2007 (PDT)
**** Restricting GRDDL to XHTML would seem to be unnecessarily limiting. [[User:AndyMabbett|Andy Mabbett]] 04:00, 13 Oct 2007 (PDT)
** See [http://microformats.org/discuss/mail/microformats-discuss/2007-September/010788.html mailing list post, 2007-09-27]
** See [http://microformats.org/discuss/mail/microformats-discuss/2007-September/010788.html mailing list post, 2007-09-27]



Revision as of 11:00, 13 October 2007

GRDDL

This page is new - please help to populate it!


Introduction

GRDDL (pronounced "griddle") is a mechanism for Gleaning Resource Descriptions from Dialects of Languages. It is a technique for obtaining RDF data from XML documents and in particular XHTML pages. GRDDL transformations can be made for almost any dialect, including microformats.

Implementations

  • W3C GRDDL Service
  • Triplr - construct URL as http://triplr.org/rdf/example.com/page.htm

Profiles

Transformations

hCalendar
  • http://www.w3.org/2002/12/cal/glean-hcal.xsl
hCard
  • http://www.w3.org/2006/vcard/hcard2rdf.xsl
  • http://norman.walsh.name/2005/12/12/examples/hcard2rdf.xsl
vote-links
  • http://rdf.opiumfield.com/vote/votelinks.xsl

Issues

  • Is GRDDL in HTML 4.01 OK, or is it just for XHTML?
    • Surely parsers can convert valid HTML4.01 to XHTML, perhaps using HTML-Tidy, before parsing it?
      • The specification states that it is intended for XML and XHTML, but 'profile' is in the HTML4 specification. Parsers can implement Tidy or other conversion routines, but do not have to. --TomMorris 03:49, 13 Oct 2007 (PDT)
        • Restricting GRDDL to XHTML would seem to be unnecessarily limiting. Andy Mabbett 04:00, 13 Oct 2007 (PDT)
    • See mailing list post, 2007-09-27

References

Further reading

Criticisms

See also