Re: [apps-discuss] [rest-discuss] Re: Feedback on draft-wilde-profile-link-00

Erik Wilde <dret@berkeley.edu> Thu, 12 April 2012 17:27 UTC

Return-Path: <dret@berkeley.edu>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4CE1321F853E for <apps-discuss@ietfa.amsl.com>; Thu, 12 Apr 2012 10:27:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.539
X-Spam-Level:
X-Spam-Status: No, score=-6.539 tagged_above=-999 required=5 tests=[AWL=0.060, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wGonqffRUj+2 for <apps-discuss@ietfa.amsl.com>; Thu, 12 Apr 2012 10:27:01 -0700 (PDT)
Received: from cm04fe.IST.Berkeley.EDU (cm04fe.IST.Berkeley.EDU [169.229.218.145]) by ietfa.amsl.com (Postfix) with ESMTP id 92F0821F8448 for <apps-discuss@ietf.org>; Thu, 12 Apr 2012 10:27:01 -0700 (PDT)
Received: from 108-67-66-127.lightspeed.sntcca.sbcglobal.net ([108.67.66.127] helo=[192.168.1.67]) by cm04fe.ist.berkeley.edu with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (auth plain:dret@berkeley.edu) (envelope-from <dret@berkeley.edu>) id 1SINnN-0001qq-D6; Thu, 12 Apr 2012 10:26:58 -0700
Message-ID: <4F87105E.5030708@berkeley.edu>
Date: Thu, 12 Apr 2012 10:26:54 -0700
From: Erik Wilde <dret@berkeley.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
References: <04FC3F79-93B5-4F86-82B2-42029138E202@mnot.net> <4F7F416C.3050400@berkeley.edu> <FFA388B3-F4D9-47AB-81EF-0761200438FB@mnot.net> <624F8E5E-7997-4716-AE84-78B30F7D2E38@nordsc.com> <4F8665E4.9050303@berkeley.edu> <5006D354-A78D-4347-A3D1-0ED840BD81ED@nordsc.com> <4F86F99A.3070601@gmx.de> <4F86FD73.2010708@berkeley.edu> <4F86FE6E.40801@gmx.de> <4F87053F.2080203@berkeley.edu> <4F870853.8020500@gmx.de>
In-Reply-To: <4F870853.8020500@gmx.de>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: Mark Nottingham <mnot@mnot.net>, Jan Algermissen <jan.algermissen@nordsc.com>, REST Discuss <rest-discuss@yahoogroups.com>, "apps-discuss@ietf.org application-layer protocols" <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] [rest-discuss] Re: Feedback on draft-wilde-profile-link-00
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Apr 2012 17:27:02 -0000

hello julian.

On 2012-04-12 09:52 , Julian Reschke wrote:
> Maybe we need to switch to examples to get a clearer picture.
> With "profile" I understand that the link *target* is a URI describing
> the profile, such as <http://www.w3.org/2006/03/hcard> which describes
> that hcard profile.

no, the 'profile' link target URI *identifies* the profile in use, and 
it MAY point to a description (and hopefully will), but it does not have 
to do that. at that level it works exactly the same as XML namespace 
URIs: its definition is to be an identifier, but if you want to be nice, 
then you actually link to some description, but that's entirely up to 
you. here's what the draft currently says:

"Profiles are identified by URI, but as with for example XML namespace 
URIs, the URI in this case first and foremost serves as an identifier, 
meaning that the presence of a specific URI has to be sufficient for a 
client to assert that a resource representation conforms to a profile."

> If you want to use the profile link relation to declare that something
> is a an AtomPub server, on which resource would you set the link relation?

the feed served by the atompub-enabled server would contain such a 
'profile' link on the feed level, indicating to a client that it can 
POST to that feed's URI to create a new collection member.

cheers,

dret.

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