Re: RDFa vs RDF/XML and content negotiation

On Tue, 2009-06-23 at 13:09 +0200, wrote:

> For any non-trivial amount of data, then we will need a templating
> engine of some sort for either approach.

For my railway data <> I publish static XHTML
+RDFa files (all but two of which are generated by script) and use a
combination of Apache .htaccess files and small PHP scripts to
dynamically generate other formats (JSON, RDF/XML, N-Triples, Turtle) on

e.g.: (conneg'd 303 redirect) (static XHTML) (dynamic Turtle) (JS)

This approach seems to have worked pretty well for a reasonably large
data set (nearly 7000 XHTML+RDFa pages) and I'd certainly consider using
it again.

I'll try to clean up the scripts, etc involved and share them for others
who wish to use this technique.

Toby A Inkster

Received on Tuesday, 23 June 2009 12:10:29 UTC