mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rss/content.rb, lib/rss/content/, lib/rss/maker/content.rb,
test/rss/test_content.rb, test/rss/test_maker_content.rb, test/rss/rss-testcase.rb (RSS::TestCase): supported content:encoded with RSS 2.0. Suggested by Sam Lown. Thanks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a7f1c72e90
commit
79041dfc8d
9 changed files with 103 additions and 49 deletions
12
lib/rss/content/2.0.rb
Normal file
12
lib/rss/content/2.0.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
require "rss/2.0"
|
||||
require "rss/content"
|
||||
|
||||
module RSS
|
||||
Rss.install_ns(CONTENT_PREFIX, CONTENT_URI)
|
||||
|
||||
class Rss
|
||||
class Channel
|
||||
class Item; include ContentModel; end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue