]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
better titles in RSS
authorEvan Prodromou <evan@prodromou.name>
Fri, 13 Jun 2008 15:33:03 +0000 (11:33 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 13 Jun 2008 15:33:03 +0000 (11:33 -0400)
darcs-hash:20080613153303-84dde-556ed40d75c3701df3a3ce7b5415896f9ac66d12.gz

lib/rssaction.php

index 9d38bb2755326b8cf53ac4612cdd3b9c94ad5954..7d79ac043dd4867588c37cc72b3f9a6a3fd7af76 100644 (file)
@@ -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));