Yves Raimond wrote:
Hello!
$ curl -H "Accept:
text/html;q=1,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,application/rdf+xml;q=0,text/rdf+n3;q=0"
http://www.bbc.co.uk/music/artists/149e6720-4e4a-41a4-afca-6d29083fc091
:-)
We're aware of the limitations of mod_rewrite to effectively and correctly
implement content-negotiation, please see note at [1] and issue at [2]. Any
suggestion on this would be greatly appreciated!
I've played a bit with several ways of doing it. mod_negotiation seems
to be the most sensible solution. However, I did not find a way to
make it run with non-static files (e.g. DESCRIBE on a SPARQL
end-point). If not using that, then I think the only proper solution
left is to code the content negotiation in the actual web application
(that's what URISpace does, and I think that's what Pubby does).
And that's what Virtuoso does too, as showcased via DBpedia and all our
AMIs for a while now :-)
Links:
1.
http://virtuoso.openlinksw.com/Whitepapers/html/vdld_html/VirtDeployingLinkedDataGuide.html
Kingsley
Cheers!
y
--
Regards,
Kingsley Idehen Weblog: http://www.openlinksw.com/blog/~kidehen
President & CEO
OpenLink Software Web: http://www.openlinksw.com