rss: add guid element for each item

Work on https://github.com/sebsauvage/MinigalNano/issues/48
This commit is contained in:
nodiscc 2014-12-22 08:02:23 +01:00
parent 284a978f67
commit 61fbcb2114

View file

@ -165,6 +165,7 @@ for ($i=0; $i < $nb_items_rss && $i < count($temp); $i++) {
echo "<item>\n";
echo " <title>" . basename($temp[$i]) . "</title>\n";
echo " <link>". $temp[$i] . "</link>\n";
echo " <guid>". $temp[$i] . "</guid>\n";
echo " <description><![CDATA[ <img src='" . $temp[$i] . "'> ]]></description>\n";
echo "</item>\n";
}