This page describes how to publish GoodRelations data on the Web.
First, insert the additional mark-up into your XHTML/HTML Web page. There are two basic styles of RDFa usage, i.e.
The first minimizes redundancy of data and is more suited for simple data structures on static Web pages, because updating the visible part will automatically update the rich meta-data. The downside of this approach is that the mark-up gets quickly unreadable if the data structures and the presentation diverge, which is very common.
The second approach avoids those limitations. For dynamic Web pages, i.e. when inserting RDFa at the template level, there are no real disadvantages. For static Web pages, a slight disadvantage is that in case of changes, you must update data at two locations, but still within the same file.
We provide a tool called RDF2RDFa that can turn any RDF/XML file into handy RDFa snippets for simple copy-and-paste.
For background information, please see: Hepp, Martin; García, Roberto; Radinger, Andreas:RDF2RDFa: Turning RDF into Snippets for Copy-and-Paste, in: Poster and Demo Proceedings of the 8th International Semantic Web Conference (ISWC 2009), Washington, DC, USA, October 25-29, 2009.
As a minimal solution, add a "xmlns" attribute with the value "http://www.w3.org/1999/xhtml" and a "version" attribute with the value "HTML+RDFa 1.0" to the
element of your document:
This is enough for basic access to your rich meta-data.
Your data is, however, much more visible and useful if your page is compliant with the XHTML 1.0 strict specification. If you meet that requirement, you should instead update the page header as follows:
1. Change the DOCTYPE in the header to "XHTML+RDFa"
2. Add a "xmlns" attribute with the value "http://www.w3.org/1999/xhtml" and a "version" attribute with the value "XHTML+RDFa 1.0" to the
element of your document:
3. Check that the
element includes the proper content type and encoding for HTML:
Your page title blabla...
For more information on this, see http://www.ebusiness-unibw.org/wiki/GoodRelationsAnnotator.
Now, notify the key Web of Linked Data crawlers to load and use your data. To do so, simply paste the URI of the page that contains the snippet (likely http://example.org/) into the respective fields of the following submission pages:
* a) Sindice:
http://sindice.com/main/submit
* b) Yahoo SearchMonkey:
http://siteexplorer.search.yahoo.com/submit
(this requires free registration with Yahoo)
Also, you should tell the URIBurner service of your new data. To do so, simply enter the following URI into your browser once you have published your updated page:
*
http://linkeddata.uriburner.com/about/html/
Example: If your augmented Web page is at http://www.mmmeeja.com/, then invoke the following URI:
*
http://linkeddata.uriburner.com/about/html/http://www.mmmeeja.com/
``
...
#Directive to ensure *.rdf files served as appropriate content type,
AddType application/rdf+xml .rdf
This document will be extended. In the meantime, we recommend the following document:
Cool URIs for the Semantic Web, W3C Interest Group Note 03 December 2008
<http://www.w3.org/TR/cooluris/>