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

RSS Tutorials - Generating a Feed Entry summary Element

By: FYIcenter.com

(Continued from previous topic...)

How To Generate a Feed Entry summary Element?

The <summary> element is not a required sub-element of the <entry> element. But it is strongly recommended that you provide a summary element for each of your feed entries. You should follow the same rules on Web page description meta elements to generate your Atom feed entry summary elements.

One strategy is to use the same value of the description meta element as the Web page that your Atom feed entry is based on. For example, if one your FAQ page is selected as a feed entry in Atom feed document, That Web page has the following description meta element:

 <meta name="description" content="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."/> 

You should simply borrow value from the description meta element of that page to generate feed entry summary element:

 <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>

(Continued on next topic...)

  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...