fix notice generation in rss channels

darcs-hash:20080522191436-84dde-a24bd6fa5e9d5fc9af03d64d199ad827c8eb38ec.gz
This commit is contained in:
Evan Prodromou 2008-05-22 15:14:36 -04:00
parent 3381ec439d
commit c36c7db82c

View File

@ -83,12 +83,14 @@ class Rss10Action extends Action {
common_element_start('items'); common_element_start('items');
common_element_start('rdf:Seq'); common_element_start('rdf:Seq');
foreach ($notices as $n) {
foreach ($notices as $notice) {
common_element('rdf:li', array('rdf:resource' => $notice->uri)); common_element('rdf:li', array('rdf:resource' => $notice->uri));
} }
common_element_end('rdf:Seq'); common_element_end('rdf:Seq');
common_element_end('items'); common_element_end('items');
common_element_end('channel'); common_element_end('channel');
} }