W3C home > Mailing lists > Public > public-grddl-wg@w3.org > February 2007

http-link-header in GRDDL

From: Danny Ayers <danny.ayers@gmail.com>
Date: Thu, 8 Feb 2007 11:43:00 +0100
Message-ID: <1f2ed5cd0702080243l6a8b628aib67ae02c72e2eb4e@mail.gmail.com>
To: ietf-http-wg@w3.org
Cc: "Mark Nottingham" <mnot@mnot.net>, public-grddl-wg <public-grddl-wg@w3.org>, "Graham Klyne" <gk@ninebynine.org>, "Ian Davis" <Ian.Davis@talis.com>

re. http://www.mnot.net/drafts/draft-nottingham-http-link-header-00.txt

GRDDL is a set of mechanisms for automatically providing an RDF view
of XML documents. The W3C grddl-wg [1] is aiming to request the
specification, primer and use case documents (drafts linked from [1])
go forward to Last Call on, or soon after the 15th Feb.

A proposal has just been accepted by the GRDDL WG to provisionally
include a mechanism [2] (pasted below) involving the Link: and
Profile: HTTP headers.

Inclusion is contingent on:

* IETF registration of Profile header
* successful test experience

The grddl-wg's charter has the 1st quarter 2007 as the target for
taking the spec to CR, so if anything can be done to expedite the
progress of the link-header draft to RFC it would be most welcome.

(Actions have been accepted to try the mechanism in two different
GRDDL implementations, results of which should be available in the
next few days).

Comments are invited on the GRDDL spec and associated docs through the
public-grddl-comments mailing list, see [1].

Proposed text:
----
Using GRDDL With HTTP Headers

To accommodate XML dialects that do not have the necessary extension
mechanisms in either their schemas or instances we can use HTTP headers
to specify the necessary profile and transformation.

To associate an instance document with a GRDDL transformation include a
Link and a Profile header in the HTTP message. The Link header contains
the URI of the transformation and a "rel" parameter having a value of
"transformation". The Profile header contains the URI of the GRDDL
profile http://www.w3.org/2003/g/data-view


An example HTTP Message

This HTTP message is the response to a request for the document at
http://example.com/doc

HTTP/1.1 200 OK
Date: Tue, 06 Feb 2007 08:34:16 GMT
Content-Length: 35537
Content-Type: application/xml; charset=utf-8
Last-Modified: Fri, 03 Feb 2007 15:00:10 GMT
ETag: "45c3a65a;42380ddc"
Link: <http://www.w3.org/2000/06/dc-extract/dc-extract.xsl>;
rel="transformation"
Profile: <http://www.w3.org/2003/g/data-view>

<?xml version="1.0" encoding="utf-8"?>
<doc>
...
</doc>

----

Cheers,
Danny.

[1] http://www.w3.org/2001/sw/grddl-wg/
[2] http://lists.w3.org/Archives/Public/public-grddl-wg/2007Feb/0020.html

-- 

http://dannyayers.com
Received on Thursday, 8 February 2007 10:43:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:47 GMT