|
|
Author: John Fowler
Now let's take a look at how items are built:
<item>
<title></title>
<link></link>
<description></description>
<pubDate></pubDate>
</item>
Let's examine how to embed a couple of items in our galactic news feed:
<channel>
<title>Galactic News</title>
<link>http://www.galacticnews.scf/rss/</link>
<description>Galactic news delivers up-to-the-minute news and information on the
latest top stories, in the Milky Way galaxy</description>
<language>en-us</language>
<copyright>© 2004 MW News Network inc.</copyright>
<pubDate>Wed, 14 Jan 2004 11:17:12 GST</pubDate>
<ttl>5</ttl>
<image>
<title>Galactic News</title>
<link>http://www.galacticnews.scf/rss/</link>
<url> http://www.galacticnews.scf/rss/galactic-news-logo.png</url>
<width>100</width>
<height>40</height>
<description> Galactic news delivers up-to-the-minute news and information on the
latest top stories, in the Milky Way galaxy </description>
</image>
<item>
<title>Galactic press conference: Martian King to visit earth next month</title>
<link>http://www.galacticnews.scf/news/14012004/464.html</link>
<description>The king of Mars will make an historic visit to earth. According to
government officials the majesty is expected to arrive some time next month
accompanied by a whole bunch of 'green little men'.<description>
<pubDate>Wed, 14 Jan 2004 02:34:22 GST</pubDate>
</item>
<item>
<title> Peace talks between Milky way and Andromeda to resume soon</title>
<link>http://www.galacticnews.scf/news/14012004/462.html</link>
<description> Representatives of the two galaxies will meet on a near by quasar
to try and bring to an end the latest conflict between the two
galaxies<description>
<pubDate>Wed, 14 Jan 2004 01:15:46 GST</pubDate>
</item>
</channel>
|
|