invert title and content in rss action
darcs-hash:20080702214011-84dde-a40f7dc3906e32b087023e5d7e593f80eb46a1e8.gz
This commit is contained in:
parent
18849f46e9
commit
1f434f502b
|
@ -116,9 +116,9 @@ class Rss10Action extends Action {
|
||||||
$profile = Profile::staticGet($notice->profile_id);
|
$profile = Profile::staticGet($notice->profile_id);
|
||||||
$nurl = common_local_url('shownotice', array('notice' => $notice->id));
|
$nurl = common_local_url('shownotice', array('notice' => $notice->id));
|
||||||
common_element_start('item', array('rdf:about' => $notice->uri));
|
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('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:date', NULL, common_date_w3dtf($notice->created));
|
||||||
common_element('dc:creator', NULL, ($profile->fullname) ? $profile->fullname : $profile->nickname);
|
common_element('dc:creator', NULL, ($profile->fullname) ? $profile->fullname : $profile->nickname);
|
||||||
common_element('cc:licence', array('rdf:resource' => $config['license']['url']));
|
common_element('cc:licence', array('rdf:resource' => $config['license']['url']));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user