Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

How To: RSS feeds


How To: RSS feeds

By ghostghost | 5322 Reads |
0     0

##############################################

Creating RSS feeds tutorial By Turbocharged_06

##############################################

O.K. Today i will teach and show you how to create and maintain an RSS feed. RSS is a format for syndicating news and the content of news-like sites, including major news sites like Wired, news-oriented community sites like Slashdot, and personal weblogs. But it's not just for news. Pretty much anything that can be broken down into discrete items can be syndicated via RSS: the "recent changes" page of a wiki, a changelog of CVS checkins, even the revision history of a book. Once information about each item is in RSS format, an RSS-aware program can check the feed for changes and react to the changes in an appropriate way. RSS-aware programs called news aggregators are popular in the weblogging community. Many weblogs make content available in RSS. A news aggregator can help you keep up with all your favorite weblogs by checking their RSS feeds and displaying new items from each of them.–quoted from xml.com

Now on to creating our very first rss feed. To create a feed you are required to have the following items: A Title A Description A Link XML Type RSS type This would look like this on your feed.rss

<title>Our Very First RSS Feed</title> <description>Testng my first RSS feed</description> <link>http://www.example.com/test.html</link>

You also have to add this at the top of your xml document. <?xml version="1.0" ?> <rss version="2.0"> <channel> <language>en</language> *if the feed is in a different language find the notation for it at the end of this article so your document would now look like this:

<?xml version="1.0" ?> <rss version="2.0"> <channel> <language>en</language> <title>Our Very First RSS Feed</title> <description>Testng my first RSS feed</description> <link>http://www.example.com/test.html</link>

The first title is the feeds main title. The Description Shows Up right under the title. The link is the main websites link.

After we add all these objects we must now add items to our RSS feed. to add an item to our feed we have to type <item> at the beginning of our first topic in our feed. After you do this, you are going to add the same thing as we did before. we are going to add <title>Topic One</title> <link>http://www.example.com/Topic1.html</link> <description>Topic One is About ….</description> Now if we were to add more topics then we would add an <item> tag then we would add a <title> a <link> and a <description>.

At the end of our document we have to put </channel> </rss>

So our RSS feed would look like:

<?xml version="1.0" ?> <rss version="2.0"> <channel> <language>en</language> *if the feed is in a different language find the notation for it at the end of this article so your document would now look like this:

<?xml version="1.0" ?> <rss version="2.0"> <channel> <language>en</language> <title>Our Very First RSS Feed</title> <description>Testng my first RSS feed</description> <link>http://www.example.com/test.html</link> <item> <title>Topic One</title> <link>http://www.example.com/Topic1.html</link> <description>Topic One is About ….</description> <item> <title>Topic Two</title> <link>http://www.example.com/Topic2.html</link> <description>Topic Two is About ….</description> </channel> </rss>

Now to have people subscribe to your feed, you need to advertise it. You can add your feed to google and other major search engines. You also have to add a link to your feed on your website and put the following in the header of your index page

<link rel="alternate" type="text/xml" title="MY WEBSITE - RSS Feed" href="/location of feed.rss"> this will show up as the rss icon in the url of your web browser.


Allowable values for language in RSS Afrikaans: af

Albanian: sq

Basque: eu

Belarusian: be

Bulgarian: bg

Catalan: ca

Chinese (Simplified): zh-cn

Chinese (Traditional): zh-tw

Croatian: hr

Czech: cs

Danish: da

Dutch: nl

Dutch (Belgium): nl-be

Dutch (Netherlands): nl-nl

English: en

English (Australia): en-au

English (Belize): en-bz

English (Canada): en-ca

English (Ireland): en-ie

English (Jamaica): en-jm

English (New Zealand): en-nz

English (Phillipines): en-ph

English (South Africa): en-za

English (Trinidad): en-tt

English (United Kingdom): en-gb

English (United States): en-us

English (Zimbabwe): en-zw

Estonian: et

Faeroese: fo

Finnish: fi

French: fr

French (Belgium): fr-be

French (Canada): fr-ca

French (France): fr-fr

French (Luxembourg): fr-lu

French (Monaco): fr-mc

French (Switzerland): fr-ch

Galician: gl

Gaelic: gd

German: de

German (Austria): de-at

German (Germany): de-de

German (Liechtenstein): de-li

German (Luxembourg): de-lu

German (Switzerland): de-ch

Greek: el

Hawaiian: haw

Hungarian: hu

Icelandic: is

Indonesian: in

Irish: ga

Italian: it

Italian (Italy): it-it

Italian (Switzerland): it-ch

Japanese: ja

Korean: ko

Macedonian: mk

Norwegian: no

Polish: pl

Portuguese: pt

Portuguese (Brazil): pt-br

Portuguese (Portugal): pt-pt

Romanian: ro

Romanian (Moldova): ro-mo

Romanian (Romania): ro-ro

Russian: ru

Russian (Moldova): ru-mo

Russian (Russia): ru-ru

Serbian: sr

Slovak: sk

Slovenian: sl

Spanish: es

Spanish (Argentina): es-ar

Spanish (Bolivia): es-bo

Spanish (Chile): es-cl

Spanish (Colombia): es-co

Spanish (Costa Rica): es-cr

Spanish (Dominican Republic): es-do

Spanish (Ecuador): es-ec

Spanish (El Salvador): es-sv

Spanish (Guatemala): es-gt

Spanish (Honduras): es-hn

Spanish (Mexico): es-mx

Spanish (Nicaragua): es-ni

Spanish (Panama): es-pa

Spanish (Paraguay): es-py

Spanish (Peru): es-pe

Spanish (Puerto Rico): es-pr

Spanish (Spain): es-es

Spanish (Uruguay): es-uy

Spanish (Venezuela)es-ve

Swedish: sv

Swedish (Finland): sv-fi

Swedish (Sweden): sv-se

Turkish: tr

Ukranian: uk

This article was created by Turbocharged_06 and cannot be reproduced unless approved by the author.

Comments
ghost's avatar
ghost 17 years ago

Actually it was a triple post originally until that last post, which made it a quadruple post.

ghost's avatar
ghost 17 years ago

what?:happy:

ghost's avatar
ghost 17 years ago

perfect for a cookie stealer:D