summaryrefslogtreecommitdiff
path: root/lib/rss/1.0.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-08 13:54:07 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-08 13:54:07 +0000
commit1909f5f1b14167bc24bcccd1500a27a42551fa95 (patch)
treeb34f305a080caa00705e89b43fa7d18d986b1be1 /lib/rss/1.0.rb
parent037d21402b457af9d96737c7590a800877c6bfd8 (diff)
* lib/rss/{rss,parser,0.9,1.0,2.0}.rb: supported RSS 0.9x/2.0
validation and validation which disregard order of elements. * test/rss/test_parser.rb: added tests for RSS 0.9x/2.0 validation. * test/rss/{test_trackback,rss-testcase}.rb: fixed no good method name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/1.0.rb')
-rw-r--r--lib/rss/1.0.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/rss/1.0.rb b/lib/rss/1.0.rb
index 696b492ada..be141d73d8 100644
--- a/lib/rss/1.0.rb
+++ b/lib/rss/1.0.rb
@@ -5,6 +5,13 @@ module RSS
module RSS10
NSPOOL = {}
ELEMENTS = []
+
+ def self.append_features(klass)
+ super
+
+ klass.install_must_call_validator('', ::RSS::URI)
+ end
+
end
class RDF < Element