diff options
author | Sarven Capadisli <csarven@controlyourself.ca> | 2009-06-12 16:13:45 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@controlyourself.ca> | 2009-06-12 16:13:45 +0000 |
commit | 392c8d4a967f01533fd7458298e79c82486dc914 (patch) | |
tree | af02511aa5dd5704e4fe64ee67c101808e8a914a | |
parent | 1627fe8f336d435e328dcc3a58e9e08cd4ef1bfe (diff) |
http://laconi.ca/trac/ticket/863
Thanks to Toby Inkster for the patch.
-rw-r--r-- | lib/rssaction.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rssaction.php b/lib/rssaction.php index cfb5ca44a..6f30a02f2 100644 --- a/lib/rssaction.php +++ b/lib/rssaction.php @@ -202,6 +202,9 @@ class Rss10Action extends Action $this->element('title', null, $title); $this->element('link', null, $nurl); $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:creator', null, ($profile->fullname) ? $profile->fullname : $profile->nickname); $this->element('sioc:has_creator', array('rdf:resource' => $creator_uri)); |