how to create rss feed

16
HOW TO CREATE RSS FEEDS AND CHECK IF IT IS VALID

Upload: tanuja-talekar

Post on 21-Feb-2017

56 views

Category:

Education


1 download

TRANSCRIPT

Page 1: How to create rss feed

HOW TO

CREATE RSS FEEDS

AND CHECK

IF IT IS VALID

Page 2: How to create rss feed

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.

Page 3: How to create rss feed

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 /.

Page 4: How to create rss feed

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>

Page 5: How to create rss feed

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.

Page 6: How to create rss feed

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

or

Page 7: How to create rss feed

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

Page 8: How to create rss feed

Fill up details of your website

12

3

4

Rememer to give your image url for your website here

Page 9: How to create rss feed

Lets add feeds(your webpages) now

Page 10: How to create rss feed

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

Page 11: How to create rss feed

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

Page 12: How to create rss feed

Save it as rss.xml

Page 13: How to create rss feed

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

Page 14: How to create rss feed

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

Type your address

Page 15: How to create rss feed

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”

Page 16: How to create rss feed

THANK YOU