mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-22 01:19:54 -04:00
The start of the slideshow module. Mostly framework stuff, no real implementation yet
This commit is contained in:
20
modules/slideshow/views/slideshow_feed.rss.php
Normal file
20
modules/slideshow/views/slideshow_feed.rss.php
Normal 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>
|
||||
Reference in New Issue
Block a user