From 1f434f502b70cd43ac5bc0358e04eb3c0ed78c4d Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 2 Jul 2008 17:40:11 -0400 Subject: [PATCH] invert title and content in rss action darcs-hash:20080702214011-84dde-a40f7dc3906e32b087023e5d7e593f80eb46a1e8.gz --- lib/rssaction.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rssaction.php b/lib/rssaction.php index b70ece6a02..46f5dceea9 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']));