method
start_rss
v1_8_6_287 -
Show latest stable
-
0 notes -
Class: RSS::ListenerMixin
- 1_8_6_287 (0)
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125
- 1_9_3_392
- 2_1_10
- 2_2_9
- 2_4_6
- 2_5_5
- 2_6_3
- What's this?
start_rss(tag_name, prefix, attrs, ns)
private
Hide source
# File lib/rss/0.9.rb, line 408 def start_rss(tag_name, prefix, attrs, ns) check_ns(tag_name, prefix, ns, "") @rss = Rss.new(attrs['version'], @version, @encoding, @standalone) @rss.do_validate = @do_validate @rss.xml_stylesheets = @xml_stylesheets @last_element = @rss @proc_stack.push Proc.new { |text, tags| @rss.validate_for_stream(tags, @ignore_unknown_element) if @do_validate } end