W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2007

[whatwg] HTML5 Edit Link Relation

From: James M Snell <jasnell@gmail.com>
Date: Mon, 05 Nov 2007 09:27:02 -0800
Message-ID: <472F5266.9070803@gmail.com>
This is just off the top of my head so I'm certain that there are
probably reasons why this wouldn't work, but could we not do something like,

  <link rel="edit put delete patch" href="http://example.org/foo" />

Edit indicates the purpose of the link, put, delete and patch indicate
methods (in addition to GET).

- James

Ian Hickson wrote:
> On Sun, 3 Dec 2006, Martin Atkins wrote:
>> What would be useful, though perhaps out of scope for HTML5, is a way to 
>> specify a *protocol*, rather than a response type, for a given link 
>> relation. Then you could specify that this is an AtomAPI endpoint, 
>> rather than that a GET request will return an atom+xml document.
> Would it make sense to use rel="" for this?
Received on Monday, 5 November 2007 09:27:02 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:59 UTC