W3C home > Mailing lists > Public > public-lod@w3.org > December 2009

quick advice on content negotiation

From: Nathan <nathan@webr3.org>
Date: Tue, 08 Dec 2009 16:43:21 +0000
Message-ID: <4B1E8229.8070103@webr3.org>
To: "kidehen@openlinksw.com" <kidehen@openlinksw.com>
CC: pedantic-web@googlegroups.com, Linked Data community <public-lod@w3.org>
Hi,

Just need a quick bit of advice on whether the following is suitable for
exposing linked data.

I've implemented content negotiation as follows:
where we have a URI resource http://example.org/user/23
when that URI is requested then content negotiation using the Accept
header kicks in, if any of the RDF formats are specified and data exists
then serialized RDF in the requested format is returned;

if one of the HTML types is requested then an HTML document (essentially
the "page" is returned.

in addition adding the extension .n3 / .rdf to the uri causes content
RDF to be returned instead.

passable and usable?

regards;

nathan
Received on Tuesday, 8 December 2009 16:44:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 December 2009 16:44:24 GMT