Is there anybody can tell that how to creat RSS feed for Static site(HTML)?

Recommended Answers

All 6 Replies

If everthing is static, just manually adjust your feed too. If you want to script it, that's possible too. You'll need to make something to load/parse your html files.

The primary purpose of an RSS feed is to show new content as it's created for a dynamic site. If you have a static site, just create all of the items of the feed you need and upload the file with a .xml or .rss extension.

Basically Rss create for news feed.It create by devloper with RSS and XML.ext......

*********RSS is abrivation of "Real simple syndication" also some time call Rich site summary.RSS is basically xml formate for the contents distribution.Webmaster create RSS containing the hinding and discriptions of new and specific information .it is best source to spread the site contents in all over the world .
if you have little skills in php and xml then you surely create RSS.According to my point of view.Thanks*********

There are a lot of online tools that can help you build your RSS feed. However, if you have a static page and you want to create one manually as suggested by Dani, you can easily to so by generating an XML file and creating the proper structure for an RSS reader to be able to use your file. There are a few different elements that you can use in your structure, but here is an example of a simple one that I have used in the past. You can create it manually, or you can generate this type of output using a server side scripting language such as ASP.NET (ASP.NET Example-Create an RSS Feed) PHP, etc...

Example of XML file for an RSS Feed
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
 <title>RSS Title</title>
 <description>This is an example of an RSS feed</description>
 <link>http://www.domain.com/default.html</link>
 <copyright>(c) 2013, All rights reserved.</copyright>
 <ttl>1800</ttl>

 <item>
  <title>Example Entry 2</title>
  <description>Here is some text containing a description.</description>
  <link>http://www.domain.com/article/2/</link>
  <pubDate>Mon, 11 Mar 2013 16:45:00 +0000 </pubDate>
  <guid>http://www.domain.com/article/2/</guid>
 </item>

 <item>
  <title>Example Entry 1</title>
  <description>Here is some text containing a description.</description>
  <link>http://www.domain.com/article/1/</link>
  <pubDate>Mon, 11 Mar 2013 16:45:00 +0000 </pubDate>
  <guid>http://www.domain.com/article/1/</guid>
 </item>

</channel>
</rss>

Validate your RSS feed using this online validator: W3C Feed Validator

Thank you for your post!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.