File: C:/Ruby27-x64/share/ri/2.7.0/system/RSS/RSS10/cdesc-RSS10.ri
U:RDoc::NormalModule[iI"
RSS10:ETI"RSS::RSS10;T0o:RDoc::Markup::Document:@parts[o;;[S:RDoc::Markup::Heading:
leveli: textI"RSS 1.0 support;To:RDoc::Markup::BlankLine o:RDoc::Markup::Paragraph;[I"PRSS has three different versions. This module contains support for version ;TI"*1.0[http://web.resource.org/rss/1.0/];T@S; ;
i;I"Producing RSS 1.0;T@o;
;[I"OProducing our own RSS feeds is easy as well. Let's make a very basic feed:;T@o:RDoc::Markup::Verbatim;[I"require "rss"
;TI"
;TI"-rss = RSS::Maker.make("1.0") do |maker|
;TI"% maker.channel.language = "en"
;TI"% maker.channel.author = "matz"
;TI". maker.channel.about = "About my feed."
;TI"- maker.channel.updated = Time.now.to_s
;TI"I maker.channel.link = "http://www.ruby-lang.org/en/feeds/news.rss"
;TI", maker.channel.title = "Example Feed"
;TI"F maker.channel.description = "A longer description of my feed."
;TI"& maker.items.new_item do |item|
;TI"` item.link = "http://www.ruby-lang.org/en/news/2010/12/25/ruby-1-9-2-p136-is-released/"
;TI"4 item.title = "Ruby 1.9.2-p136 is released"
;TI"& item.updated = Time.now.to_s
;TI" end
;TI" end
;TI"
;TI"puts rss
;T:@format0o;
;[I"QAs you can see, this is a very Builder-like DSL. This code will spit out an ;TI"ORSS 1.0 feed with one item. If we needed a second item, we'd make another ;TI"<block with maker.items.new_item and build a second one.;T:
@fileI"lib/rss/1.0.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [U:RDoc::Constant[i I"NSPOOL;TI"RSS::RSS10::NSPOOL;T:public0o;;[ ;@2;0@2@cRDoc::NormalModule0U;[i I"
ELEMENTS;TI"RSS::RSS10::ELEMENTS;T;0o;;[ ;@2;0@2@@;0[ [[I"
class;T[[;[[I"append_features;TI"!../ruby-2.7.7/lib/rss/1.0.rb;T[:protected[ [:private[ [I"
instance;T[[;[ [;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[I"lib/rss/1.0.rb;TI"RSS;T@;