Tools, FAQ, Tutorials:
Atom "feed/entry/summary" Element
What is the Atom "feed/entry/summary" element? How To Generate a "feed/entry/summary" element?
✍: FYIcenter.com
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>
2017-11-25, 629👍, 0💬
Popular Posts:
How to create Hello-3.0.epub with WinRAR? I have all required files to create Hello-3.0.epub. To cre...
How to add images to my EPUB books Images can be added into book content using the XHTML "img" eleme...
Can You Specify the "new line" Character in Single-Quoted Strings? You can not specify the "new line...
What is the "__init__()" class method? The "__init__()" class method is a special method that will b...
How to extend json.JSONEncoder class? I want to encode other Python data types to JSON. If you encod...