On 31 Jan 2006, at 03:27, James Holderness wrote:
Personally I would have preferred using a fragment identifier. So
the above example would look something like this:
<link type="application/atom+xml"
href="http://mydomain.com/feed#french_entry_id"
hreflang="fr"
x:updated="2005-11-15T18:30:02X" />
And a link to an entry within the same feed could be done with a
fragment only uri, like this:
<link type="application/atom+xml"
href="#french_entry_id"
hreflang="fr"
x:updated="2005-11-15T18:30:02X" />
But from what I can make out, this sort of thing would only be
valid if atom:id was defined to be an ID attribute which would
assumedly require an Atom DTD.
And that won't be quite possible because:
- a feed can have a number of entries with the same id, whereas I
think that when something is defined as being an ID attribute there
can only be one instance in the same document (not absolutely sure
about this though)
- an id is not an attribute in atom xml, so I am not even sure this
would be possible anyway
Also it is quite possible that the entry fall off the end of the feed
after a while (usually just before it gets placed into an archive).
So the link in your first example above would be falsified a little
too easily.
Henry Story
http://bblfish.net/