From 704155647f044edb88ca05218f04ed8d989aee4f Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 13 Jun 2008 11:33:03 -0400 Subject: [PATCH] better titles in RSS darcs-hash:20080613153303-84dde-556ed40d75c3701df3a3ce7b5415896f9ac66d12.gz --- lib/rssaction.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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));