common_element_start('items');
common_element_start('rdf:Seq');
- foreach ($notices as $n) {
- common_element('rdf:li', array('rdf:resource' =>
- common_local_url('shownotice',
- array('notice' => $n->id))));
+
+ 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');
}
common_element_start('item', array('rdf:about' => $notice->uri));
common_element('title', NULL, $notice->created);
common_element('link', NULL, $nurl);
- common_element('description', NULL, common_render_content($notice->content));
+ common_element('description', NULL, $notice->content);
common_element('dc:date', NULL, common_date_w3dtf($notice->created));
common_element_end('item');
}