]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
use notice URIs in RSS feeds
authorEvan Prodromou <evan@prodromou.name>
Thu, 22 May 2008 18:44:34 +0000 (14:44 -0400)
committerEvan Prodromou <evan@prodromou.name>
Thu, 22 May 2008 18:44:34 +0000 (14:44 -0400)
darcs-hash:20080522184434-84dde-0d698f3e34301c2a5600ce5e828db4402d070808.gz

lib/rssaction.php

index 9d4066ee59fffd6325234c5d5283f93ea1124050..3b39a70319c1a225a0942c75b28f4a4acc60dfb4 100644 (file)
@@ -108,7 +108,7 @@ class Rss10Action extends Action {
        
        function show_item($notice) {
                $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('link', NULL, $nurl);
                common_element('description', NULL, common_render_content($notice->content));