Can One Atom Feed Document Have Multiple Entries

Q

Can One Atom Feed Document Have Multiple Entries? - RSS FAQs - Atom Feed File Structure and Elements

✍: FYIcenter.com

A

Yes. One Atom feed document can have multiple entries. Here is a good example:

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
 <title>The Most Popular FAQ Entries for Webmasters</title>
 <subtitle>The top 3 popular 
  entries of this week on our comprehensive collection 
  of Webmaster FAQs.</subtitle>
 <link rel="self" 
  href="http://dev.fyicenter.com/faq/top_3_atom.xml"/>
 <id>http://dev.fyicenter.com/faq/top_3_atom.xml</id>
 <updated>2005-07-13T18:30:02Z</updated>
 <author>
  <name>FYIcenter.com</name>
  <email>noreply@fyicenter.com</email>
 </author>
 <category term="faq"/>
 <category term="webmaster"/>
 <entry>
  <title>Atom Feed Introduction and File Generation</title>
  <link rel="alternate" 
   href="http://dev.fyicenter.com/faq/rss/index.html"/>
  <id>http://dev.fyicenter.com/faq/rss/index.html</id>
  <updated>2005-07-13T18:30:02Z</updated>
  <summary>A collection of
  16 FAQs on Atom feed file standard. Clear answers are 
  provided with tutorial samples on introduction to Atom 
  feed file standard; various ways to generate Atom feeds; 
  linking Atom feeds to Web pages.</summary>
  <category term="faq"/>
  <category term="atom"/>
 </entry>
 <entry>
  <title>Understanding and Using Sessions in PHP Scripts
  </title>
  <link rel="alternate" 
   href="http://dev.fyicenter.com/faq/php/index.html"/>
  <id>http://dev.fyicenter.com/faq/php/index.html</id>
  <updated>2005-07-13T18:30:02Z</updated>
  <summary>A collection of 19 tips on understanding and 
  using sessions in PHP. Clear explanations and tutorial 
  exercises are provided on starting and closing sessions, 
  saving and retrieving values in sessions, deciding how 
  session IDs to be transferred, deciding where to store 
  session files, deciding when to expire session values, 
  etc.</summary>
  <category term="faq"/>
  <category term="php"/>
 </entry>
 <entry>
  <title>Page Layout and Background Image Design with CSS
  </title>
  <link rel="alternate" 
   href="http://dev.fyicenter.com/faq/css/index.html"/>
  <id>http://dev.fyicenter.com/faq/css/index.html</id>
  <updated>2005-07-13T18:30:02Z</updated>
  <summary>A collection of 18 FAQs/tutorials tips on 
  designing Web page layouts and background images. 
  Clear answers are provided with tutorial exercises 
  on screen and browser resolutions, setting Web page 
  width in absolute and relative length units, setting 
  images and font sizes in relative length units, adding 
  multiple background images.</summary>
  <category term="faq"/>
  <category term="css"/>
 </entry>
</feed>

2007-05-12, 4616👍, 0💬