Newest Beauty Products at Shop.com

/*
======================================================================
lastRSS
======================================================================
*/

// include lastRSS
include "/hsphere/local/home/academic/designerfashionreviews.com/_scripts/lastRSS.php";

// Create lastRSS object
$rss = new lastRSS;

// Set cache dir and cache time limit (1200 seconds)
// (don't forget to chmod cache dir to 777 to allow writing)
$rss->cache_dir = ‘/hsphere/local/home/academic/designerfashionreviews.com/_scripts/cache’;
$rss->cache_time = 3600;

$AffLink = ‘/cgi-bin/axs/ax.pl?http://www.tkqlhce.com/7m122dlurlt8BI9HFHB8A9DFICCE?sid=Feed&url=’;

// Try to load and parse RSS file
if ($rs = $rss->get(’http://www.shop.com/image.amos?act=rss_top_100_department_beauty.xml’)) {
// Show website logo (if presented)
if ($rs[image_url] != ”) {
echo “\"$rs[image_title]\"
\n”;
}
// Show clickable website title
// echo “$rs[title]
\n”;
// Show website description
// echo “$rs[description]
\n”;
// Show last published articles (title, link, description)
echo “Newest Beauty Products from Shop.com:

    \n”;
    foreach($rs['items'] as $item) {
    echo “\t
  • “.$item['title'].”
    “.$item['description'].”
  • \n”;
    }
    echo “

\n”;
}
else {
echo “Error: It’s not possible to reach RSS file…\n”;
}
?>

Anti-Spam Protection by WP-SpamFree