From f5bddd414a73bce447ad0572e27b0968886ca7a3 Mon Sep 17 00:00:00 2001 From: Earle Martin Date: Mon, 14 Jul 2008 11:38:59 -0400 Subject: [PATCH] Include user name in item titles for RSS aggregator users. darcs-hash:20080714153859-68ac8-8c370d385fd060d2fcebc118c3000f3c383fb4dc.gz --- lib/rssaction.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/rssaction.php b/lib/rssaction.php index 46f5dceea9..6e2efc1823 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));