diff --git a/rss.php b/rss.php index a3083cc..b9fbe75 100644 --- a/rss.php +++ b/rss.php @@ -152,7 +152,9 @@ if (is_writeable(".")) { /*===================*/ /* XML Gen */ /*===================*/ +header('Content-Type: text/xml'); $temp = explode("\n", $content); +echo "\n"; echo "\n"; echo "$title"; echo "$gallery_link"; @@ -163,6 +165,7 @@ for ($i=0; $i < $nb_items_rss && $i < count($temp); $i++) { echo "\n"; echo " " . basename($temp[$i]) . "\n"; echo " ". $temp[$i] . "\n"; + echo " ". $temp[$i] . "\n"; echo " ]]>\n"; echo "\n"; }