ctford
ctford

Reputation: 7297

Is the atom:id element unique per physical feed, or logical feed?

We're breaking a logical feed up over several physical feeds using the "next-archive" and "prev-archive" link relations to tie everything together.

Should each individual feed have its own id, or should the id be constant across the whole series of physical feeds?

The Atom specification says:

4.2.6. The "atom:id" Element

The "atom:id" element conveys a permanent, universally unique
identifier for an entry or feed.

Upvotes: 2

Views: 778

Answers (1)

Joe
Joe

Reputation: 31087

The ID for an entry should be the same across the different feeds it appears in. From the Atom discussion wiki:

Restricting the uniqueness scope of atom:id entirely to a single feed would make it much less valuable, since entries are often copied form feed to feed, and sometimes simultaneously published in multiple feeds.

The examples in RFC 5005 strongly suggest that the separate physical feeds ("archived feeds") should also share an ID to indicate that they belong to the same logical feed.

Upvotes: 4

Related Questions