diff --git a/lib/rssaction.php b/lib/rssaction.php index 912c144801..a61facd920 100644 --- a/lib/rssaction.php +++ b/lib/rssaction.php @@ -77,7 +77,7 @@ class Rss10Action extends Action { common_element('title', NULL, $channel['title']); common_element('link', NULL, $channel['link']); common_element('description', NULL, $channel['description']); - common_element('cc:licence', NULL, $config['license']['url']); + common_element('cc:licence', array('rdf:resource' => $config['license']['url'])); if ($image) { common_element('image', array('rdf:resource' => $image)); @@ -116,7 +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('cc:licence', NULL, $config['license']['url']); + common_element('cc:licence', array('rdf:resource' => $config['license']['url'])); common_element_end('item'); }