Re: [VCARDDAV] New parameter ALTID

Barry Leiba <barryleiba.mailing.lists@gmail.com> Wed, 28 July 2010 14:23 UTC

Return-Path: <barryleiba.mailing.lists@gmail.com>
X-Original-To: vcarddav@core3.amsl.com
Delivered-To: vcarddav@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 257473A6A50 for <vcarddav@core3.amsl.com>; Wed, 28 Jul 2010 07:23:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.932
X-Spam-Level:
X-Spam-Status: No, score=-2.932 tagged_above=-999 required=5 tests=[AWL=-0.333, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9FuDsGHxl3bh for <vcarddav@core3.amsl.com>; Wed, 28 Jul 2010 07:23:13 -0700 (PDT)
Received: from mail-pv0-f172.google.com (mail-pv0-f172.google.com [74.125.83.172]) by core3.amsl.com (Postfix) with ESMTP id 73CC03A6A0B for <vcarddav@ietf.org>; Wed, 28 Jul 2010 07:23:13 -0700 (PDT)
Received: by pvd12 with SMTP id 12so1130729pvd.31 for <vcarddav@ietf.org>; Wed, 28 Jul 2010 07:23:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=xp/1Q6a68reUwMu8XhF4hqi+ML37G52OJD79ifBikv8=; b=YbhQ6rDs+puYb6j4lkak3ipRmnMZzEKY8XfzAC0d1Xi0jbl+Tu/DwdivKGcvYEogHB DlPO1LvIdt3WR79xbQPkUNEVo9NjJE5YiKoUAAMtLOoe8nWEJ+o4+N0pS5Pck4bq/T0X yNc2gMum+XCjTJYqMwf8Sm1Xqv6Qr/jLUTksk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=tgXJqog9lIhJxvewc3Ff9tg+oXVJyjnA6Enzwe218Z4oAUUv/QFmr2RmzEJIn4+Xvx Al/801B76YG5GjOfpaQb+0LfeOrjVycuBT0rZlRpZpw0aLRht+ejqPYxt2fGuUqrjr+0 c0WMXil9ohyC1fUM3mSr3lhKDMnhiOdmDAbRM=
MIME-Version: 1.0
Received: by 10.142.157.6 with SMTP id f6mr11771016wfe.178.1280327016481; Wed, 28 Jul 2010 07:23:36 -0700 (PDT)
Received: by 10.42.1.136 with HTTP; Wed, 28 Jul 2010 07:23:36 -0700 (PDT)
In-Reply-To: <4C502C9F.9030107@viagenie.ca>
References: <4C502C9F.9030107@viagenie.ca>
Date: Wed, 28 Jul 2010 10:23:36 -0400
Message-ID: <AANLkTikgWYpa8e9rP4Kah4NwfsBwGA1+PSHwUdRDJh67@mail.gmail.com>
From: Barry Leiba <barryleiba.mailing.lists@gmail.com>
To: Simon Perreault <simon.perreault@viagenie.ca>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: vcarddav@ietf.org
Subject: Re: [VCARDDAV] New parameter ALTID
X-BeenThere: vcarddav@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: barryleiba@computer.org
List-Id: IETF vcarddav wg mailing list <vcarddav.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/vcarddav>, <mailto:vcarddav-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/vcarddav>
List-Post: <mailto:vcarddav@ietf.org>
List-Help: <mailto:vcarddav-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/vcarddav>, <mailto:vcarddav-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jul 2010 14:23:15 -0000

> example, suppose I have a PHOTO property with different FMTTYPE parameters. I
> might want to group them. Here's how I would do it using the proposed ALTID
> parameter:
>
> PHOTO;ALTID=1;FMTTYPE=image/jpeg:...
> PHOTO;ALTID=1;FMTTYPE=image/png:...
>
> For the case of the LANGUAGE parameter with optional PIDs:
>
> TITLE;ALTID=1;PID=1;LANGUAGE=fr:Patron
> TITLE;ALTID=1;PID=2;LANGUAGE=en:Boss
> TITLE;ALTID=2;PID=3;LANGUAGE=en:Chief vCard Evangelist
...
> We think this is better than what we came up with during the WG meeting (i.e.
> "foo.fr" and "foo.en"). Also, it preserves the nice property of the content of
> the LANGUAGE parameter being only a language tag which is more easily queried
> using CardDAV or XPath. (e.g "Give me the closest language to "en-US" would
> return "en", which you can do easily using CardDAV "starts-with".).

D'accord.  Let's do it.

Barry