use notice URI in channel items list

darcs-hash:20080522191028-84dde-802a85a8838bfe04347c172dc7c7df51367e11e6.gz
This commit is contained in:
Evan Prodromou 2008-05-22 15:10:28 -04:00
parent a39bb63ebd
commit 3381ec439d

View File

@ -84,9 +84,7 @@ 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 $n) {
common_element('rdf:li', array('rdf:resource' => common_element('rdf:li', array('rdf:resource' => $notice->uri));
common_local_url('shownotice',
array('notice' => $n->id))));
} }
common_element_end('rdf:Seq'); common_element_end('rdf:Seq');