![]() |
|
|
|||||||
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||
|
A Simple RSS Feed Phraser in PHP
Heres a simple RSS Feed Phraser function. Its simple and effective function. All you need to do is add it to the page you wish to display the feed. If you want to show / display the feed all you need to do is call up the function using: PHP Code:
The $variables can be used to define a few options: $url = the url of the rss feed (e.g. http://slashdot.org/slashdot.rdf) $count = the number of titles and descriptions to display (e.g. 5) Using this function you can display more than one rss feed in one page / file, without constantly rewriting out all the code to display the feed. The function: PHP Code:
Enjoy!
__________________
http://img76.imageshack.us/img76/6450/sc2but4ng.gif | http://img495.imageshack.us/img495/...ogorwtan0je.gif | <a href="http://webtools.sc2.info"><img src="http://img129.imageshack.us/img129/8682/sc2webtan7ju.gif" border="1" width="100" alt="Free Webtools for all" /></a> | <a href="http://www.indexrated.com"><img src="http://img398.imageshack.us/img398/4813/listed1pb.gif" border="1" width="100" alt="Index Rated Directory - Rating Quality Sites" /></a> Get all Games,Apps and Wallpapers Nokia, Samsung and Sony Erricson!! |
|
|
|
||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|