Tutorials, Articles, SEO, CMS, MySQL - Unofficial 110MB Support Center
Article Search:
Navigation
Home
Articles / How-To's
Downloads
110MB Upgrades
Support Forum
Useful links
Search
Site Map
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Things to Do
Forum Threads
Newest Threads
SEO, Using anchor te...
Official PHP Fusion ...
Box 12
any postions open :P ?
How To Save Time By ...
Hottest Threads
Official PHP Fusi... [7]
any postions open... [7]
Box 12 [4]
Do you have what ... [4]
Add these downloads [3]
Users Online
Guests Online: 3
No Members Online

Registered Members: 75
Newest Member: go2
Latest Articles
To protect your images...
How to add your site t...
Nwwl Redirect
Create custom error pa...
SMF 2.0 Beta 3 with SQ...
phpBB3 "Olympus" Relea...
PHP and MySQL security
How to install E107
Wordpress update the e...
Making your own RSS feed
Making your own RSS feed
You want to make your OWN RSS Feed? I was googling and found: http://www.petefreitag.com.

I used it to make my very own RSS Feed at http://nscportal.uni.cc I will show you the tutorial on how to make the RSS Feed and how to make your Browser Detect that RSS Feed which the tutorial does not show =D
I will make this first part short and sweet and to the point, I will try to be as clear as I can ;)
Open up your Favorite Text Editor(NotePad2 is good) and put this code in it:

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>TITLE OF YOUR RSS FEED</title>
<link>LINK TO YOUR SITE</link>
<description>DESCRIPTION OF YOUR RSS FEED</description>
<lastBuildDate>LAST TIME UPDATED - LOOK BELOW FOR FORMAT</lastBuildDate>
<language>en-us</language>
<item>
<title>TITLE OF ITEM</title>
<link>LINK TO ITEM</link>
<guid>LINK TO ITEM</guid>
<pubDate>THE PUBLISH DATE - SAME FORMAT AS LASTBUILDDATE</pubDate>
<description>THE DESCRIPTION OF THE ITEM</description>
</item>
<!-- MORE ITEMS CAN GO HERE TO THE NEWEST AT THE TOP OF COURSE -->
</channel>
</rss>



Here is the Time Format:

Mon, 12 Sep 2005 18:37:00 GMT

Example: The Day of the Week Abreviated with the first 3 letters, then Day of the Week(If it is the first put in 01, the second 02 but in double digits you dont add the zero so if it is the 23 you just put in 23), The first three letters of the Month, The Year, The Time(If it is 1 am put 01:00:00 GMT, and so on)(If it is the afternoon say 1 PM you do 13:00:00 GMT)(Timezones: You can Choose your timezone and it will recacluate back to GMT so if you are GMT +8 you would instead of GMT Put +0800, If you are GMT -8 you would do -0800, in that fashin ;))

Now save that code above that you edited as rss.xml then upload the file to your Root Directory.

Here is the part not in the original tutorial! Making browsers Detect the RSS Feed and Making things such as FeedBurner detect them. It is Super easy. Open up your index.html, index.php or whatever it may be and all the other pages you want the browsers to detect the RSS Feed and put in this simple code into your <HEAD> Tags:

<link rel="alternate" type="application/rss+xml" title="RSS FEED NAME HERE!" href="rss.xml" />

Save them upload them and go to http://feedvalidator.org and type in your URL and it should validate. Then Enjoy your own RSS Feed :D

Written by Aldo from the 110mb support forum

Posted by Diemux on February 28 2008 23:53:06 791 Reads · Print
Copyright © The Unofficial 110MB Support Center 2007
Theme based on Valencia, created by PHP Fusion Themes