]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/rssaction.php
update TODOs and try to reformat notices
[quix0rs-gnu-social.git] / lib / rssaction.php
index 3b39a70319c1a225a0942c75b28f4a4acc60dfb4..b52de42b2347465e71b64f2db6f135ccf0eb094a 100644 (file)
@@ -83,14 +83,14 @@ 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))));
+               
+               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');
        }