How we can easily create a RSS on xml?
Create your own RSS-channels for any website or separate sections – news, blogs, ads, files and others.Additionally, our generator allows creating full-text RSS-feeds to export data into Yandex.News (format xmlns:yandex, containing element <yandex:full-text>).
RSS-channel creation procedure is very simple:
Choose a page of your website, where the content is regularly updated (for example, news page).
Convert it into RSS-feed. To automatically update RSS-feed – create updateable RSS-channel in your account.
Attract subscribers by providing RSS-channel on your website and promoting it into popular online-aggregators!
Generate RSS-feeds for free or create updateable RSS-channels:
- personal news
- website sections
- search results
How to create RSS ??
Step 1: XML Declaration Since RSS 2.0 must validate as XML, the first line in your rss feed must be the XML declaration.<?xml version="1.0" encoding="utf-8"?>
Step 2: RSS Channel. In this step we need to open up the rss tag, and the channel tag, all of your feed content goes inside these tags.
<rss version="2.0">
<channel>
Step 3: RSS Feed Information.
Next you place information about your RSS feed such as the title of it, the description, and a link to the the site.
<title>The title of my RSS 2.0 Feed</title>
<link>http://www.example.com/</link>
<description>This is my rss 2 feed description</description>
<lastBuildDate>Mon, 12 Sep 2005 18:37:00 GMT</lastBuildDate>
<language>en-us</language>
Step 4: RSS Items
Next we enumerate over each RSS item, each item has a title, link, and description, publication date, and guid.
<item>
<title>Title of an item</title>
<link>http://example.com/item/123</link>
<guid>http://example.com/item/123</guid>
<pubDate>Mon, 12 Sep 2005 18:37:00 GMT</pubDate>
<description>[CDATA[ This is the description. ]]</description>
</item>
Step 5: Close Channel and RSS tags.
</channel>
</rss>
Step 6: Validate your feed
Validate your feed using FeedValidator.org.

0 comments:
Post a Comment