summaryrefslogtreecommitdiff
path: root/lib/rssaction.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-22 15:14:36 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-22 15:14:36 -0400
commitc36c7db82c7ec2b93efee9dd5a06579059bfc492 (patch)
tree89545db5efc1c004359aa6b0f70b562661f2b7d6 /lib/rssaction.php
parent3381ec439d484cd23a1e5e01ead86761a462d815 (diff)
fix notice generation in rss channels
darcs-hash:20080522191436-84dde-a24bd6fa5e9d5fc9af03d64d199ad827c8eb38ec.gz
Diffstat (limited to 'lib/rssaction.php')
-rw-r--r--lib/rssaction.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rssaction.php b/lib/rssaction.php
index 33e158d5c..b52de42b2 100644
--- a/lib/rssaction.php
+++ b/lib/rssaction.php
@@ -83,12 +83,14 @@ class Rss10Action extends Action {
common_element_start('items');
common_element_start('rdf:Seq');
- foreach ($notices as $n) {
+
+ foreach ($notices as $notice) {
common_element('rdf:li', array('rdf:resource' => $notice->uri));
}
common_element_end('rdf:Seq');
common_element_end('items');
+
common_element_end('channel');
}