summaryrefslogtreecommitdiff
path: root/modules/slideshow/views/slideshow_feed.rss.php
blob: b07bf5fed1e7d55f4231de2613d9506f4994ea06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<? defined("SYSPATH") or die("No direct script access."); ?>
<? echo "<?xml version=\"1.0\" ?>"; ?>
<rss version="2.0">
  <channel>
    <title><?= $item->title ?></title>
    <link><?= url::site("slideshow/$item->id") ?></link>
    <description><?= $item->description ?></description>
    <language>en-us</language>
    <?
      // @todo do we want to add an upload date to the items table?
      $date = date("D, dd M Y H:i:s e");
    ?>
    <pubDate><?= $date ?></pubDate>
    <lastBuildDate><?= $date ?></lastBuildDate>
    <? foreach ($children as $child): ?>
      <image>
      </image>
    <? endforeach; ?>
  </channel>
</rss>