Legal Information
PC Knowledge Base - The Template File

Good Knowledge Is Good2Use

In order to create an RSS feed. we need to understand the makeup of the "rss.xml" file. This is best done by having a template to understand the makeup. The following goes from the simple to the more complicated.
First point to remember. The template below does NOT include all possible options and/or variations. In order to discover all the technical details and possibilities about XML, try www.feedvalidator.org/docs/rss2.html. This will lead you slowly and surely into the possibilities of RSS template creation and all its permutations.

All the commands like HTML are enclosed in '<' '>' as you can see below. Some commands demand that the "command" or "code" be placed between the < opening and the ending > such as the first line in the template: Other commands demand a beginning and an end marker such as

<item> </item>

As in HTML the marker with the / (slash) such as </item> tells XML you are at the end of the entry marked as <item>
First the Template then we will begin to divide it up.

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/css' >
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">

<channel>

<title>" "</title>

<description>" "</description>

<copyright>" "</copyright>

<link>" "</link>

<language>" "</language>

<lastBuildDate>" "</lastBuildDate>

<image>

<title>" "</title>

<width></width><height></height>

<link></link>

<url></url>

</image>

<item>

<title></title>

<link></link>

<dc:creator></dc:creator>

<pubDate></pubDate>

<description></description>

</item>

</channel>

</rss>

Lets divide this template up into THREE sections.



Search Knowledge Base Feedback
If you like our web site refer a friend.
Your friends name.
Your friends email address.
Your Name
Your Email Address


© Copyright 1998-1999 GOOD2USE