X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Frssaction.php;h=7d79ac043dd4867588c37cc72b3f9a6a3fd7af76;hb=0299b6f2caa5b3b956c9e00a17d6cf3c72966396;hp=a61facd9206d590efb42db0f6209e93bb16c0dd9;hpb=afeb31af630aef7094eb099c09890553fa0db719;p=quix0rs-gnu-social.git diff --git a/lib/rssaction.php b/lib/rssaction.php index a61facd920..7d79ac043d 100644 --- a/lib/rssaction.php +++ b/lib/rssaction.php @@ -110,12 +110,14 @@ class Rss10Action extends Action { function show_item($notice) { global $config; + $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, $notice->created); + common_element('title', NULL, $profile->nickname."'s status on ".common_date_string($notice->created)); 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'); }