Thursday 24 December 2015

Rss feed

December 24, 2015

how to generate Rss Feeds for your Website

Make RSS Feeds
Step by Step Make RSS Feeds
Everyday more and more websites, news services and blogs are adding RSS content. RSS is a method of syndicating content.The concept of aggregating content in one central location or repository is very appealing. Consumers have become tired of push technology, RSS allows users the flexibility to regain control of their content. RSS feed creators provide content without forcing it on consumers. In fact with RSS consumers are able to choose the content they wish to view.
How to Make an 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:
  • title
  • description
  • 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 /.
RSS File Appearance
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>
Items
As 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>
RSS Feed Channel
Now an RSS Feed is a series of items, these items are chained together to create what is called a "Channel".
The Channel appears at the top of the file and tells people how the items relate to each other. Like items channels use title, description and link tags to describe its content. The open channel tag <chanel> occurs before the first item and the close tag </channel> occurs after the last item.
<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 Designation
Finally you will need to designate the file by indicating it is an XML file by inserting xml and rss defining tags at the beginning and </rss> at the very end.

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



Validation

As my math teacher use to say, check your work! Once your file is complete and uploaded enter it into the feed validator at http://feedvalidator.org

Syndication / Submission

If you've made it this far you are in good shape it is time to "syndicate" your content! Submit your RSS feed (the xml file you created) to sites just like you would submit a web page. Some of the more popular sites that accept RSS files can be found under on RSS Specifications.

tools  example to generate rss.xml file or feed.xml  file:



(1)http://www.joydeepdeb.com/tools/rss-feeds-generator.html 



(2) http://www.rssgenerator.net/

(1)enter your details for rss file:



(2)then click on  Generate Rss Feed File and get following code given in below image :



rss.xml code  file example  :



<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
   <channel>
      <title>Best Pest Control Service in Mumbai </title>
      <link>http://www.pestcontrolind.com/</link>
      <description>Sadguru Pest Control is an ISO Certified 9001:2008. Sadguru is one of the Best Pest Control Company in Mumbai providing Professional Pest Control Services for Commercial and Residential premises at unbeatable rates.</description>
      <language>english</language>
      <category>Pest Control Service</category>
 <image>
         <title>Sadguru Pest Control</title>
         <url>http://www.pestcontrolind.com/images/logo.png</url>
         <link>http://www.pestcontrolind.com/</link>
      </image>
      <item>
         <title>Best Termite Control Services in Mumbai</title>
         <link>http://www.pestcontrolind.com/</link>
         <description>Sadguru Pest Control is one of the Best Pest Control Company in Mumbai providing Professional Pest Control Services for Commercial and Residential premises at unbeatable rates.</description>
<guid>http://www.pestcontrolind.com/</guid>
      </item>
 <item>
         <title>Best Residential as well as Commercial Pest Control Service in Mumbai</title>
         <link>http://www.pestcontrolind.com/aboutus.html</link>
         <description>We have best pest control management team for our services. We offer 24*7 help line service 9833163355. </description>
<guid>http://www.pestcontrolind.com/aboutus.html</guid>
      </item>
 <item>
         <title>Best Rat Control Service in Mumbai</title>
         <link>http://www.pestcontrolind.com/services.html</link>
         <description> We are best in Pest Control Service.</description>
<guid>http://www.pestcontrolind.com/services.html</guid>
      </item>
 <item>
         <title>Contact us for Sadguru Pest Control Service</title>
         <link>http://www.pestcontrolind.com/contactus.html</link>
         <description>Contact us for Pest Control Service. Call 9833163355 We offer 24*7 help line service.</description>
<guid>http://www.pestcontrolind.com/contactus.html</guid>
      </item>
   </channel>
</rss>

Written by

We are Creative Blogger Theme Wavers which provides user friendly, effective and easy to use themes. Each support has free and providing HD support screen casting.

1 comments:

  1. There are many ways to create a website but however with certain restrictions. Best way I would like to suggest is to know the basics of web designing with html and css and then start creating the website of you choice. #www.bynd.co.in

    ReplyDelete

Trailing Stop Loss in angel one

 

© 2013 Digital Marketing by Om Sir. All rights resevered. Designed by Templateism

Back To Top