]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Include user name in item titles for RSS aggregator users.
authorEarle Martin <earle@downlode.org>
Mon, 14 Jul 2008 15:38:59 +0000 (11:38 -0400)
committerEarle Martin <earle@downlode.org>
Mon, 14 Jul 2008 15:38:59 +0000 (11:38 -0400)
darcs-hash:20080714153859-68ac8-8c370d385fd060d2fcebc118c3000f3c383fb4dc.gz

lib/rssaction.php

index 46f5dceea9b52207044d7ccd9c2fe1f210706794..6e2efc1823cc784a6314ec2c95d69896637702cf 100644 (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));