Welcome to WebmasterWorld Guest from

Forum Moderators: bill & werty

Message Too Old, No Replies

Add other website RSS Feeds onto my website

4:20 am on Nov 2, 2005 (gmt 0)

5+ Year Member

How do i add RSS feeds from other websites to my website? I am not sure if these feeds will be on a page just for the feeds or just a part of one of my current pages. I want to grab the feeds from a few resources (I already know which resources I want to use) and have them appear on my page, but I have no clue how to do this. My site is static site with mostly .htm pages and 1 or 2 .asp pages. It is hosted on godaddy. I can write html and some asp coding but nothing more advanced.

Can anyone help or recommend some free software/code to use?

4:35 am on Nov 2, 2005 (gmt 0)

10+ Year Member

Hi lvcllc,
Do a search for: RSS reader.
This normally would require dynamic pages. Where a server side program (already written) in perl or php would fetch the feed. Some news agencies also provide an easier way in javascript. These can be very easily inserted into static html files.
More info here:
7:20 pm on Nov 3, 2005 (gmt 0)

5+ Year Member

thanks. I ended up using a javascript code on a .htm page.

Do you know which way to grab the feeds is better, dynamic with php or perl OR javascript?

7:35 pm on Nov 3, 2005 (gmt 0)

10+ Year Member

Hi lvcllc,
I'm glad to see you got the feed going. IMO the advantage of js feed is it is simple and takes minutes to do. The server-side programs however give you complete control. You can format the text any way you would like and the text will be served from your server and be part of your page.
As for the perl or php, I would recommend php to someone who has never used either. It is much easier to learn and code than perl(IMO). But both would do. I am sure there are programs in other languages that I have not heard of too.
8:14 pm on Nov 3, 2005 (gmt 0)

5+ Year Member

thanks for all the info. I do not know enough about php any other programming languages to really be able to make adjustments to the code.

well i was able to control the formatting of the text with a css file that I created for the feeds.

4:01 pm on Nov 4, 2005 (gmt 0)

5+ Year Member

The problem or downside of using Javascript to display an RSS feed on your site is that the content of that feed does not show up in your source code which is what the search engines look at while evaluating your site.

Perl and PHP programs parse out the feed and send out html to your site so the content of these feeds become part of your site.

This is a key element in getting your website ranked higher because the search engines like to see site that are frequently updated and you get more relevent content on your site which is also good for your visitors.

The programming is pretty sophisticated, but there are some sites that will send you a small piece of code that you just cut and paste into your site.

[edited by: jatar_k at 5:58 pm (utc) on Nov. 4, 2005]
[edit reason] no urls thanks [/edit]

4:39 pm on Nov 4, 2005 (gmt 0)

5+ Year Member

I have found many php parsers but have no clue what to do with them. Like i said I use godaddy to host my site and I currently have htm and asp pages. I am almost positive I can use php pages as well. The problem with me using PHP is that I do not know how to set it up properly or do whatever to the code that needs to be done.
4:59 pm on Nov 4, 2005 (gmt 0)

10+ Year Member

Hi lvcllc,
The php is probably already installed on your server by your host.
All you need for php reference and look up is here:

if you are familiar with programming, you will pick it up fast using the search feature to look up required functions. If you learn or master php, I think you will find it worthwhile.

10:34 pm on Nov 4, 2005 (gmt 0)

5+ Year Member

I tried to use rss2html.php, but got completely lost. I added the file (I did not make any changes to the file) to the root folder of my server. I used their sample-template (just as a test). Then I added code to my .htm file (this is my current page that I want to add the feed to). I also created an xml file from feedjumbler.com so I can have multiple feeds. But I am not sure where I went wrong. All the files are in the root folder of my server.

here are my thoughts:
1. I need to make changes to php file, but have no clue what to change.
2. I added the wrong code to the .htm file.
3. I have no clue.