$48 GRAYBYTE WORDPRESS FILE MANAGER $74

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby18/lib64/ruby/1.8/rss/

HOME
Current File : /opt/alt/ruby18/lib64/ruby/1.8/rss//xml.rb
require "rss/utils"

module RSS
  module XML
    class Element
      include Enumerable

      attr_reader :name, :prefix, :uri, :attributes, :children
      def initialize(name, prefix=nil, uri=nil, attributes={}, children=[])
        @name = name
        @prefix = prefix
        @uri = uri
        @attributes = attributes
        if children.is_a?(String) or !children.respond_to?(:each)
          @children = [children]
        else
          @children = children
        end
      end

      def [](name)
        @attributes[name]
      end

      def []=(name, value)
        @attributes[name] = value
      end

      def <<(child)
        @children << child
      end

      def each(&block)
        @children.each(&block)
      end

      def ==(other)
        other.kind_of?(self.class) and
          @name == other.name and
          @uri == other.uri and
          @attributes == other.attributes and
          @children == other.children
      end

      def to_s
        rv = "<#{full_name}"
        attributes.each do |key, value|
          rv << " #{Utils.html_escape(key)}=\"#{Utils.html_escape(value)}\""
        end
        if children.empty?
          rv << "/>"
        else
          rv << ">"
          children.each do |child|
            rv << child.to_s
          end
          rv << "</#{full_name}>"
        end
        rv
      end

      def full_name
        if @prefix
          "#{@prefix}:#{@name}"
        else
          @name
        end
      end
    end
  end
end


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.48 PM
root / root
0755
content
--
3 Mar 2024 10.48 PM
root / linksafe
0755
dublincore
--
3 Mar 2024 10.48 PM
root / linksafe
0755
maker
--
3 Mar 2024 10.48 PM
root / linksafe
0755
0.9.rb
9.483 KB
21 Oct 2007 12.19 PM
root / linksafe
0644
1.0.rb
8.614 KB
21 Oct 2007 12.19 PM
root / linksafe
0644
2.0.rb
2.313 KB
21 Oct 2007 12.19 PM
root / linksafe
0644
atom.rb
18.879 KB
21 Oct 2007 12.19 PM
root / linksafe
0644
content.rb
0.753 KB
30 Nov 2007 12.56 PM
root / linksafe
0644
converter.rb
3.715 KB
21 Oct 2007 12.19 PM
root / linksafe
0644
dublincore.rb
4.232 KB
21 Oct 2007 12.19 PM
root / linksafe
0644
image.rb
4.617 KB
21 Oct 2007 12.19 PM
root / linksafe
0644
itunes.rb
9.955 KB
21 Oct 2007 12.19 PM
root / linksafe
0644
maker.rb
0.932 KB
11 Feb 2008 8.26 AM
root / linksafe
0644
parser.rb
14.648 KB
28 Dec 2007 4.23 AM
root / linksafe
0644
rexmlparser.rb
1.11 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
rss.rb
33.063 KB
11 Feb 2008 8.26 AM
root / linksafe
0644
slash.rb
1.216 KB
21 Oct 2007 12.19 PM
root / linksafe
0644
syndication.rb
1.762 KB
21 Oct 2007 12.19 PM
root / linksafe
0644
taxonomy.rb
3.03 KB
21 Oct 2007 12.19 PM
root / linksafe
0644
trackback.rb
6.673 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
utils.rb
2.62 KB
21 Oct 2007 12.19 PM
root / linksafe
0644
xml-stylesheet.rb
2.136 KB
21 Oct 2007 12.19 PM
root / linksafe
0644
xml.rb
1.468 KB
21 Oct 2007 12.19 PM
root / linksafe
0644
xmlparser.rb
1.572 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
xmlscanner.rb
2.121 KB
12 Feb 2007 11.01 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF