summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-07-17 23:06:14 -0400
committerCraig Andrews <candrews@integralblue.com>2009-07-17 23:06:14 -0400
commit441c276859ff5d969d9b3a09b550f682b41088ac (patch)
tree27e21e44dd44551b40d420b209f88ecf5403797b
parent7237d59aabe9ce9edf372bf6fe6850fbe83bf699 (diff)
Add link to conversation pages when possible.
Thanks tobyink
-rw-r--r--lib/rssaction.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rssaction.php b/lib/rssaction.php
index 7686d0646..76d0db224 100644
--- a/lib/rssaction.php
+++ b/lib/rssaction.php
@@ -234,6 +234,11 @@ class Rss10Action extends Action
$replyurl = common_local_url('shownotice', array('notice' => $notice->reply_to));
$this->element('sioc:reply_of', array('rdf:resource' => $replyurl));
}
+ if (!empty($notice->conversation)) {
+ $conversationurl = common_local_url('conversation',
+ array('id' => $notice->conversation));
+ $this->element('sioc:has_discussion', array('rdf:resource' => $conversationurl));
+ }
$attachments = $notice->attachments();
if($attachments){
foreach($attachments as $attachment){