Welcome to WebmasterWorld Guest from 54.226.189.112

Forum Moderators: bill & werty

Message Too Old, No Replies

Create RSS Feed from exisitng html website

     

Gemini23

5:18 pm on Mar 12, 2011 (gmt 0)

5+ Year Member



I have scanned through many posts on this.. and with the possibility of later technology being available am asking a question that may have been posted before.

I have an existing (Expression Web html generated) website with probably 200+ pages... and with new updated content 2-3 times a week.. I also have a blog that is Wordpress based that has its own generated RSS feed.

I would like to create an rss feed from my main website existing content that would then update when new content is added... and I guess to be separate from my existing blog RSS

ANy suggestions as to how I can do this?

I would like to be able to send out RSS of my main website and not just my Blog .

Swanny007

6:15 pm on Mar 12, 2011 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



There may be tools out there but on one of my sites, I just manually created an rss.xml file and added a new entry to it when I posted a new article. It only takes a minute or so to update the RSS feed. You don't *need* a tool to maintain an RSS feed.

Gemini23

7:03 pm on Mar 12, 2011 (gmt 0)

5+ Year Member



Thanks Swanny - how did you create a 'manual# xml file? and how do you create entres? what detail etc?

Swanny007

7:17 pm on Mar 12, 2011 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



Here's a copy and paste of my file with details removed.... Call the file rss.xml, put it in the site's root. Then link to it from the home page or wherever so people can get to it.

The first part of the file doesn't change, it just sets up the feed. After that there are "items" which are the "entries" or "site additions". Each new page goes to the top of that list of "items".

Let me know if you have questions.

<?xml version="1.0"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>WEBSITE Updates</title>
<link>http://www.example.com/</link>
<description>WEBSITE Updates</description>
<language>en-us</language>
<pubDate>23 Nov 2008 21:29:00 CST</pubDate>
<lastBuildDate>26 Nov 2008 20:00:00 CST</lastBuildDate>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>Weblog Editor 2.0</generator>
<managingEditor>webmaster@example.com (WEBSITE Webmaster)</managingEditor>
<webMaster>webmaster@example.com (WEBSITE Webmaster)</webMaster>
<atom:link href="http://www.example.com/rss.xml" rel="self" type="application/rss+xml" />

<item>
<title>Page title goes here (most recent article)</title>
<link>http://www.example.com/page5</link>
<description>Page description goes here</description>
<pubDate>28 Mar 2010 21:05:00 CST</pubDate>
<guid>http://www.example.com/page5</guid>
</item>

<item>
<title>Second most recent article's page title</title>
<link>http://www.example.com/page4.html</link>
<description>Page description goes here</description>
<pubDate>29 Nov 2009 16:32:00 CST</pubDate>
<guid>http://www.example.com/page4.html</guid>
</item>

<item>
<title>Page title goes here</title>
<link>http://www.example.com/page3.php</link>
<description>Page description goes here</description>
<pubDate>26 Nov 2009 20:00:00 CST</pubDate>
<guid>http://www.example.com/page3.php</guid>
</item>

<item>
<title>Page title goes here</title>
<link>http://www.example.com/page2.html</link>
<description>Page description goes here</description>
<pubDate>24 Nov 2009 19:31:00 CST</pubDate>
<guid>http://www.example.com/page2.html</guid>
</item>

<item>
<title>Oldest article</title>
<link>http://www.example.com/page1</link>
<description>Page description goes here</description>
<pubDate>23 Nov 2009 18:00:00 CST</pubDate>
<guid>http://www.example.com/page1</guid>
</item>

</channel>
</rss>

[edited by: Swanny007 at 7:19 pm (utc) on Mar 12, 2011]

Gemini23

7:19 pm on Mar 12, 2011 (gmt 0)

5+ Year Member



Brilliant - thank you!

Ajay Vadgama

1:06 pm on Apr 29, 2011 (gmt 0)



Hi,



I want the set rss when the anything update on website pages it automatically update the rss file.


Please help me out of this.

THanks

Swanny007

6:42 pm on Apr 29, 2011 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



Then that won't work for you. When you add a page, you manually add an entry to the rss file. Easy stuff.

explorador

8:17 pm on Apr 29, 2011 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



Good news: You don't need to manually add data to xml files to have an updated RSS. There are free tools that will crawl your site and create it for you. Some have understandable limitations (if your site has lots of info) but most of them are just fine. For more advanced stuff you can upgrade your account.

I don't know if I can mention the names of the sites on this area but just search "rss out of any site" and you'll find them.

There you go, good luck.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month