[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Atom 0.2 feedback
Sam Ruby wrote:
Looking at the feed [1] that Tim produced, it is clear that the
restriction that only content can have markup will result in people
mislabeling their summaries as content.
In the case of 'ongoing', the thing labeled <content> is in fact
content, it's always the first paragraph, and in the case where the
entry has only one paragraph it's the whole entry. But I grant that it
would have been more in the spirit of the spec if I had removed all the
markup and used <summary> instead.
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.
2. allow a 3-way switch on <content>
<content which="full|lead|summary">.
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.
Sam's right, it's pretty clear that people who've gotten used to
nicely-decorated feeds aren't going to be happy to step backward to
plain-text. -Tim