]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add author information for RSS
authorEvan Prodromou <evan@prodromou.name>
Fri, 13 Jun 2008 15:30:12 +0000 (11:30 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 13 Jun 2008 15:30:12 +0000 (11:30 -0400)
darcs-hash:20080613153012-84dde-3b5b4670681fc40dc62d82a1609ebca69a921bda.gz

lib/rssaction.php

index a61facd9206d590efb42db0f6209e93bb16c0dd9..9d38bb2755326b8cf53ac4612cdd3b9c94ad5954 100644 (file)
@@ -116,6 +116,7 @@ class Rss10Action extends Action {
                common_element('link', NULL, $nurl);
                common_element('description', NULL, $notice->content);
                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_end('item');
        }