Re: 303 vs. Content-Location / Was Re: .htaccess a major bottleneck to Semantic Web adoption

2009-07-05 Thread Hugh Glaser
Well done finding that. Useful for people to know. Glad you didn't find the script didn't work when it was called :-) On 05/07/2009 22:41, "Pierre-Antoine Champin" wrote: My bad! It seems that option MultiViews is active on our Apache, so your script was not even called :-/ It was Apache doing

Re: 303 vs. Content-Location / Was Re: .htaccess a major bottleneck to Semantic Web adoption

2009-07-05 Thread Pierre-Antoine Champin
My bad! It seems that option MultiViews is active on our Apache, so your script was not even called :-/ It was Apache doing the trick on its own... I just altered your script so that it map 'voc1' to 'voc1_.ext' (notice the '_') in order not to trigger MultiViews. Your script works as expected

Re: 303 vs. Content-Location / Was Re: .htaccess a major bottleneck to Semantic Web adoption

2009-07-05 Thread Hugh Glaser
On 05/07/2009 20:39, "Pierre-Antoine Champin" wrote: > Nice one :) > > works fine for me (tested on http://liris.cnrs.fr/~pchampin/tmp/ns). Thanks - great to get the feedback. > > An interesting thing, though, is that > >http://champin.net/tmp/ns/voc1 > > does *not* redirect with a 303 to v

303 vs. Content-Location / Was Re: .htaccess a major bottleneck to Semantic Web adoption

2009-07-05 Thread Pierre-Antoine Champin
Nice one :) works fine for me (tested on http://liris.cnrs.fr/~pchampin/tmp/ns). An interesting thing, though, is that http://champin.net/tmp/ns/voc1 does *not* redirect with a 303 to voc1.html or voc1.rdf, but instead return a 200, but with a "Content-Location" header field containing the

Re: Include LOD content into Drupal websites

2009-07-05 Thread Kingsley Idehen
Alexandre Passant wrote: Hi all, I've just released a Drupal module that permits to include LOD content into Drupal nodes on runtime (so that you always got 'fresh' data). It relies on sparcool.net and can be downloaded at [1], see for instance the announcement blog post at [2] as an example o

Re: .htaccess a major bottleneck to Semantic Web adoption / Was: Re: RDFa vs RDF/XML and content negotiation

2009-07-05 Thread Kingsley Idehen
Toby A Inkster wrote: On 5 Jul 2009, at 01:52, Pierre-Antoine Champin wrote: I guess a PHP version would not even require that .htaccess, but sorry, I'm not fluent in PHP ;) The situation with PHP should be much the same, though I suppose web hosts might be more likely to set index.php in t

Re: .htaccess a major bottleneck to Semantic Web adoption / Was: Re: RDFa vs RDF/XML and content negotiation

2009-07-05 Thread Juan Sequeda
yay!! more "easy-lod" goodness! more incentive to get this up on linkeddata.org this week! do we have any volunteers for ruby? Juan Sequeda, Ph.D Student Dept. of Computer Sciences The University of Texas at Austin www.juansequeda.com www.semanticwebaustin.org On Sun, Jul 5, 2009 at 5:16 PM, Hu

Re: .htaccess a major bottleneck to Semantic Web adoption / Was: Re: RDFa vs RDF/XML and content negotiation

2009-07-05 Thread Hugh Glaser
OK, I'll have a go :-) Why did I think this would be fun to do on a sunny Sunday morning that has turned into afternoon? Here are the instructions: 1. Create a web-accessible directory, let's say foobar, with all your .rdf, .ttl, .ntriples and .html files in it. 2. Copy lodpub.php and path.

Include LOD content into Drupal websites

2009-07-05 Thread Alexandre Passant
Hi all, I've just released a Drupal module that permits to include LOD content into Drupal nodes on runtime (so that you always got 'fresh' data). It relies on sparcool.net and can be downloaded at [1], see for instance the announcement blog post at [2] as an example of what can be done wit

Re: .htaccess a major bottleneck to Semantic Web adoption / Was: Re: RDFa vs RDF/XML and content negotiation

2009-07-05 Thread Pierre-Antoine Champin
Note that I managed to have extension-less script run. Recipe 2 (advantage over the 'index.php' recipe: works with slash based namespaces; disadvantage: 2 more lines in the .htaccess ;) what you need is the following directive in .htaccess (which is allowed by my webmaster) S

Re: .htaccess a major bottleneck to Semantic Web adoption / Was: Re: RDFa vs RDF/XML and content negotiation

2009-07-05 Thread Juan Sequeda
> We should start a repository somewhere of useful code for serving linked >> data. >> > > I agree. (I raise my hand) If I am not wrong, this thread has given out 4 different implementations for serving linked data. I mentioned before that I wanted to post this on linkeddata.org I will work out

Re: .htaccess a major bottleneck to Semantic Web adoption / Was: Re: RDFa vs RDF/XML and content negotiation

2009-07-05 Thread Pierre-Antoine Champin
Le 05/07/2009 13:54, Toby A Inkster a écrit : On 5 Jul 2009, at 01:52, Pierre-Antoine Champin wrote: I guess a PHP version would not even require that .htaccess, but sorry, I'm not fluent in PHP ;) The situation with PHP should be much the same, though I suppose web hosts might be more likel

Re: .htaccess a major bottleneck to Semantic Web adoption / Was: Re: RDFa vs RDF/XML and content negotiation

2009-07-05 Thread Toby A Inkster
On 5 Jul 2009, at 01:52, Pierre-Antoine Champin wrote: I guess a PHP version would not even require that .htaccess, but sorry, I'm not fluent in PHP ;) The situation with PHP should be much the same, though I suppose web hosts might be more likely to set index.php in the DirectoryIndex as