summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-02 17:40:11 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-02 17:40:11 -0400
commit1f434f502b70cd43ac5bc0358e04eb3c0ed78c4d (patch)
tree798072437249ca283f9c450fcc98884fe90c7c2b
parent18849f46e9d89ee67c30f35c791d701847eb533d (diff)
invert title and content in rss action
darcs-hash:20080702214011-84dde-a40f7dc3906e32b087023e5d7e593f80eb46a1e8.gz
-rw-r--r--lib/rssaction.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rssaction.php b/lib/rssaction.php
index b70ece6a0..46f5dceea 100644
--- a/lib/rssaction.php
+++ b/lib/rssaction.php
@@ -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']));