Re: Content negotiation negotiation

Hmmm. 

So, taking a look at these three URLs, can you tell me
a) which of these support content negotiation, and b) what formats
they provide. 

http://dx.doi.org/10.3390/fi4041004
http://dx.doi.org/10.1594/PANGAEA.527932
http://dx.doi.org/10.1000/182

I tried vapor -- it seems to work by probing with application/rdf+xml,
but it appears to work by probing. I can't find any of the headers
mentioned either, although perhaps I am looking wrongly. 

Phil



Hugh Glaser <hg@ecs.soton.ac.uk> writes:

> Ah of course - thanks Mark, silly me.
> So I look at the Link: header for something like
> curl -L -i http://dbpedia.org/resource/Luton
> Which gives me the information I want.
>
> Anyone got any offers for how I would use Linked Data to get this into my RDF store?
>
> So then I can do things something like:
> SELECT ?type ?source FROM { <http://dbpedia.org/resource/Luton> ?foo ?file .
> ?file ?type ?source . }
> (I think).
>
> I suppose it would need to actually be returned from a URI at the site - I
> can't get a header as URI resolution - right?
> And I would need an ontology?
>
> Cheers.
>
> On 23 Apr 2013, at 19:49, Mark Baker <distobj@acm.org>
>  wrote:
>
>> On Tue, Apr 23, 2013 at 1:42 PM, Hugh Glaser <hg@ecs.soton.ac.uk> wrote:
>>> 
>>> On 22 Apr 2013, at 12:18, Phillip Lord <phillip.lord@newcastle.ac.uk> wrote:
>>> <snip>
>>>> We need to check for content negotiation; I'm not clear, though, how we
>>>> are supposed to know what forms of content are available. Is there
>>>> anyway we can tell from your website that content negotiation is
>>>> possible?
>>> Ah, and interesting question.
>>> I don't know of any, but maybe someone else does?
>> 
>> Client-side conneg, look for Link rel=alternate headers in response
>> 
>> Server-side conneg, look for "Vary: Content-Type" in response
>> 
>> Mark.
>
>
>

-- 
Phillip Lord,                           Phone: +44 (0) 191 222 7827
Lecturer in Bioinformatics,             Email: phillip.lord@newcastle.ac.uk
School of Computing Science,            http://homepages.cs.ncl.ac.uk/phillip.lord
Room 914 Claremont Tower,               skype: russet_apples
Newcastle University,                   twitter: phillord
NE1 7RU                                 

Received on Wednesday, 24 April 2013 13:17:50 UTC