Re: to/cc/bcc extension

James Snell <jasnell@gmail.com> Mon, 25 October 2010 20:07 UTC

Return-Path: <owner-atom-syntax@mail.imc.org>
X-Original-To: ietfarch-atompub-archive@core3.amsl.com
Delivered-To: ietfarch-atompub-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CCCAE3A68F8 for <ietfarch-atompub-archive@core3.amsl.com>; Mon, 25 Oct 2010 13:07:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.513
X-Spam-Level:
X-Spam-Status: No, score=0.513 tagged_above=-999 required=5 tests=[AWL=0.099, BAYES_20=-0.74, HELO_MISMATCH_COM=0.553, HTML_MESSAGE=0.001, J_CHICKENPOX_43=0.6]
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 ILVa6L8bylw6 for <ietfarch-atompub-archive@core3.amsl.com>; Mon, 25 Oct 2010 13:07:53 -0700 (PDT)
Received: from hoffman.proper.com (Hoffman.Proper.COM [207.182.41.81]) by core3.amsl.com (Postfix) with ESMTP id 69F6A3A682B for <atompub-archive@ietf.org>; Mon, 25 Oct 2010 13:07:52 -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 o9PK54eH019264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 25 Oct 2010 13:05:04 -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 o9PK54Kn019263; Mon, 25 Oct 2010 13:05:04 -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 mail-qw0-f43.google.com (mail-qw0-f43.google.com [209.85.216.43]) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id o9PK53HM019258 for <atom-syntax@imc.org>; Mon, 25 Oct 2010 13:05:03 -0700 (MST) (envelope-from jasnell@gmail.com)
Received: by qwj9 with SMTP id 9so1809765qwj.16 for <atom-syntax@imc.org>; Mon, 25 Oct 2010 13:05:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=yvR9q/Vju87IX1qp8YldNE2mAF3tNl/+o5pP2/zBLHU=; b=V4LXoPTlL2e0Hq0+U3lV5G4YeGHdTruA8zs+fGShmi3DXzFO3BSiqiAl5SAcKJ0GNw dRD8i3S+fsG9/x0xVNCPwV/E0miIA5robpTE2ZsrUqnrhpBKWhfqiN2RaDz4+DH0/GXF W2VNycGAiBBmF20FbUCZjqJ9JLOcLZUieK5/c=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=b145GYlYN9F1BbplXTkE4VAecRaCkrRFBTv0YdLEfMRtKHIUPQ2bKs8rOt+Mi8cb4c lnuM2aQ9aBg3Irpt5ZL6kEGTxd6dxpV+R+myz4aiq4fLlZWOgIK6xT/5Kh97qF/smeb/ h0UgV1/GF/eXYiEjZuDP0NsNqaxqEQ5gDMw9o=
MIME-Version: 1.0
Received: by 10.224.215.201 with SMTP id hf9mr585111qab.9.1288037102827; Mon, 25 Oct 2010 13:05:02 -0700 (PDT)
Received: by 10.229.54.202 with HTTP; Mon, 25 Oct 2010 13:05:02 -0700 (PDT)
In-Reply-To: <20101025195219.GP29843@klangraum.plasmasturm.org>
References: <AANLkTi=P5k0LpVxB-Q4HqeM+zZsHfoXrDuEbGZxX7PSU@mail.gmail.com> <20101025195219.GP29843@klangraum.plasmasturm.org>
Date: Mon, 25 Oct 2010 13:05:02 -0700
Message-ID: <AANLkTin4CGUjcX+b_yiSNsAzR06246bR6AtBY4bjjxtU@mail.gmail.com>
Subject: Re: to/cc/bcc extension
From: James Snell <jasnell@gmail.com>
To: atom-syntax@imc.org
Content-Type: multipart/alternative; boundary=20cf300515caf8b88d0493768171
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>

Aristotle, the email application messed up the markup... it's supposed to be
just...

  <to> acct: john.doe @ example.org </to>

(I added some spaces to try to keep the example from being messed up again)

- James

On Mon, Oct 25, 2010 at 12:52 PM, Aristotle Pagaltzis <pagaltzis@gmx.de>wrote;wrote:

>
> * James Snell <jasnell@gmail.com> [2010-10-15 23:05]:
> > Wanted to draw attention to this:
> >
> >   http://tools.ietf.org/html/draft-norris-atompub-audience-00.html
> >
> > It introduces to/cc/bcc elements to an Atom entry.
> >
> >   <entry>
> >     ...
> >     <to>acct:john.doe@example.org <acct%3Ajohn.doe@example.org> <
> acct%3Ajohn.doe@example.org <acct%253Ajohn.doe@example.org>></to>
> >     <to>acct:bob@example.org <acct%3Abob@example.org> <
> acct%3Abob@example.org <acct%253Abob@example.org>></to>
> >     <cc>acct:jane.doe@example.org <acct%3Ajane.doe@example.org> <
> acct%3Ajane.doe@example.org <acct%253Ajane.doe@example.org>></cc>
> >     <cc>acct:jane@example.org <acct%3Ajane@example.org> <
> acct%3Ajane@example.org <acct%253Ajane@example.org>></cc>
> >     <bcc>acct:jean.deux@example.org <acct%3Ajean.deux@example.org> <
> acct%3Ajean.deux@example.org <acct%253Ajean.deux@example.org>></bcc>
> >     <bcc>acct:max@example.org <acct%3Amax@example.org> <
> acct%3Amax@example.org <acct%253Amax@example.org>></bcc>
> >     ...
> >   </entry>
> >
> > Comments are welcomed and requested.
>
> First: your example XML is broken. (Unescaped angle brackets in
> content.)
>
> Next: microparsing, and of text content no less (as opposed to
> attribute values)? How hideous.
>
> I will suggest something like
>
>    <audience rel="to"
>        address="acct:john.doe@example.org <acct%3Ajohn.doe@example.org>"
>        label="acct:john.doe@example.org <acct%3Ajohn.doe@example.org>" />
>
> The label should be optional of course.
>
> Now you have something tractable to XML tools, eg. you can write
> reasonable XPath queries across these elements.
>
> Regards,
> --
> Aristotle Pagaltzis // <http://plasmasturm.org/>
>
>