add author information for RSS

darcs-hash:20080613153012-84dde-3b5b4670681fc40dc62d82a1609ebca69a921bda.gz
This commit is contained in:
Evan Prodromou 2008-06-13 11:30:12 -04:00
parent 809df852c3
commit 1c50e11077

View File

@ -116,6 +116,7 @@ class Rss10Action extends Action {
common_element('link', NULL, $nurl); common_element('link', NULL, $nurl);
common_element('description', NULL, $notice->content); common_element('description', NULL, $notice->content);
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('cc:licence', array('rdf:resource' => $config['license']['url'])); common_element('cc:licence', array('rdf:resource' => $config['license']['url']));
common_element_end('item'); common_element_end('item');
} }