thawebman Posted April 27, 2007 Share Posted April 27, 2007 i know that there are a lot of parsers around but i want to keep it simplei want a <div> that shows my rss feed's last 10 updatesdoes any one have a good solution for me in php Link to comment Share on other sites More sharing options...
BsM Posted June 15, 2007 Share Posted June 15, 2007 Check this link to learn about parsing xml using php functionshttp://www.phpfreaks.com/phpmanual/page/ref.xml.htmlafter you parse xml file you can use a simple for...next loop to print the elements content with <div>such asfor(i=0;i<x;i++)echo "<div>" . element_content . "</div>;next iwhich x= number of element that the php xml parser will return it to you Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.