Re: Atom Content Negotiation (follow-up)

Erik Wilde <dret@berkeley.edu> Mon, 09 May 2011 21:35 UTC

Return-Path: <owner-atom-syntax@mail.imc.org>
X-Original-To: ietfarch-atompub-archive@ietfa.amsl.com
Delivered-To: ietfarch-atompub-archive@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 72F2DE08B0 for <ietfarch-atompub-archive@ietfa.amsl.com>; Mon, 9 May 2011 14:35:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qYZfOKw5HBka for <ietfarch-atompub-archive@ietfa.amsl.com>; Mon, 9 May 2011 14:35:32 -0700 (PDT)
Received: from hoffman.proper.com (IPv6.Hoffman.Proper.COM [IPv6:2001:4870:a30c:41::81]) by ietfa.amsl.com (Postfix) with ESMTP id 2AEBFE06CF for <atompub-archive@ietf.org>; Mon, 9 May 2011 14:35:31 -0700 (PDT)
Received: from hoffman.proper.com (localhost [127.0.0.1]) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id p49LKvNG013984 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 9 May 2011 14:20:57 -0700 (MST) (envelope-from owner-atom-syntax@mail.imc.org)
Received: (from majordom@localhost) by hoffman.proper.com (8.14.4/8.13.5/Submit) id p49LKvLC013983; Mon, 9 May 2011 14:20:57 -0700 (MST) (envelope-from owner-atom-syntax@mail.imc.org)
X-Authentication-Warning: hoffman.proper.com: majordom set sender to owner-atom-syntax@mail.imc.org using -f
Received: from cm01fe.IST.Berkeley.EDU (cm01fe.IST.Berkeley.EDU [169.229.218.142]) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id p49LKu8P013978 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <atom-syntax@imc.org>; Mon, 9 May 2011 14:20:57 -0700 (MST) (envelope-from dret@berkeley.edu)
Received: from dhcp224.ischool.berkeley.edu ([128.32.226.224]) by cm01fe.ist.berkeley.edu with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76_RC1) (auth plain:dret@berkeley.edu) (envelope-from <dret@berkeley.edu>) id 1QJXsr-0007z6-5y; Mon, 09 May 2011 14:20:54 -0700
Message-ID: <4DC85ABE.1090005@berkeley.edu>
Date: Mon, 09 May 2011 14:21:02 -0700
From: Erik Wilde <dret@berkeley.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
MIME-Version: 1.0
To: atom-syntax@imc.org
CC: Hadrien Gardeur <hadrien.gardeur@feedbooks.com>
Subject: Re: Atom Content Negotiation (follow-up)
References: <4DBC60F4.7000402@berkeley.edu> <BLU122-W686A8FCBEDB816FFA2BF8BE9D0@phx.gbl> <4DBCF02B.6080601@berkeley.edu> <BLU122-W284C7C2E53440F1AFE1BCBBE9F0@phx.gbl> <BANLkTind+QFCUdLpJf5PrW_zg5Mu4wjSXg@mail.gmail.com> <4DBEEA14.2060907@berkeley.edu> <BANLkTikxeNK=nKLHpZk6RJab3uo8f1TN1A@mail.gmail.com>
In-Reply-To: <BANLkTikxeNK=nKLHpZk6RJab3uo8f1TN1A@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Sender: owner-atom-syntax@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/atom-syntax/mail-archive/>
List-Unsubscribe: <mailto:atom-syntax-request@imc.org?body=unsubscribe>
List-ID: <atom-syntax.imc.org>

hello.

On 2011-05-03 7:05, Hadrien Gardeur wrote:
> Sure, it's not likely at all to happen in the mid term, but with media
> parameters you're not "breaking" anything either. If we want those
> specifications to evolve, we need more examples and people interested in
> those parameters. The AtomPub spec with its "type" parameter for Atom is a
> good start but we need to go further.

like i said before, philosophically, i do agree that this would be 
cleaner and the better approach. but we would need to update the atom 
spec which, as i am reading it, does not allow for extensibility of 
media type parameters:

http://tools.ietf.org/html/rfc4287#section-7 says that the only allowed 
parameter is "charset". i think the way to go for all of this to be nice 
and clean would be to add a "content-type" parameter, which as a value 
would have a media type (the media type of the content embedded or 
linked to by the feed). this raises two questions:

- is that kind of parameter value even allowed in a media type? and if 
it is, how many media type parsers might possibly break because a media 
type would contain "two media types"?

- how realistic is it to update RFC 4287 in that way, which as i 
understand it would not be backwards compatible?

if that was a realistic way to go, even things such as 
http://www.w3.org/TR/html5/links.html#rel-alternate might need to be 
updated, so that the new features would be allowed/supported (and 
shouldn't HTML5 allow the optional charset parameter that is possible 
according to RFC 4287?).

any feedback on this would be greatly appreciated. kind regards,

dret.

-- 
erik wilde | mailto:dret@berkeley.edu  -  tel:+1-510-6432253 |
            | UC Berkeley  -  School of Information (ISchool) |
            | http://dret.net/netdret http://twitter.com/dret |