diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-06-13 11:33:03 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-06-13 11:33:03 -0400 |
commit | 704155647f044edb88ca05218f04ed8d989aee4f (patch) | |
tree | cb9916990e698b5af2c4e047e8e9cbe9077fd0eb /lib | |
parent | 1c50e110776b1676303bcd894fabe0fbf92cad31 (diff) |
better titles in RSS
darcs-hash:20080613153303-84dde-556ed40d75c3701df3a3ce7b5415896f9ac66d12.gz
Diffstat (limited to 'lib')
-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 9d38bb275..7d79ac043 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)); |