rss: add guid element for each item
Work on https://github.com/sebsauvage/MinigalNano/issues/48
This commit is contained in:
parent
284a978f67
commit
61fbcb2114
1 changed files with 1 additions and 0 deletions
1
rss.php
1
rss.php
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue