Add link to conversation pages when possible.

Thanks tobyink
This commit is contained in:
Craig Andrews 2009-07-17 23:06:14 -04:00
parent 7237d59aab
commit 441c276859

View File

@ -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){