Thanks to Toby Inkster for the patch.
This commit is contained in:
Sarven Capadisli 2009-06-12 16:13:45 +00:00
parent 1627fe8f33
commit 392c8d4a96

View File

@ -202,6 +202,9 @@ class Rss10Action extends Action
$this->element('title', null, $title); $this->element('title', null, $title);
$this->element('link', null, $nurl); $this->element('link', null, $nurl);
$this->element('description', null, $profile->nickname."'s status on ".common_exact_date($notice->created)); $this->element('description', null, $profile->nickname."'s status on ".common_exact_date($notice->created));
if ($notice->rendered) {
$this->element('content:encoded', null, common_xml_safe_str($notice->rendered));
}
$this->element('dc:date', null, common_date_w3dtf($notice->created)); $this->element('dc:date', null, common_date_w3dtf($notice->created));
$this->element('dc:creator', null, ($profile->fullname) ? $profile->fullname : $profile->nickname); $this->element('dc:creator', null, ($profile->fullname) ? $profile->fullname : $profile->nickname);
$this->element('sioc:has_creator', array('rdf:resource' => $creator_uri)); $this->element('sioc:has_creator', array('rdf:resource' => $creator_uri));