summaryrefslogtreecommitdiff
path: root/jni/ruby/lib/rss/content
diff options
context:
space:
mode:
Diffstat (limited to 'jni/ruby/lib/rss/content')
-rw-r--r--jni/ruby/lib/rss/content/1.0.rb9
-rw-r--r--jni/ruby/lib/rss/content/2.0.rb11
2 files changed, 20 insertions, 0 deletions
diff --git a/jni/ruby/lib/rss/content/1.0.rb b/jni/ruby/lib/rss/content/1.0.rb
new file mode 100644
index 0000000..e5dc857
--- /dev/null
+++ b/jni/ruby/lib/rss/content/1.0.rb
@@ -0,0 +1,9 @@
+require 'rss/1.0'
+
+module RSS
+ RDF.install_ns(CONTENT_PREFIX, CONTENT_URI)
+
+ class RDF
+ class Item; include ContentModel; end
+ end
+end
diff --git a/jni/ruby/lib/rss/content/2.0.rb b/jni/ruby/lib/rss/content/2.0.rb
new file mode 100644
index 0000000..8491a99
--- /dev/null
+++ b/jni/ruby/lib/rss/content/2.0.rb
@@ -0,0 +1,11 @@
+require "rss/2.0"
+
+module RSS
+ Rss.install_ns(CONTENT_PREFIX, CONTENT_URI)
+
+ class Rss
+ class Channel
+ class Item; include ContentModel; end
+ end
+ end
+end