diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-06-08 16:33:14 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-06-08 16:33:14 -0400 |
commit | afeb31af630aef7094eb099c09890553fa0db719 (patch) | |
tree | 99db6ba2e2ac81a1ef221e356f347061eefc10b6 /lib/rssaction.php | |
parent | a00b9c0fdcd69fd6656b9820b7286d1d00d691cb (diff) |
use rdf:resource for license urls
darcs-hash:20080608203314-84dde-6553bea647ce5e712a7615ece83840e1e14a33d4.gz
Diffstat (limited to 'lib/rssaction.php')
-rw-r--r-- | lib/rssaction.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rssaction.php b/lib/rssaction.php index 912c14480..a61facd92 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'); } |