]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
use rdf:resource for license urls
authorEvan Prodromou <evan@prodromou.name>
Sun, 8 Jun 2008 20:33:14 +0000 (16:33 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sun, 8 Jun 2008 20:33:14 +0000 (16:33 -0400)
darcs-hash:20080608203314-84dde-6553bea647ce5e712a7615ece83840e1e14a33d4.gz

lib/rssaction.php

index 912c144801ce61e4f6631cefd31897c41d3b8291..a61facd9206d590efb42db0f6209e93bb16c0dd9 100644 (file)
@@ -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');
        }