From: Evan Prodromou Date: Fri, 13 Jun 2008 15:33:03 +0000 (-0400) Subject: better titles in RSS X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=704155647f044edb88ca05218f04ed8d989aee4f;p=quix0rs-gnu-social.git better titles in RSS darcs-hash:20080613153303-84dde-556ed40d75c3701df3a3ce7b5415896f9ac66d12.gz --- diff --git a/lib/rssaction.php b/lib/rssaction.php index 9d38bb2755..7d79ac043d 100644 --- a/lib/rssaction.php +++ b/lib/rssaction.php @@ -110,9 +110,10 @@ class Rss10Action extends Action { function show_item($notice) { global $config; + $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->created); + common_element('title', NULL, $profile->nickname."'s status on ".common_date_string($notice->created)); common_element('link', NULL, $nurl); common_element('description', NULL, $notice->content); common_element('dc:date', NULL, common_date_w3dtf($notice->created));