Include user name in item titles for RSS aggregator users.

darcs-hash:20080714153859-68ac8-8c370d385fd060d2fcebc118c3000f3c383fb4dc.gz
This commit is contained in:
Earle Martin 2008-07-14 11:38:59 -04:00
parent 941eb61e82
commit f5bddd414a
1 changed files with 2 additions and 1 deletions

View File

@ -116,7 +116,8 @@ class Rss10Action extends Action {
$profile = Profile::staticGet($notice->profile_id);
$nurl = common_local_url('shownotice', array('notice' => $notice->id));
common_element_start('item', array('rdf:about' => $notice->uri));
common_element('title', NULL, $notice->content);
$title = $profile->nickname . ': ' . $notice->content;
common_element('title', NULL, $title);
common_element('link', NULL, $nurl);
common_element('description', NULL, $profile->nickname."'s status on ".common_exact_date($notice->created));
common_element('dc:date', NULL, common_date_w3dtf($notice->created));