summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-06-19 15:54:24 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-06-19 15:54:24 +0000
commit1c2cf108118b3d5cfebd0e266099505810e6d850 (patch)
tree9f7e86c3ea9259c0c8dcdc21c3165ec2a6587504
parent45430d2b3b952dda31d232c2726e5980a7e6e56a (diff)
Includes a sioc:reply_to link between notices. It helps with things
like http://danbri.org/words/2009/06/16/415 Thanks to Toby Inkster for the patch: http://buzzword.org.uk/2009/laconica-0.7.3-sioc-reply_to.patch
-rw-r--r--lib/rssaction.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rssaction.php b/lib/rssaction.php
index eafdbf131..08b333d97 100644
--- a/lib/rssaction.php
+++ b/lib/rssaction.php
@@ -212,6 +212,11 @@ class Rss10Action extends Action
$this->element('sioc:has_creator', array('rdf:resource' => $creator_uri.'#acct'));
$this->element('laconica:postIcon', array('rdf:resource' => $profile->avatarUrl()));
$this->element('cc:licence', array('rdf:resource' => common_config('license', 'url')));
+ if ($notice->reply_to) {
+ $replyurl = common_local_url('shownotice',
+ array('notice' => $notice->reply_to));
+ $this->element('sioc:reply_to', array('rdf:resource' => $replyurl));
+ }
$this->elementEnd('item');
$this->creators[$creator_uri] = $profile;
}