In the beginning, there was the HTML meta element. Then came PICS, which could be carried inside meta elements. Then came RDF, in some ways a generalization of PICS, written in XML, and XHTML, also written in XML. Whence comes the question...
How do I put RDF in my HTML document?
- appendix B of the 1999 RDF spec suggests sticking RDF in the head of an HTML document, but the result doesn't conform to the XHTML specs. (more in Part I of RDF in HTML: Approaches)
- The initial CreativeCommons deployment involves putting RDF inside comments inside HTML. Blech!
- stick the RDF/XML in the XHTML document, and build a modular DTD (details in Part II of RDF in HTML: Approaches)
- make a separate RDF file and link to it
- AnswerMe. each of these ideas seems to fall short in some way that's critical to some constituency.
What sort of RDF metadata do folks want to put in their HTML documents, anyway?
- bibliographic metdata; e.g. DublinCore (see also: DC extraction service
- rights metdata; e.g. CreativeCommons
- geographic info: discussion of geourl, HTML meta, and RDF
- news; e.g. site summaries
- all kinds of RDF that people develop, but can only put onto their geocities or semi-controlled HTML web pages
references, newest first:
- public-rdf-in-xhtml-tf started May 21 2003
- RDF in XHTML tasks approaches from Joseph Reagle
- paper on revising of RDF/XML by Dave Beckett including known problems, requirements for new syntaxes, analysis of existing work.
- XHTML Metainformation Module in XHTML2 WD draft.
- RDF and HTML session in the March 2003 Semantic Web Architecture meeting in Cambridge
- RDF/XML with HTML and XHTML in the RDF Syntax WD (January 2003)
- RDF in HTML: Approaches, May 2002 by Sean B.
- A strawman Unstriped syntax for RDF in XML esp section "RDF in HTML - Transparent or not?", Jun 1999 by TimBL
- appendix B to 1999 RDF spec
evidence that this is a real FAQ: discussion 12May although that question was where was the justification. Answer: in the RDF Model and Syntax spec appendix B.