It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming XML Forum Script-archive

RSS

Share your completed scripts.

RSS

Postby Johnathan on Sun May 04, 2008 9:06 pm

There was nothing in here so just thought I'd post the XML for making an RSS feed for anyone who needs or wants it :P.


Code: Select all
<?xml version="1.0"?>
<rss version="2.0">
<channel>

<title>Feed Title</title>
<description>Feed Discription.</description>
<link>http://www.example.com</link>

<item>
<title>Title</title>
<description>Text you want the reader to see in his/her RSS reader.</description>
<link>http://www.example.com/example.html</link>
</item>
</channel>
</rss>

Johnathan
1000+ Club
 
Posts: 1207
Joined: Thu May 31, 2007 3:28 pm
Location: Belfast, Northen Ireland

Valid RSS feed code.

Postby DDragon on Wed Aug 20, 2008 10:30 am

This is a compleatly valid RSS feed code as stated by the W3C rss feed validator:

Code: Select all
<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link href="http://dallas.example.com/rss.xml" rel="self" type="application/rss+xml" />

<title>Feed Title</title>
<description>Feed Discription.</description>
<link>http://www.example.com</link>

<item>
<title>Title</title>
<description>Text you want the reader to see in his/her RSS reader.</description>
<link>http://www.example.com/example.html</link>
<guid>http://www.example.com/example.html</guid>
</item>
</channel>
</rss>


Make sure you change the appropriate fields to suit your RSS feed.

DD

(Thanks to Johnathan for the original code)[/code]
DDragon
50+ Club
 
Posts: 93
Joined: Wed Jun 20, 2007 12:51 am
Location: Australia

Postby Johnathan on Sat Aug 23, 2008 12:09 am

Thank you DDragon.
Johnathan
1000+ Club
 
Posts: 1207
Joined: Thu May 31, 2007 3:28 pm
Location: Belfast, Northen Ireland


Who is online

Users browsing this forum: No registered users and 0 guests

cron