Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How To Generate a Feed Entry summary Element
How To Generate a Feed Entry summary Element? - RSS FAQs - Atom Feed File Structure and Elements
✍: 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>
2007-05-12, 5417👍, 0💬
Popular Posts:
What is difference between custom JSP tags and JavaBeans? Custom JSP tag is a tag you defined. You d...
What is hashing? To hash means to grind up, and that's essentially what hashing is all about. The he...
Can a variable be both const and volatile? Yes. The const modifier means that this code cannot chang...
How many types of validation controls are provided by ASP.NET ? There are six main types of validati...
What are some advantages and disadvantages of Java Sockets? Advantages of Java Sockets: Sockets are ...