WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Accespted RSS feed on Wed Jun 15, 2011 2:15 am

Unknown Data


Registered Member
Registered Member
RSS feed
Make your own RSS feed


RSS is an abbrevation of "Rich Site Summary", "RDF Site Summary" or "Really Simple Syndication" (The last one is mostly used). All the different names have an insight in the codinghistory, like the different versions of RSS like "0.90", "1.0", "2.0" etc.
The filename on a newsfeed will always have the suffix ".rdf", ".xml" or ".rss".

To not confuse you to much, can I say, that RSS is a XML document, and because of that, will all RSS documents start with a XML declaration.
Code:
<?xml version="1.0" ?>

Actually is a RSS document buils like a HTML document, just with som other tags. That's how easy it is.
Code:
<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="2.0">

<channel>

<item>
   <title></title>
   <link></link>
   <description></description>
</item>

</channel>

</rss>

^That's an usual example of a RSS document. Now i'll try to explain it to you.

The first line indicates that we use XML version 1.0 and the encoding/charset is indicated to iso-8859-1, which I from europe normally uses.
The next line indicates the version of the RSS which is 2.0.
<channel> is (as it stands) indicating the the chanel - the source of the news.
<item> is a point that tell us "here do we start the news".
<title> is the title of the news.
<link> is the link to the news itself.
<description> is a short description of the news.

We can also insert an image, which can be placed after the above code-example.
Code:
<image>
  <title>A news from us!</title>
  <url>http://www.domain.com/image.png</url>
  <link>http://www.domain.com</link>
</image>

with <image> we indicates we uses an image. After that do we use <title> to make a title, <url> to create our image with the link inside the tags, and <link> to set a link.

That was actually it. But remember! You also need to make a "News Aggregator" or "RSS-Client" to read and recieve your newsfeeds. But I think the most hosts already have one, so just contact them, if you doubt.

Notice : This tutorial is copyrighted by WebArtz Forum. You may not publish it on anywhere without written permission from the administrators.

http://www.sjovfakta.dk

2Accespted Re: RSS feed on Wed Jun 15, 2011 6:20 pm

RockerMan


WebArtz Technician
WebArtz Technician
Great job UD

Tutorial Accepted


_________________


No support via. PM, as they will just be deleted
http://www.graphics-post.com/

3Accespted Re: RSS feed on Thu Jul 14, 2011 8:06 pm

Unknown Data


Registered Member
Registered Member
Thank you! Very Happy

http://www.sjovfakta.dk

4Accespted Re: RSS feed on Fri Jul 15, 2011 7:47 am

Aashik


Registered Member
Registered Member
You are great as always UD, thanks for the tut Smile

5Accespted Re: RSS feed on Fri Jul 15, 2011 4:54 pm

Unknown Data


Registered Member
Registered Member
No problem and thank you Very Happy

http://www.sjovfakta.dk

6Accespted Re: RSS feed on Tue Jul 26, 2011 12:46 pm

palmgeo


Registered Member
Registered Member
Thank you so much for the tutorial.

http://www.palmgeo.com

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum