summaryrefslogtreecommitdiff
path: root/jni/ruby/lib/rss/dublincore
diff options
context:
space:
mode:
Diffstat (limited to 'jni/ruby/lib/rss/dublincore')
-rw-r--r--jni/ruby/lib/rss/dublincore/1.0.rb12
-rw-r--r--jni/ruby/lib/rss/dublincore/2.0.rb12
-rw-r--r--jni/ruby/lib/rss/dublincore/atom.rb16
3 files changed, 40 insertions, 0 deletions
diff --git a/jni/ruby/lib/rss/dublincore/1.0.rb b/jni/ruby/lib/rss/dublincore/1.0.rb
new file mode 100644
index 0000000..efe2f5d
--- /dev/null
+++ b/jni/ruby/lib/rss/dublincore/1.0.rb
@@ -0,0 +1,12 @@
+require "rss/1.0"
+
+module RSS
+ RDF.install_ns(DC_PREFIX, DC_URI)
+
+ class RDF
+ class Channel; include DublinCoreModel; end
+ class Image; include DublinCoreModel; end
+ class Item; include DublinCoreModel; end
+ class Textinput; include DublinCoreModel; end
+ end
+end
diff --git a/jni/ruby/lib/rss/dublincore/2.0.rb b/jni/ruby/lib/rss/dublincore/2.0.rb
new file mode 100644
index 0000000..a79c1e8
--- /dev/null
+++ b/jni/ruby/lib/rss/dublincore/2.0.rb
@@ -0,0 +1,12 @@
+require "rss/2.0"
+
+module RSS
+ Rss.install_ns(DC_PREFIX, DC_URI)
+
+ class Rss
+ class Channel
+ include DublinCoreModel
+ class Item; include DublinCoreModel; end
+ end
+ end
+end
diff --git a/jni/ruby/lib/rss/dublincore/atom.rb b/jni/ruby/lib/rss/dublincore/atom.rb
new file mode 100644
index 0000000..8db9066
--- /dev/null
+++ b/jni/ruby/lib/rss/dublincore/atom.rb
@@ -0,0 +1,16 @@
+require "rss/atom"
+
+module RSS
+ module Atom
+ Feed.install_ns(DC_PREFIX, DC_URI)
+
+ class Feed
+ include DublinCoreModel
+ class Entry; include DublinCoreModel; end
+ end
+
+ class Entry
+ include DublinCoreModel
+ end
+ end
+end