summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-22 15:10:28 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-22 15:10:28 -0400
commit3381ec439d484cd23a1e5e01ead86761a462d815 (patch)
tree6f52f4b11aeef3dd290e4af02e94ccc31ff4e0da /lib
parenta39bb63ebdf1e1025abb5c506db2c0dd82a55773 (diff)
use notice URI in channel items list
darcs-hash:20080522191028-84dde-802a85a8838bfe04347c172dc7c7df51367e11e6.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/rssaction.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/rssaction.php b/lib/rssaction.php
index 3b39a7031..33e158d5c 100644
--- a/lib/rssaction.php
+++ b/lib/rssaction.php
@@ -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');