| Server IP : 162.214.74.102 / Your IP : 216.73.217.21 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/RSS/RSS09/ |
Upload File : |
U:RDoc::NormalModule[iI"
RSS09:EFI"RSS::RSS09;T0o:RDoc::Markup::Document:@parts[o;;[S:RDoc::Markup::Heading:
leveli: textI"RSS 0.9 support;To:RDoc::Markup::BlankLine o:RDoc::Markup::Paragraph;[I"PRSS has three different versions. This module contains support for version ;TI"70.9.1[http://www.rssboard.org/rss-0-9-1-netscape].;T@S; ;
i;I"Producing RSS 0.9;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("0.91") do |maker|
;TI"% maker.channel.language = "en"
;TI"% maker.channel.author = "matz"
;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"D maker.image.url = "http://www.ruby-lang.org/images/logo.gif"
;TI"& maker.image.title = "An image"
;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 0.9 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/0.9.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [U:RDoc::Constant[i I"NSPOOL;FI"RSS::RSS09::NSPOOL;T00o;;[ ;@3;0@3@cRDoc::NormalModule0U;[i I"
ELEMENTS;FI"RSS::RSS09::ELEMENTS;T00o;;[ ;@3;0@3@@<0[ [[I"
class;T[[:public[[I"append_features;FI"lib/rss/0.9.rb;T[:protected[ [:private[ [I"
instance;T[[;[ [;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@3I"lib/rss/2.0.rb;TI"RSS;F@<