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

Atom 0.2 feedback




I'm drafting a RelaxNG schema for the 0.2 snapshot, which forces you to really think about it carefully.


I have a few questions & comments:

1. <url> is wrong. It should either be human-oriented, in which case let's say <web>, or technically correct, in which case let's say <uri>. I could go either way, would marginally prefer <web>

2. Generator; this feels ass-backwards to me:

<generator
  name="Moveable Type">http://www.movabletype.org/?v=2.64</generator>

Having the URI in the attribute and the human stuff in the content seems more idiomatic, and respects the prior art of HTML hyperlinks.

3. The 0.2 snapshot is actually less functional than RSS in one important respect. At 'ongoing' I tend to write really long entries. With RSS 0.2, I can excerpt them in the RSS feed and still (via the horrid escaped-HTML kludge) put hyperlinks and some styling in the excerpt. Since <summary> doesn't allow markup, I can't do any styling there, right? So is it OK to put my teaser in <content>, which does allow this, or is the semantic of <content> that the content must be complete? At ongoing, if the <description> in the RSS is *not* the full text of the entry, I signal this with a trailing "...". If we are going to allow non-complete <content> elements should this be made explicit with a full=(yes|no) attribute?

Put another way, it seems wrong that the ability to style/markup is coupled to whether or not you want to provide complete content.
--
Cheers, Tim Bray
(ongoing fragmented essay: http://www.tbray.org/ongoing/)