Re: [apps-discuss] [link-relations] Fwd: I-D Action: draft-ohye-canonical-link-relation-00.txt

Joachim Kupke <joachim@kupke.za.net> Sat, 09 July 2011 02:44 UTC

Return-Path: <joe.kupke@gmail.com>
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 11EF921F8AEE; Fri, 8 Jul 2011 19:44:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.977
X-Spam-Level:
X-Spam-Status: No, score=-2.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
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 gJQVpzImNaKR; Fri, 8 Jul 2011 19:44:05 -0700 (PDT)
Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by ietfa.amsl.com (Postfix) with ESMTP id 2C10E21F8AEA; Fri, 8 Jul 2011 19:44:05 -0700 (PDT)
Received: by pzk5 with SMTP id 5so2501192pzk.31 for <multiple recipients>; Fri, 08 Jul 2011 19:44:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=6+rwG4PkTHj3IKyJ2dJTgRpE027ZdlmJ7DWDySYQhAc=; b=j+FC7dj9VIhWj2bF6PZnPe7OMCrSh7DsxvxVsodtppMHIFSdn90LXVVGChSoClA72+ H9mPr5LidjCU4vzLjtfIfxaD5S/k7fY4wXGNTSLx3SzhO9lDFulX2IRot0k+ghayM2ML Mo3JyHNRItbQyXPuiDw9n0reet6IqwaGhhbvM=
MIME-Version: 1.0
Received: by 10.68.49.234 with SMTP id x10mr3728454pbn.424.1310179444813; Fri, 08 Jul 2011 19:44:04 -0700 (PDT)
Sender: joe.kupke@gmail.com
Received: by 10.68.62.200 with HTTP; Fri, 8 Jul 2011 19:44:04 -0700 (PDT)
In-Reply-To: <4E10208C.6090209@gmx.de>
References: <4E083D3F.6030200@gmx.de> <4E0D3EA5.7010803@gmail.com> <4E0DCFEF.20206@gmx.de> <4E0DEA77.3050007@gmail.com> <4E0E0E76.2080007@gmail.com> <4E0E995A.7060800@gmail.com> <4E0F1058.3050201@gmail.com> <1309613470.2807.17.camel@mackerel> <4E0F1F2F.8020504@gmail.com> <CAGKau1GyaxpgZsZmUcqZp1iUG6wrvSG3LHM3Pq52AjXfZz900Q@mail.gmail.com> <4E10208C.6090209@gmx.de>
Date: Fri, 8 Jul 2011 19:44:04 -0700
X-Google-Sender-Auth: aGVrj6uA2qd7kxyd_OPPV1IYUzU
Message-ID: <CAKACZovTrCEkFRvN94BW4NChko3_J=FzsAmc37jAJ6YnnjeOeg@mail.gmail.com>
From: Joachim Kupke <joachim@kupke.za.net>
To: Julian Reschke <julian.reschke@gmx.de>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Mailman-Approved-At: Sat, 09 Jul 2011 09:13:27 -0700
Cc: "link-relations@ietf.org" <link-relations@ietf.org>, IETF Apps Discuss <apps-discuss@ietf.org>, Maile Ohye <maileko@gmail.com>, Bjartur Thorlacius <svartman95@gmail.com>
Subject: Re: [apps-discuss] [link-relations] Fwd: I-D Action: draft-ohye-canonical-link-relation-00.txt
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: Sat, 09 Jul 2011 02:44:38 -0000

On Sun, Jul 3, 2011 at 12:55 AM, Julian Reschke <julian.reschke@gmx.de> wrote:
> On 2011-07-03 03:23, Maile Ohye wrote:
>> 2. OPEN. F. Ellermann:
[...]
> I'm not sure I understand the response. Is there a use case where an author
> would legitimately add multiple instances of the link relation?

It is quite conceivable that an author might want to designate
multiple instances of the relation with different attributes, e.g.:

<link rel="canonical" href="http://en.wikipedia.org/wiki/Randomness"
media="screen"/>
<link rel="canonical" href="http://en.m.wikipedia.org/wiki/Randomness"
media="handheld"/>

It is recommended not to do that because it would foist additional
complexity on implementations, and---without being presumptuous---it
appears that encoding attributes such as media into the URI itself can
do more harm than good.

This recommendation might become less valid over time.  For example,
it has become rather common to encode the language (or country) of a
resource into the URI when there would have been other means of their
designation as well (such as, the Accept-Language HTTP header).

>> 5. OPEN. M. Yevstifeyev:
>>>
>>>  Presence of the canonical link relation indicates to applications,
>>
>> such as search engines, that they MAY:
>> I wonder why it's MAY; in this case implementations (explicitly, those
>> apps which interpret Link: headers and corresponding construction in
>> HTML) will be free to ignore it.  I think normative SHOULD should be OK
>> (sorry for pun).
>> --response by J. Reschke "I think this link relation is purely advisory,
>> so a better approach might be to replace "MAY" by "can"."

Reading paragraph 5 of RFC 2119, I don't see anything wrong with
"MAY."  How is "can" better?

It's indeed not a "SHOULD" since a typical implementation, say in a
search engine, will want to go to some length to find evidence for
misguided usage of the relationship and in the presence of such
evidence decide to ignore it.  The point of "MAY" is to make clear
that in the absence of such evidence, the responsibility not to
advertise an erroneous "canonical" relationship lies with the author
of the context URI.

>> 7. OPEN. M. Yevstifeyev:
[...]
> a) A non-HTML document at a non-HTTP(s) URI may not be able to specify the
> link relation, but it could be the target of a link, relation, right?

Correct.

> b) Future protocols might have other means to specify a link relation, btw.

Is there terminology that reasonably unifies errors across protocols
(HTTP response code 4xx, GOPHER item type 3, FTP response code 5xx)?

--Joachim