#248: Implement Content-Type negotiation for RDF output (aka Nicer URIs) -------------------------+-------------------------------------------------- Reporter: earle | Owner: Nobody Type: enhancement | Status: new Priority: low | Milestone: Component: openguides | Version: svn Severity: normal | Keywords: -------------------------+-------------------------------------------------- Context: [http://norman.walsh.name/2005/06/19/httpRange-14 Norman Walsh explains "httpRange-14"]
If a URI is requested of us, we should negotiate with the client application using whatever Accept: header it offers. Example:
Request URI: http://openguides.example.org/Somewhere
If the client requests Text/HTML (ie, a human using a browser), we should 303 (See Other) redirect to http://openguides.example.org/page/Somewhere
If the client requests Application/RDF+XML, we should 303 (See Other) redirect to http://openguides.example.org/rdf/Somewhere
The RDF output's rdf:about value will need to have the URI inserted thus:
{{{ <rdf:Description rdf:about="http://openguides.example.org/Somewhere%22%3E <!-- everything else here --> </rdf:Description> }}}
#248: Implement Content-Type negotiation for RDF output (aka Nicer URIs) -------------------------+-------------------------------------------------- Reporter: earle | Owner: Nobody Type: enhancement | Status: new Priority: low | Milestone: Component: openguides | Version: svn Severity: normal | Resolution: Keywords: | -------------------------+-------------------------------------------------- Comment (by earle):
The final code snippet in the ticket is incorrect. It should read: {{{ <rdf:Description rdf:about="http://openguides.example.org/rdf/Somewhere%22%3E <!-- everything else here --> </rdf:Description> }}}
I also forgot to mention that this will also finally dispense with the awkward "#obj" notation that I was forced to invent for the original design of the RDF output.
The second half of the RDF output for a typical page, which currently looks like: {{{ <geo:SpatialThing rdf:ID="obj"> }}}
will become: {{{ <geo:SpatialThing rdf:about="http://openguides.example.org/Somewhere%22%3E }}}
#248: Implement Content-Type negotiation for RDF output (aka Nicer URIs) -------------------------+-------------------------------------------------- Reporter: earle | Owner: Nobody Type: enhancement | Status: new Priority: low | Milestone: Component: openguides | Version: svn Severity: normal | Keywords: -------------------------+--------------------------------------------------
Comment(by bob):
none of us cares about rdf anymore
#248: Implement Content-Type negotiation for RDF output (aka Nicer URIs) -------------------------+-------------------------------------------------- Reporter: earle | Owner: Nobody Type: enhancement | Status: closed Priority: low | Milestone: Component: openguides | Version: svn Severity: normal | Resolution: wontfix Keywords: | -------------------------+-------------------------------------------------- Changes (by bob):
* status: new => closed * resolution: => wontfix
openguides-tickets@lists.openguides.org