May 5, 2008

Newest Items at My Jewelry Box

cache_dir = ‘/home/vidiwel/public_html/_wp/designerfashionreviews.com/_scripts/cache’;
$rss->cache_time = 3600;

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

// Try to load and parse RSS file
if ($rs = $rss->get(‘http://www.myjewelrybox.com/media/rss/WhatsnewatMJB.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 Jewelry Items from My Jewelry Box:

\n”;
foreach($rs[‘items’] as $item) {

$fix_openBracket = str_replace(“<“, “<", $item['description']); $fix_closeBracket = str_replace(">", ">“, $fix_openBracket);
$fix_imageAfflink = str_replace(““.$item[‘title’].”
” . $filtered_description . “

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