Home >> FAQs/Tutorials >> RSS Tutorials >> Index

RSS Tutorials - Multiple Entries in One Atom Feed Document

By: FYIcenter.com

(Continued from previous topic...)

Can One Atom Feed Document Have Multiple Entries?

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>

  1. Are Atom Feed Files XML Documents?
  2. How Many Document Types Are Defined for Atom Feed Files?
  3. What Is the Structure of Atom Feed Documents?
  4. What Are Sub-elements of the feed Element?
  5. How To Generate a Feed title Element?
  6. How To Generate a Feed subtitle Element?
  7. How To Generate a Feed link Element?
  8. How To Generate a Feed id Element?
  9. How To Generate a Feed update Element?
  10. How To Generate a Feed author Element?
  11. How To Generate a Feed category Element?
  12. What Are Sub-elements of the entry Element?
  13. How To Generate a Feed Entry link Element?
  14. How To Generate a Feed Entry title Element?
  15. How To Generate a Feed Entry summary Element?
  16. Can One Atom Feed Document Have Multiple Entries?

Selected Developer Jobs:

More...