Information Technology Reference
In-Depth Information
Script 14.1
the header. 
<?xml version=”1.0” ?>
<rss version=”2.0” xmlns:dc=”http://purl.org/dc/elements/1.1/
” xmlns:sy=”http://purl.org/rss/1.0/modules/syndication/
” xmlns:admin=”http://webns.net/mvcb/” xmlns:rdf=
”http://www.w3.org/1999/02/22-rdf-syntax-ns#” xmlns:content=
”http://purl.org/rss/1.0/modules/content/”>
<channel>
<title>Your Marvelous Web Site</title>
<link>http://www.example.com/marvelouswebsite</link>
<description>Describe Your Site Here</description>
<language>en-us</language>
<pubDate>Mon, 04 Dec 2006 22:22:20 GMT</pubDate>
<copyright>Copyright 2006 You</copyright>
<lastBuildDate>Mon, 04 Dec 2006 22:22:20 GMT</lastBuildDate>
. Language. he primary language in which your content is generated.
he above example shows American English. You can get a list of
the language codes you can use in your feed at msdn.microsot.com/
workshop/author/dhtml/reference/language_codes.asp.
. PubDate. he date your feed was published.
Copyright. Whatever copyright disclaimer you want to make about
your content.
.
LastBuildDate. he date your content was last revised.
At the end of your RSS feed you'll need your footer ( Script 14.2 ), which is
very simple. hat you can leave as it is.
.
Script 14.2
the footer.
</channel>
</rss>
 
Search WWH ::




Custom Search