From c649ca1c0974f1f2c44e9bbf6bc1bff818ae2cdb Mon Sep 17 00:00:00 2001 From: Heikki Hokkanen Date: Sun, 15 Jun 2008 19:19:18 +0300 Subject: [PATCH] Added a simple RSS 2.0 template. http://cyber.law.harvard.edu/rss/rss.html http://en.wikipedia.org/wiki/RSS#RSS_2.0 --- templates/rss.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 templates/rss.php diff --git a/templates/rss.php b/templates/rss.php new file mode 100644 index 0000000..220c596 --- /dev/null +++ b/templates/rss.php @@ -0,0 +1,26 @@ +'."\n"; +?> + + + <?php echo $page['rss_title']; ?> + + + + en-us + + + +\n"; + echo "\t\t\t$item[link]\n"; + echo "\t\t\t$item[description]\n"; + echo "\t\t\t$item[pubdate]\n"; + echo "\t\t\t$item[guid]\n"; + echo "\t\t\n\n"; +} +?> + + + -- 2.11.4.GIT