
December 25th, 2005, 06:32 AM
|
 |
Contributing User
|
|
Join Date: Apr 2004
Posts: 573

Time spent in forums: 1 Week 6 Days 15 h 23 m 49 sec
Reputation Power: 5
|
|
|
Free automatic rss content for pharmacy websites
Hi,
We have a great tool for all pharmacy websites.
"Pharmacy News" with RSS feed. The feed is located at http://www.pharmacycenter.org/r/feed/rss/. You can use it to build Your own pharmacy news sites. Content is updated daily.
You can use http://magpierss.sourceforge.net/ . It's free php lib to read RSS Feed. Very easy to use !.
Here is sample code:
Code:
<?
require_once('magpierss/rss_fetch.inc');
$rss = fetch_rss('http://www.pharmacycenter.org/r/feed/rss/');
foreach ($rss->items as $rss_item)
{
echo 'Title: <a href="' . $rss_item['link'] . '">' . $rss_item['title'] . '</a><br>';
echo 'Summary: ' . $rss_item['summary'] . '<br>';
}
?>
__________________
Pharmacea.org - New OP Affiliate Program. Join us!. Generic and Brand medications. High 28% commission.
|