FrontPage  Index  Search  Changes  Login

Ticket-97

Unqualified use of rdf:resource has been deprecated

Priority
Normal
Reporter
sakai
Status
New
Assigned to
?
Version
HEAD
Milestone
?
Created
2008-06-25

Description

[Hiki-dev:01126] Unqualified use of rdf:resource has been deprecated

Hikiの生成するRSSを RDF Validator にかけると Warning: {W101} Unqualified use of rdf:resource has been deprecated. と言われてしまいます。

以下のようにした方が良いのではないでしょうか。

Index: rss.rb
===================================================================
RCS file: /cvsroot/hiki/hiki/misc/plugin/rss.rb,v
retrieving revision 1.22
diff -u -p -r1.22 rss.rb
--- rss.rb	11 Sep 2005 10:10:30 -0000	1.22
+++ rss.rb	20 Aug 2006 11:16:11 -0000
@@ -17,7 +17,7 @@ def rss_body(page_num = 10)
@@ -61,7 +61,7 @@ EOS
    items << '        '

    uri = "#{@conf.index_url}?#{name.escape}"
-    items << %Q!<rdf:li resource="#{uri}"/>\n!
+    items << %Q!<rdf:li rdf:resource="#{uri}"/>\n!

    item_list << <<EOS
  <item rdf:about="#{uri}">

Changelog

Name:
Comment:
Change Properties
Priority:
Status:
Version:
Milestone:
Assigned to:
Last modified:2008/06/25 23:06:50
Keyword(s):
References: