/trunk/squelettes/rss/image_rss_rss1.tpl.html |
--- image_rss_rss2.tpl.html (revision 0) |
+++ image_rss_rss2.tpl.html (revision 2) |
@@ -0,0 +1,24 @@ |
+<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> |
+ <channel> |
+ <title><?=$titre?></title> |
+ <link> http://162.38.234.9/cel_consultation/?<?= $criteres ?></link> |
+ <description><?=$description?></description> |
+ |
+ <?php if (isset($images)) : ?> |
+ <?php foreach ($images as $image) : ?> |
+ <item> |
+ <guid> <?=$image['ci_id_image']?> </guid> |
+ <title><?= $image['nom_ret'] ?></title> |
+ <link><?= $image['url_image_l']; ?></link> |
+ <description><![CDATA[ |
+ <img src="<?= $image['url_image_m'] ?>" /> |
+ ]]> |
+ </description> |
+ <category>Image</category> |
+ <pubDate><?= $image['date_transmission'] ?></pubDate> |
+ </item> |
+ <?php endforeach; ?> |
+ <?php endif; ?> |
+ |
+ </channel> |
+</rss> |
\ No newline at end of file |