Opened 14 years ago

Closed 10 years ago

#248 closed enhancement (wontfix)

Implement Content-Type negotiation for RDF output (aka Nicer URIs)

Reported by: Earle Martin Owned by: Nobody
Priority: low Milestone:
Component: openguides Version: svn
Severity: normal Keywords:


Context: 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:

If the client requests Text/HTML (ie, a human using a browser), we should 303 (See Other) redirect to

If the client requests Application/RDF+XML, we should 303 (See Other) redirect to

The RDF output's rdf:about value will need to have the URI inserted thus:

<rdf:Description rdf:about="">
  <!-- everything else here -->

Change History (3)

comment:1 Changed 14 years ago by Earle Martin

The final code snippet in the ticket is incorrect. It should read:

<rdf:Description rdf:about="">
  <!-- everything else here -->

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="">

comment:2 Changed 10 years ago by bob

none of us cares about rdf anymore

comment:3 Changed 10 years ago by bob

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.