⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
RSS
/
Rss
/
Edit File: cdesc-Rss.ri
U:RDoc::NormalClass[iI"Rss:ETI" RSS::Rss;TI"Element;To:RDoc::Markup::Document:@parts[ o;;[ : @fileI"lib/rss/0.9.rb;T:0@omit_headings_from_table_of_contents_below0o;;[S:RDoc::Markup::Heading: leveli: textI"RSS 2.0 support;To:RDoc::Markup::BlankLine o:RDoc::Markup::Paragraph;[I"PRSS has three different versions. This module contains support for version ;TI"32.0[http://www.rssboard.org/rss-specification];T@S;;i; I"Producing RSS 2.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("2.0") 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"& 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 2.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; I"lib/rss/2.0.rb;T; 0o;;[ ; I"lib/rss/content/2.0.rb;T; 0o;;[ ; I"lib/rss/dublincore/2.0.rb;T; 0o;;[ ; I"lib/rss/itunes.rb;T; 0; 0; 0[[ I"feed_version;TI"W;T:publicFI"lib/rss/0.9.rb;T[ I"rss_version;TI"RW;T;F@C[ [[I" RSS09;To;;[ ; @; 0@C[I"RootElementMixin;To;;[ ; @; 0@C[[I" class;T[[;[[I"new;T@C[:protected[ [:private[ [I" instance;T[[;[ [I" image;T@C[I" items;T@C[I"setup_maker_elements;T@C[I"textinput;T@C[;[ [;[[I"_attrs;T@C[ [U:RDoc::Context::Section[i 0o;;[ ; 0; 0[ @@5@8@;@>I"lib/rss/maker/0.9.rb;TI"lib/rss/maker/2.0.rb;TI"lib/rss/trackback.rb;TI"RSS;TcRDoc::NormalModule
Simpan