how to create rss feed for your website

Post on 21-Feb-2017

139 Views

Category:

Education

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

HOW TO

CREATE RSS FEEDS

AND CHECK

IF IT IS VALID

WHAT IS RSS FEED ?

An RSS feed is a resource that shows the latest content from a source and the main thing about RSS is that it automatically updated.

By submitting an RSS feed to different directories, you provide another way for your blog content to get syndicated and to distribute your backlinks.

RSS feeds contain what are referred to as "items". The items are usually connected in some way and contain a common theme or other similarity.

The following feed http://www.notepage.net/feed.xml contains items. The items are all SMS and paging related news articles that would likely benefit someone interested in the wireless market.

Each item contains:

1) title

2) description

3) link

The title and description should be written to describe the content and the link should reference the webpage that contains that actual content.

Like html, the xml file uses open and close tags to designate the title, description and link. Tags are enclosed in brackets <>, like standard html and the close tag contains a forward slash /.

The following is what an item in a xml file looks like:

<title>The Title Goes Here</title><description>The description goes here</description><link>http://www.linkgoeshere.com</link>ItemsAs I mentioned earlier, an RSS feeds contains items and like the tags above, an open and close tag is used to distinguish between items.<item><title>The Title Goes Here</title><description>The description goes here</description><link>http://www.linkgoeshere.com</link></item><item><title>Another Title Goes Here</title><description>Another description goes here</description><link>http://www.anotherlinkgoeshere.com</link></item>

BASIC SYNTAX OF AN RSS FEED

<?xml version="1.0"?><rss version="2.0">

<channel><title>The Channel Title Goes Here</title>

<description>The explanation of how the items are related goes here</description><link>http://www.directoryoflinksgohere</link>

<item><title>The Title Goes Here</title>

<description>The description goes here</description><link>http://www.linkgoeshere.com</link>

</item><item>

<title>Another Title Goes Here</title><description>Another description goes here</description>

<link>http://www.anotherlinkgoeshere.com</link></item>

</channel></rss>

When you save the file be sure to save it as an xml file.

You can write the code for rss feed

manually .

You can create rss feed using

online tool too.

Lets see how to do that using online tool

Go to : http://www.joydeepdeb.com/tools/rss-feeds-generator.html

Fill up details of your website

12

3

4

Rememer to give your image url for your website here

Lets add feeds(your webpages) now

You will get a message like this when you add a new feed.

Once all your feeds(web pages) are added. Click on generate feed.Copy that code and save it in as “rss.xml”

Save it as rss.xml

Upload it to your websites top level directory example : www.example.com/rss.xml

Check if it uploaded on your website . You should see the following screen if it was uploaded successfully.

Type your address

Now go to www.feedvalidator.org to check whether your feed is valid or not. Just add the url of your website eg : www.example.com/rss.xml and

click on “Validate”

THANK YOU

top related