Bonjour a tous 
je suis en train de monter un podcast
donc j'ai cree un flux RSS 2.0
voici un bout du code du fichier rss.xml:
...<itunes:author>DJ-Ted</itunes:author>
<description>1. Bobby Blanco and Miki Motto - Go to Church
2. A - Jamiroquai Little House disco
3. martin solveig - jealousy (feat lee fields)
4. Alan Thompson and Ben Keen - Let There Be Love (Alan Thompson and Tom Neville)
5. DJ Flex - Love for U (Antoine Clamaran remix)</description>
<enclosure url="http://www.lien_du_fichier.mp3" length="28752352" type="audio/mpeg" />
<guid>http://www.lien_du_fichier.mp3</guid>...
je suis en train de cree un parser CSS pour pouvoir afficher les nouveau podcast sur mon site
mais le probleme est lorsque je veux afficher la description celui ci ne m'affiche pas les retour a la ligne
voila mon code de mon fichier php
$file = fopen('rss.xml',"r");
if ($file) {
while (!feof($file)) $raw .= fread($file,32000);
fclose( $file );
if(eregi("<item>(.*)</item>",$raw,$rawitems)){
$items = explode("<item>", $rawitems[0]);
$nb = count($items);
$maximum = (($nb-1) < $nombre_limite) ? ($nb-1) : $nombre_limite;
for ($i=0;$i<$maximum;$i++) {
eregi("<description>(.*)</description>",$items[$i+1], $description);
echo stripslashes($description[1]);
}
}
}
Merci pour vos reponse 