Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 3.144.252.248
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby19 /
lib64 /
ruby /
1.9.1 /
rss /
maker /
Delete
Unzip
Name
Size
Permission
Date
Action
0.9.rb
11.79
KB
-rw-r--r--
2010-11-08 20:59
1.0.rb
10.01
KB
-rw-r--r--
2010-11-08 20:59
2.0.rb
5.68
KB
-rw-r--r--
2009-10-02 10:45
atom.rb
4.5
KB
-rw-r--r--
2007-11-16 01:30
base.rb
24.09
KB
-rw-r--r--
2011-05-19 00:07
content.rb
384
B
-rw-r--r--
2009-10-02 10:45
dublincore.rb
3.74
KB
-rw-r--r--
2010-11-08 20:59
entry.rb
4.72
KB
-rw-r--r--
2009-05-16 09:04
feed.rb
12.48
KB
-rw-r--r--
2009-05-16 09:08
image.rb
2.86
KB
-rw-r--r--
2011-05-19 00:07
itunes.rb
7.26
KB
-rw-r--r--
2008-06-29 08:34
slash.rb
735
B
-rw-r--r--
2007-11-16 01:30
syndication.rb
349
B
-rw-r--r--
2009-10-02 10:45
taxonomy.rb
3.11
KB
-rw-r--r--
2009-10-02 10:45
trackback.rb
1.57
KB
-rw-r--r--
2009-10-02 10:45
Save
Rename
require 'rss/image' require 'rss/maker/1.0' require 'rss/maker/dublincore' module RSS module Maker module ImageItemModel def self.append_features(klass) super name = "#{RSS::IMAGE_PREFIX}_item" klass.def_classed_element(name) end def self.install_image_item(klass) klass.module_eval(<<-EOC, __FILE__, __LINE__ + 1) class ImageItem < ImageItemBase DublinCoreModel.install_dublin_core(self) end EOC end class ImageItemBase < Base include Maker::DublinCoreModel attr_accessor :about, :resource, :image_width, :image_height add_need_initialize_variable("about") add_need_initialize_variable("resource") add_need_initialize_variable("image_width") add_need_initialize_variable("image_height") alias width= image_width= alias width image_width alias height= image_height= alias height image_height def have_required_values? @about end def to_feed(feed, current) if current.respond_to?(:image_item=) and have_required_values? item = current.class::ImageItem.new setup_values(item) setup_other_elements(item) current.image_item = item end end end end module ImageFaviconModel def self.append_features(klass) super name = "#{RSS::IMAGE_PREFIX}_favicon" klass.def_classed_element(name) end def self.install_image_favicon(klass) klass.module_eval(<<-EOC, __FILE__, __LINE__ + 1) class ImageFavicon < ImageFaviconBase DublinCoreModel.install_dublin_core(self) end EOC end class ImageFaviconBase < Base include Maker::DublinCoreModel attr_accessor :about, :image_size add_need_initialize_variable("about") add_need_initialize_variable("image_size") alias size image_size alias size= image_size= def have_required_values? @about and @image_size end def to_feed(feed, current) if current.respond_to?(:image_favicon=) and have_required_values? favicon = current.class::ImageFavicon.new setup_values(favicon) setup_other_elements(favicon) current.image_favicon = favicon end end end end class ChannelBase; include Maker::ImageFaviconModel; end class ItemsBase class ItemBase; include Maker::ImageItemModel; end end makers.each do |maker| maker.module_eval(<<-EOC, __FILE__, __LINE__ + 1) class Channel ImageFaviconModel.install_image_favicon(self) end class Items class Item ImageItemModel.install_image_item(self) end end EOC end end end