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
This commit is contained in:
Sarven Capadisli 2009-06-19 15:54:24 +00:00
parent 45430d2b3b
commit 1c2cf10811
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}