fix notice generation in rss channels
darcs-hash:20080522191436-84dde-a24bd6fa5e9d5fc9af03d64d199ad827c8eb38ec.gz
This commit is contained in:
parent
3381ec439d
commit
c36c7db82c
@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user