How To Generate a Feed id Element


How To Generate a Feed id Element? - RSS FAQs - Atom Feed File Structure and Elements



The <id> element is a required sub-element of the <feed> element. The Atom specification requires that you provide a universally unique identifier for each of your feeds. So how to make this identifier universally unique?

One strategy is to use the URL where the feed document is located. For example, if your Atom feed document is located at:, you use the following id element in this feed document:


2007-05-12, 4623👍, 0💬