* James Snell <[email protected]> [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:[email protected] <acct%[email protected]></to>
>     <to>acct:[email protected] <acct%[email protected]></to>
>     <cc>acct:[email protected] <acct%[email protected]></cc>
>     <cc>acct:[email protected] <acct%[email protected]></cc>
>     <bcc>acct:[email protected] <acct%[email protected]></bcc>
>     <bcc>acct:[email protected] <acct%[email protected]></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:[email protected]"
        label="acct:[email protected]" />

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/>

Reply via email to