RSS Feeder
How to make an easy RSS feeder to let all bloodies know in the world wide world what rubbish I create here.
Acutally I just want do something easy today, because its the 29.February ;)
Thats really easy...such some lines...
Create an "rss"-file and add your news into it. Be sure that "guid" entry number is unique and continuous.
duriaan.rss
<?xml version="1.0"
encoding="ISO-8859-1"?>
<rss version="2.0">
<channel>
<title>duriaan.ch RSS</title>
<link>http://www.duriaan.ch</link>
<description>duriaan's RSS Feeds</description>
<language>en-en</language>
<copyright>duriaan.ch</copyright>
<pubDate>28.02.2008</pubDate>
<image>
<url>http://www.duriaan.ch/images/DuriaanIcon.jpg</url>
<title>duriaan</title>
<link>http://www.duriaan.ch</link>
</image>
<item>
<title>iPhone example</title>
<description>iPhone HelloWorld example</description>
<link>http://www.duriaan.ch/iphone.html</link>
<author>V:T</author>
<guid>1</guid>
</item>
<item>
<title>RSS Feed example</title>
<description>How to make your own RSS Feeder</description>
<link>http://www.duriaan.ch/rss_feeder.html</link>
<author>V:T</author>
<guid>2</guid>
</item>
</channel>
</rss>
In your "index.html" add this line to your header stuff.
index.html
<html>
<head>
<link rel="alternate"
type="application/rss+xml" title="RSS"
href="duriaan.rss" />
.
.
Thats all fellow...go home now and look for my watercow...
|