W3C home > Mailing lists > Public > public-lld@w3.org > August 2010

Re: RDA and ranges

From: Ross Singer <ross.singer@talis.com>
Date: Fri, 20 Aug 2010 13:59:26 -0400
Message-ID: <AANLkTikROf-Cq5cNBSmizGzVhF6FOvK7t2QOvWsv2TX7@mail.gmail.com>
To: Karen Coyle <kcoyle@kcoyle.net>
Cc: Antoine Isaac <aisaac@few.vu.nl>, public-lld <public-lld@w3.org>
Karen, you'd need to send an Accept header as well, so try:

curl -L -H "Accept: application/rdf+xml"
http://nektar.oszk.hu/resource/manifestation/2645471

The -L follows the redirect.

Good luck,
-Ross.

On Fri, Aug 20, 2010 at 1:30 PM, Karen Coyle <kcoyle@kcoyle.net> wrote:
> Quoting Antoine Isaac <aisaac@few.vu.nl>:
>
>
>
>> That's precisely because it is good linked data implementation, which
>> relies on HTTP content negotiation. If you go to
>> http://nektar.oszk.hu/resource/manifestation/2645471 with a normal
>> browser (requesting HTML) you will have your HTML page
>> http://nektar.oszk.hu/en/manifestation/2645471. If you use an agent
>> that request RDF/XML you will get the RDF Ross has sent, as shown at
>> [1].
>>
>> Antoine
>>
>> [1]
>>
>> http://validator.linkeddata.org/vapour?vocabUri=http%3A%2F%2Fnektar.oszk.hu%2Fresource%2Fmanifestation%2F2645471&classUri=http%3A%2F%2F&propertyUri=http%3A%2F%2F&instanceUri=http%3A%2F%2F&defaultResponse=dontmind&userAgent=vapour.sourceforge.net
>
> Sorry, but I'm failing miserably here. curl didn't work; this got me a
> copy of the html:
>
> curl http://nektar.oszk.hu/en/manifestation/2645471
>
> and this sent as curl and alone just got me error messages:
>
> http://validator.linkeddata.org/vapour?vocabUri=http%3A%2F%2Fnektar.oszk.hu%2Fresource%2Fmanifestation%2F2645471&classUri=http%3A%2F%2F&propertyUri=http%3A%2F%2F&instanceUri=http%3A%2F%2F&defaultResponse=dontmind&userAgent=vapour.sourceforge.net
>
> I would like to give people actual commands they can execute. Is there
> something other than curl? I'm afraid that's all I know to use.
>
> kc
>
> --
> Karen Coyle
> kcoyle@kcoyle.net http://kcoyle.net
> ph: 1-510-540-7596
> m: 1-510-435-8234
> skype: kcoylenet
>
>
>
> Please consider the environment before printing this email.
>
> Find out more about Talis at http://www.talis.com/
> shared innovation
>
> Any views or personal opinions expressed within this email may not be those
> of Talis Information Ltd or its employees. The content of this email message
> and any files that may be attached are confidential, and for the usage of
> the intended recipient only. If you are not the intended recipient, then
> please return this message to the sender and delete it. Any use of this
> e-mail by an unauthorised recipient is prohibited.
>
> Talis Information Ltd is a member of the Talis Group of companies and is
> registered in England No 3638278 with its registered office at Knights
> Court, Solihull Parkway, Birmingham Business Park, B37 7YB.
>
Received on Friday, 20 August 2010 18:00:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:57 UTC