Welcome to WebmasterWorld Guest from

Forum Moderators: bill & werty

Message Too Old, No Replies

Newbie asking a basic question

How do I put a RSS feed to my web page? Please give me an example



2:49 pm on Apr 26, 2005 (gmt 0)

10+ Year Member

I've read what some of you have said. I've read the online tutorials but I still don't know how to incorporate an RSS feed to a web page. I've done it to myblogsite.com and it works but I want to incorporate it in a regular site.

Here is an RSS feed:

Can you tell me how to display this feed on my regular website. I can see .xml codes for this feed but how do I display the feed on a pape on a server?

Thanks for your help.

[edited by: werty at 8:16 pm (utc) on April 26, 2005]
[edit reason] Removed URL [/edit]


8:23 pm on Apr 26, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member

Bulungu, you need to install an RSS parser on your server in order to show the RSS feeds.

You can go with a javascript version which is really easy, but requires the user to have javascript turned on, and the content will not be crawled/index by the search engines.

The second method is to use a php or asp solution that will
parse the files for you. This thread contains some links to various RSS parsers: [webmasterworld.com...]

Also this thread contains a link to an excellent tutorial on RSS feeds: [webmasterworld.com...]


2:07 pm on Apr 27, 2005 (gmt 0)

10+ Year Member

Thanks Werty:

The links seem helpful. I have looked into several RSS files and I see the XML codes in them. I've spent some time trying to compare and understand what these codes mean and how I can scrap them myself.

The question is how do I use PhP to display the feed on my website?

Suppose I have a RSS file like "myfeed.xml" and I have a Php file like "myfeed.php". Assuming that both files are in the same directory of the web server. What will the "myfeed.php" file codes be? What if I have "myfeed1.xml" and "myfeed2.xml"?

//something here to display the feed(s)


4:17 pm on Apr 27, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member

Have you looked at magpie? [magpierss.sourceforge.net...]


11:43 pm on May 1, 2005 (gmt 0)

10+ Year Member

Sorry Werty for the delay. I have now figured out the whole thing regarding RSS. Thanks for your assistance.



2:10 am on May 2, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member

No problem, glad you got it worked out.

Featured Threads

Hot Threads This Week

Hot Threads This Month