Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hey guys, I have a real basic question. How do i put news feeds on my website using RSS. I cannot find books on this because I am told how simple it is and I cannot find enough info on the web. Can someone give me a quick basic run down on how to take an rss feed and put it on my website. I would really appreciate this.

basically you create an xml file, dynamically if you want it to update automatically.
the file structure can be studied from here: http://www.w3schools.com/rss/rss_syntax.asp
or by looking at many available feeds, like in yahoogroups.
To create the file by using php, you'll use fopen() and fwrite().
---
Fubar

wait...
How do i put news feeds on my website using RSS
Did you mean, reading another feed?
The concept is to "read" the feeder's xml file, parse it, then display on your page...
http://www.google.com/search?q=php+rss+reader
Or this if you want to learn & code it yourself for efficiency :-)
http://www.sitepoint.com/article/php-xml-parsing-rss-1-0 (PHP)
---
Fubar

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |