]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
invert title and content in rss action
authorEvan Prodromou <evan@prodromou.name>
Wed, 2 Jul 2008 21:40:11 +0000 (17:40 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 2 Jul 2008 21:40:11 +0000 (17:40 -0400)
darcs-hash:20080702214011-84dde-a40f7dc3906e32b087023e5d7e593f80eb46a1e8.gz

lib/rssaction.php

index b70ece6a028da1557527523fe16a2ad2288f61c2..46f5dceea9b52207044d7ccd9c2fe1f210706794 100644 (file)
@@ -116,9 +116,9 @@ 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, $profile->nickname."'s status on ".common_date_string($notice->created));
+               common_element('title', NULL, $notice->content);
                common_element('link', NULL, $nurl);
-               common_element('description', NULL, $notice->content);
+               common_element('description', NULL, $profile->nickname."'s status on ".common_exact_date($notice->created));
                common_element('dc:date', NULL, common_date_w3dtf($notice->created));
                common_element('dc:creator', NULL, ($profile->fullname) ? $profile->fullname : $profile->nickname);
                common_element('cc:licence', array('rdf:resource' => $config['license']['url']));