HOWTO: Create An RSS New Feed For Your Power Tab Related Web SiteArticle ID: | 000103 | Category: | Web Site/Online Issues | Applies to: | Power Tab Webmasters | Created: | 27-May-2003 | Last updated: | 28-May-2007 | Revision number: | 23 | Author(s): | Brad Larsen |
Summary
This article demonstrates how to create an RSS news feed for your Web site so that you can keep users informed of the latest news and updates on your site. If you are unfamiliar with the concept of RSS news feeds, you should read the primer article listed in Related Links before continuing.
More Information
Rather than re-invent the wheel, I decided to link to an offsite tutorial that details how to create your own RSS news feed. To view the tutorial, click the following link:
Power Tab Related RSS News Feed Example
The following is a example of what a Power Tab related RSS news feed file might look like. You can use it as a template for your own feed, but ultimately the content and format is left up to you.
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="0.91">
<channel>
<title>Joe's Power Tab Site</title>
<link>http://www.joessite.net</link>
<description>A blues and jazz Power Tab site with personal transcriptions created by Joe.</description>
<language>en-us</language>
<pubDate>26 May 2003</pubDate>
<webMaster>webmaster@joessite.net</webMaster>
<item>
<title>[News] - Site Shutdown</title>
<link>http://www.joessite.net</link>
<description>The site will be down this weekend while I perform upgrades.</description>
<pubDate>Fri, 30 May 2003 08:40:00 GMT</pubDate>
</item>
<item>
<title>[New] - Red Heat (Joe's Band)</title>
<link>http://www.joessite.net/redheat.html</link>
<description>I've added a new song. It's a transcription of my band's latest effort, Red Heat.</description>
<pubDate>Fri, 30 May 2003 06:40:00 GMT</pubDate>
</item>
<item>
<title>[Update] - Black in Back (Joe's Band)</title>
<link>http://www.joessite.net/blackinback.html</link>
<description>I've updated our band's song Black in Back by adding the complete bass score.</description>
<pubDate>Thu, 29 May 2003 06:40:00 GMT</pubDate>
</item>
<item>
<title>Site Officially Operational</title>
<link>http://www.joessite.net</link>
<description></Joe's Power Tab Web site has officially opened!>
<pubDate>Mon, 26 May 2003 07:05:00 GMT</pubDate>
</item>
</channel>
</rss>
Here's how the above feed would look to a user in an RSS aggregator:
Working with Time Zones
If you use a time zone in your dates, use the text format GMT, EST, PST, etc. Any other format (+0500, -0400, GMT-05, etc.) may cause the site listing code to ignore your update feed. For a list of allowable time zone values, see http://www.gnu.org/software/tar/manual/html_node/Time-zone-items.html#Time-zone-items.
[Back to Top]
|