We found that integrating RSS Feeds into our sites quiet eazy and straightfoward with the help of a couple of RSS Feed Parsors we came across at HotScripts.com.
RSS_GET Headlines
The first one that we used is the RSS_GET Headlines script from Aaron Dunlap.com, a simple and easy to install headlines grabber. Formatted properly this script returns us the news and other headlines as shown in the Google News box below.
The script comes in the form of a rss_get.php file which you have to open up and configure the update duration (we set our to 30 minutes), the location of the cache subdirectory (which is chmoded to 777, and the default urls for the script to use.
Include (); the rss_get.php script to the page where you want tha headlines to appear, set the number of headlines you want to grab and you are all set.
RSS Fetch
The second RSS parser that we used is RSS Fetch, by Drew Philips from NeoProgrammers.com. This script parses both the Title and Description of the source as can be seen from two examples given below.
Installation is just as straightfoward, open up the rss_fetch.php file, set the update interval (again we set ours to 30 minutes) and define your data cache directory (use absolute path for this).
AP - Two engineers from China were sentenced to a year in prison Friday for stealing computer chip designs from their Silicon Valley employers and trying to smuggle the secrets to their homeland to launch a government-backed startup there.
<p><a href="http://us.rd.yahoo.com/dailynews/rss/tech/*http://news.yahoo.com/s/ap/20081121/ap_on_hi_te/tec_english_from_the_range"><img src="http://d.yimg.com/us.yimg.com/p/ap/20081120/capt.262a52b060934adfb256eb6cc326047b.english_from_the_range_wybv101.jpg?x=97&y=130&q=85&sig=IAdpRJ_KrRVGftpysDNfPg--" align="left" height="130" width="97" alt="Kathleen Hampton stands by an orange signpost signaling the presence of an underground fiber optic cable running by her family's remote ranch in Washakie County, Wyo., in this May 2008, photo. Hampton works part-time for Eleutian Technology, a Ten Sleep company that connects area teachers with students in Korea for English-language classes via the Internet. (AP Photo/Bob Vines)" border="0" /></a>AP - The nearest Wal-Mart is two hours away, and only foul weather, a deer in the road or a Washakie County sheriff's deputy would slow down anyone with a mind to drive there faster.</p><br clear="all"/>
Again, include (); the rss_fetch.php script to the page where you want the parsed contents to appear, set the content number you want displayed and you are all set.
Integrating these and other scripts into our ASM sites are done using our predefined Integration Templates.