Information Technology Reference
In-Depth Information
Fill in the blanks
he actual content summaries from your Web site are contained in items,
which look like Script 14.3 .
Script 14.3
the items.
<item>
<title>A very interesting report</title>
<link>http://www.example.com/marvelouswebsite/very_interesting_
report.html</link>
<description>A description of a very interesting report, or your
full content.
</description>
<pubDate>Mon, 04 Dec 2006 22:22:20 GMT</pubDate>
</item>
You'll have to customize an item for each of your RSS feeds:
. Title. Title of your item.
. Link. A direct link to the item. his can be a ile or an anchor within
a ile.
. Description. his is a little misleading. Yes, this can be a description
of your item, but it can also be the item itself, spread out over several
paragraphs. If you want to include all your content in your RSS feed,
put your unabbreviated content here.
. PubDate. he date the item was published.
Lather, rinse, repeat
For each bit you want to include of your Web site, you'll need to generate
an item. So in a plain text ile you'd put the feed's header, an item for each
story you're going to include in the RSS feed, and then the footer. You can
theoretically include as many items as you like, but I'd limit it to 15 or 20.
I actually did this once a week (for a couple of years!) for a Web site that
doesn't generate an RSS feed. Here's how I did it: I had an RSS feed template.
Every week I changed all the dates via my text editor's search-and-replace
Search WWH ::




Custom Search