invert title and content in rss action

darcs-hash:20080702214011-84dde-a40f7dc3906e32b087023e5d7e593f80eb46a1e8.gz
This commit is contained in:
Evan Prodromou 2008-07-02 17:40:11 -04:00
parent 18849f46e9
commit 1f434f502b

View 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']));