Atom "feed/entry/title" Element

Q

What is the Atom "feed/entry/title" element? How To Generate a "feed/entry/title" element?

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

 

Atom Specification - RFC 4287

⇒⇒RSS FAQ and Tutorials

2017-11-25, 148👍, 0💬