diff options
author | Earle Martin <earle@downlode.org> | 2008-07-14 11:38:59 -0400 |
---|---|---|
committer | Earle Martin <earle@downlode.org> | 2008-07-14 11:38:59 -0400 |
commit | f5bddd414a73bce447ad0572e27b0968886ca7a3 (patch) | |
tree | 01c17fdbaaaf109bef1033e3943996996caccf7a | |
parent | 941eb61e82d4b395d1bea4fc630e5fb14a489f29 (diff) |
Include user name in item titles for RSS aggregator users.
darcs-hash:20080714153859-68ac8-8c370d385fd060d2fcebc118c3000f3c383fb4dc.gz
-rw-r--r-- | lib/rssaction.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rssaction.php b/lib/rssaction.php index 46f5dceea..6e2efc182 100644 --- a/lib/rssaction.php +++ b/lib/rssaction.php @@ -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)); |