<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">

<channel>
	<title>Swallow Healthy Diet Newsfeed</title>
	<link>http://www.swallowhealthydiet.com/</link>
	<description>News from Swallow Healthy Diet and articles brought to you by the Daily Mail Health feed</description>
	<language>iso-language-code</language>
	<copyright>Copyright: 2008(C) Swallow Healthy Diet</copyright>
	<ttl>60</ttl>

<item>
<title>Swallow Healthy Diet Launches new sister site</title>
<description>On Monday 21st of July, following feedback from some of our customers we have now launched a new site dedicated to the Aubrey Organics product range.</description>
<link>http://www.aubreyorganics-uk.com</link>
</item>

<?php

  include(DIR_WS_CLASSES . '/' . FILENAME_LAST_RSS);

// Create lastRSS object
$rss = new lastRSS;

// Set cache dir and cache time limit (minimum 1200 seconds)
// (don't forget to chmod cache dir to 777 to allow writing)
$rss->cache_dir = './rsscache';
$rss->cache_time = 3600;


if ($rs = $rss->get(AZER_RSSNEWS_URL)) {      // todosih mettre en variable
	foreach($rs['items'] as $item) {
	$title = str_replace('<![CDATA[','',$item['title']);
	$title = str_replace(']]>','',$title);
		echo "<item>\n<title>".$title."</title>\n";
		echo "<description>".$item['description']."</description>\n";
		echo "<link>$item[link]"</link>\n</item>\n";
		}
	}
?>


</channel>
</rss>