- From: Thomas Baker <tbaker@tbaker.de>
- Date: Wed, 4 Jan 2006 18:06:38 +0100
- To: SW Best Practices <public-swbp-wg@w3.org>
Re-posted to the BPD list by permission, here is a preliminary review of the HTTP Cookbook draft [1] by Andreas. Tom [1] http://www.w3.org/2001/sw/BestPractices/VM/http-examples/2005-11-18/ ---- On Mon, Dec 12, 2005 at 03:37:39AM +0000, Andreas Harth wrote: > Hi Tom, > > here's the preliminary review. > > In general, I think the document explains the different alternatives > quite well but there are too many choices in the document which > might be confusing for the reader. A limited number of alternatives > (maybe 3 to 4) which cover 80% of the cases might be better. > > The mod_rewrite modules is pretty complex to configure. A simpler > alternative is to use content negotiation. IMHO the simplest way to > publish RDF (without mod_rewrite) is to do "AddType application/rdf+xml .rdf". > To retrieve the RDF then from within a software program, send a HTTP request > with Accept: header "application/rdf+xml" without the .rdf file suffix > (i.e. curl -H "Accept: application/rdf+xml" http://xmlns.com/foaf/0.1/) > The HTML version would be the default document to be served; alternatively > the RDF file (with rdf suffix in the URL) is still accessible from within > web browsers. > > mod_alias (RedirectMatch seeother ...) can be used to do redirects without > having to use mod_rewrite. > > Using "AddType application/rdf+xml .owl" might be another possibility to > publish OWL ontologies. > > I am not sure about including the purl.org examples, maybe outsource > to another document to make the cookbook note more concise. > > Section hash vs. slash, "especially in the case of large ontologies." > Receipe 5 then only talks about splitting HTML files, not the RDF > (would that be possible at all?) > > HTH, > Andreas. -- Dr. Thomas Baker baker@sub.uni-goettingen.de SUB - Goettingen State +49-551-39-3883 and University Library +49-30-8109-9027 Papendiek 14, 37073 Göttingen
Received on Wednesday, 4 January 2006 17:24:33 UTC