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

Re: created, issued, modified [Re: comments on Atom 0.2]



On Fri, Aug 08, 2003 at 10:23:32AM -0700, Nelson Minar wrote:
> >No, we don't.  We treat the issued time as more or less a user-specified
> >attribute like the subject:  while it must be a time, that time is only
> >meaningful in the sense of "oh, they're posting at 3am (their time),
> >they must be up late".
> 
> Is it a proper parseable time? Or can I type things like "midnight",
> or "early morning"? The Atom 0.2 spec requires it looks like a
> parseable time.

Yes, it's parseable.  It just lacks a time zone.  Lame, I know.  :\

> >Thankfully, the spec Atom is using for times doesn't require a zone.
> 
> Are you sure? I thought the W3C spec did require timezones.

The w3c recommendation uses timezones, but the ISO spec (which the w3c
recommendation is a subset of) used by the validator doesn't.  It's not
really explicit anywhere as far as I can tell.

> >Using both 1 and 2, then, the pseudocode that could be used by an
> >aggregator when displaying:
> >  unless (defined post.created) post.created = post.modified;
> >  unless (defined post.issued) post.issued = post.created;
> >That would reduce posts to one timestamp in the common case.
> 
> and the one required timestamp is <modified>? I'm happy with that.

Well, it was just a proposal.  Only point 1 of the two I made is
currently in use.

-- 
Evan Martin
martine@xxxxxxxxx
http://neugierig.org