X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Frssaction.php;h=b52de42b2347465e71b64f2db6f135ccf0eb094a;hb=9cac74ddca9734a392f43d52c27d30cd1a3638ed;hp=3b39a70319c1a225a0942c75b28f4a4acc60dfb4;hpb=139fd492ff636581d525d576eead1796c37da155;p=quix0rs-gnu-social.git diff --git a/lib/rssaction.php b/lib/rssaction.php index 3b39a70319..b52de42b23 100644 --- a/lib/rssaction.php +++ b/lib/rssaction.php @@ -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'); }