Commit c36c7db8 authored by Evan Prodromou's avatar Evan Prodromou

fix notice generation in rss channels

darcs-hash:20080522191436-84dde-a24bd6fa5e9d5fc9af03d64d199ad827c8eb38ec.gz
parent 3381ec43
......@@ -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');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment