How To Generate a Feed Entry title Element

Q

How To Generate a Feed Entry title Element? - RSS FAQs - Atom Feed File Structure and Elements

✍: FYIcenter.com

A

The <title> element is a required sub-element of the <entry> element. The title element should contain a short but human readable title of the feed entry. You should follow the same rules on Web page title elements to generate your Atom feed entry title elements.

One strategy is to use the same title as the Web page that your Atom feed entry is based on. For example, if one of your page is included as an entry in your Atom feed document, and that page has a title called: "Atom Feed Introduction and File Generation". Now you want to generate an Atom feed for that Web page. Obviously, you should the same title as that page:

 <title>Atom Feed Introduction and File Generation</title>

2007-05-12, 4767👍, 0💬