May 3, 2008

Newest Fashion Items from Italy – Forzieri

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

$AffLink = ‘/cgi-bin/axs/ax.pl?http://www.dpbolvw.net/9l65js0ys-FIPGOMOIFMGHNGP?sid=Feed&url=’;

// Try to load and parse RSS file
if ($rs = $rss->get(‘http://www.forzieri.com/rss_GeneralInfoProd.asp?l=usa&c=usa’)) {
// 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 Fashion Items from Italy:

\n”;
foreach($rs[‘items’] as $item) {
$fix_newArrivals = str_replace(“New Arrivals: “, “”, $item[‘title’]);
$fix_img = str_replace(“<“, “<", $item['description']); $fix_br = str_replace(" /><br />”, ” alt=\”$fix_newArrivals\”/>
“, $fix_img);
$fix_apostrophe = str_replace(“»”, “‘”, $fix_br);
$fix_madeinItaly = str_replace(“Made in Italy”, “$fix_newArrivals. Made in Italy“, $fix_apostrophe);
$filtered_description = $fix_madeinItaly;
echo “\t” . $fix_newArrivals . “
” . $filtered_description . “

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