use notice URIs in RSS feeds

darcs-hash:20080522184434-84dde-0d698f3e34301c2a5600ce5e828db4402d070808.gz
This commit is contained in:
Evan Prodromou 2008-05-22 14:44:34 -04:00
parent 7979176e14
commit 139fd492ff

View File

@ -108,7 +108,7 @@ class Rss10Action extends Action {
function show_item($notice) { function show_item($notice) {
$nurl = common_local_url('shownotice', array('notice' => $notice->id)); $nurl = common_local_url('shownotice', array('notice' => $notice->id));
common_element_start('item', array('rdf:about' => $nurl)); common_element_start('item', array('rdf:about' => $notice->uri));
common_element('title', NULL, $notice->created); common_element('title', NULL, $notice->created);
common_element('link', NULL, $nurl); common_element('link', NULL, $nurl);
common_element('description', NULL, common_render_content($notice->content)); common_element('description', NULL, common_render_content($notice->content));