From: Gabriel Dunne Date: Fri, 16 Dec 2011 23:54:09 +0000 (-0800) Subject: Updated RSS method so XML type can be used X-Git-Tag: v0.1~70 X-Git-Url: https://git.quilime.com/?a=commitdiff_plain;h=ca981e6d31fa78c449c3f282256920fba61b598c;p=clmpr.git Updated RSS method so XML type can be used --- diff --git a/get.php b/get.php index 2355c0d..4de5fce 100644 --- a/get.php +++ b/get.php @@ -30,6 +30,7 @@ switch ($format) { + case 'xml' : case 'rss' : include 'rss.php'; exit; diff --git a/index.php b/index.php index 2c999a4..c48a293 100644 --- a/index.php +++ b/index.php @@ -38,6 +38,7 @@ switch ($format) { case 'rss' : + case 'xml' : include 'get.php'; exit; } diff --git a/rss.php b/rss.php index 1fd79fa..4d5c696 100644 --- a/rss.php +++ b/rss.php @@ -1,8 +1,32 @@ '; ?> - + clmpr.com <?php echo $endpoint ?> + http://www.clmpr.com/ + + Citation, Logging and Multi-Purpose aRchive + + fetch(); $i++ ): ?> + + <?php echo urlencode($row['title']) ?> + + + + + + + + + + +clmpr.com http://www.clmpr.com/ @@ -22,5 +46,4 @@ - - \ No newline at end of file +*/ \ No newline at end of file