From: Craig Andrews Date: Sat, 18 Jul 2009 03:06:14 +0000 (-0400) Subject: Add link to conversation pages when possible. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=441c276859ff5d969d9b3a09b550f682b41088ac;p=quix0rs-gnu-social.git Add link to conversation pages when possible. Thanks tobyink --- diff --git a/lib/rssaction.php b/lib/rssaction.php index 7686d06460..76d0db224f 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){