[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Atom 0.2 feedback




Mark Pilgrim wrote:


So what are some solutions?

1. allow markup in <summary>.  Does this require that we support mode=
   as with content?  Alternatively support a small subset of XHTML?
   Both seem ugly.

The trouble with this is the inverse of Sam's concern: people will stuff the entire content in [summary] (like people now do with [description] in some flavors of RSS) and eschew [content] altogether.

Yep. A hard-line "no markup outside of <content>" attitude might enable us to hold the line on this.


3. Migrate the <summary> *inside* the <content>.  Something like
   <content><summary>... no markup here ...</summary>
   <body full="true|false"> ... </body>.  Then you could have the
   mode="xml|escaped|base64" on <content> apply to both <summary>
   and <body>

Off the top, I like #3.

The problem with #3 is that it makes summary-only feeds slightly more complex. And I'm not sure this is solving the original problem that you introduced. You have rich summaries that contain markup. How do you represent that?

<content mode="xml"> <atom:summary xmlns="...html..."> <em>No</em> markup outside of &lt;content>! </atom:summary> </content>

But I'm not willing to die for this option. I'd really like to try to corral foreign markup inside the <content> element though.

--
Cheers, Tim Bray
        (ongoing fragmented essay: http://www.tbray.org/ongoing/)