The start of the slideshow module. Mostly framework stuff, no real implementation yet

This commit is contained in:
Tim Almdal
2008-11-18 19:09:24 +00:00
parent 4dfa22606f
commit 4bf486955c
8 changed files with 110 additions and 3 deletions

View File

@@ -0,0 +1,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>