summaryrefslogtreecommitdiff
path: root/utils/rss.php
diff options
context:
space:
mode:
authordeva <deva>2010-01-28 15:04:03 +0000
committerdeva <deva>2010-01-28 15:04:03 +0000
commit135d5257dc3351291a66bdf697c840d516995cd5 (patch)
tree4857e96acc07f50e721a4fcd9444d7b625a5b411 /utils/rss.php
parent4c8ff7c5787f6d35cca76e3fda0e9e4d051fe4eb (diff)
Option to show only a single news entry. Vague attempt on news->rss feed conversion.
Diffstat (limited to 'utils/rss.php')
-rw-r--r--utils/rss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/rss.php b/utils/rss.php
index e6aa83f..b4b4b86 100644
--- a/utils/rss.php
+++ b/utils/rss.php
@@ -68,7 +68,7 @@ class RSS {
fwrite($fp, " <link>http://www.executionroom.com/?page=news&amp;id=".$newsentry->time."</link>\n");
fwrite($fp, " <description>".$newsentry->description."</description>\n");
fwrite($fp, " <pubDate>".$this->date($newsentry->time)."</pubDate>\n");
- fwrite($fp, " <guid>http://www.executionroom.com/?page=news&amp;id=".$newsentry->time."</guid>\n");
+ fwrite($fp, " <guid>http://www.executionroom.com/?page=news&amp;id=".$newsentry->time."&amp;newsid="+$newsentry->time+"</guid>\n");
fwrite($fp, " </item>\n");
$i++;
if($i > 6) break;