]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
use notice URI in channel items list
authorEvan Prodromou <evan@prodromou.name>
Thu, 22 May 2008 19:10:28 +0000 (15:10 -0400)
committerEvan Prodromou <evan@prodromou.name>
Thu, 22 May 2008 19:10:28 +0000 (15:10 -0400)
darcs-hash:20080522191028-84dde-802a85a8838bfe04347c172dc7c7df51367e11e6.gz

lib/rssaction.php

index 3b39a70319c1a225a0942c75b28f4a4acc60dfb4..33e158d5c18aad5c93c7373ae9c1b34d24959b12 100644 (file)
@@ -84,9 +84,7 @@ class Rss10Action extends Action {
                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))));
+                       common_element('rdf:li', array('rdf:resource' => $notice->uri));
                }
                
                common_element_end('rdf:Seq');