Adding Items to a Feed

The items are the individual articles that will show up in an aggregator. They can either be a teaser with a link to the full article, or they can include the entire story.

Figure 25.6. The item elements describe the individual articles in your RSS feed.

To add items to a feed:

1.
After the final element in the introductory section, as described on pages 380381, begin the first article by typing <item>.
2.
Describe your item by using one or more of the following elements. Again, use the syntax <tag>content</tag>: Use the <title> element to identify each item in your feed. Use the <link> element to point your visitors ...

Get HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.