diff options
Diffstat (limited to 'lib/rss/1.0.rb')
-rw-r--r-- | lib/rss/1.0.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/rss/1.0.rb b/lib/rss/1.0.rb index 9a61e456ba..0e3e66ea95 100644 --- a/lib/rss/1.0.rb +++ b/lib/rss/1.0.rb @@ -274,6 +274,14 @@ module RSS ] end + def maker_target(maker) + maker.channel + end + + def setup_maker_attributes(channel) + channel.about = self.about + end + class Image < Element include RSS10 @@ -469,6 +477,10 @@ module RSS ["#{PREFIX}:about", true, "about"] ] end + + def maker_target(maker) + maker.image + end end class Item < Element @@ -535,6 +547,10 @@ module RSS ["#{PREFIX}:about", true, "about"] ] end + + def maker_target(maker) + maker.items.new_item + end end class Textinput < Element @@ -604,6 +620,10 @@ module RSS ["#{PREFIX}:about", true, "about"] ] end + + def maker_target(maker) + maker.textinput + end end end |