GIF87a; 404

MY HEART




Upload:

Command:

diavoloapp@3.144.255.53: ~ $
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

Filemanager

Name Type Size Permission Actions
content Folder 0755
dublincore Folder 0755
maker Folder 0755
0.9.rb File 9.36 KB 0644
1.0.rb File 8.46 KB 0644
2.0.rb File 2.29 KB 0644
atom.rb File 22.41 KB 0644
content.rb File 771 B 0644
converter.rb File 3.87 KB 0644
dublincore.rb File 4.18 KB 0644
image.rb File 4.57 KB 0644
itunes.rb File 9.96 KB 0644
maker.rb File 1.75 KB 0644
parser.rb File 15.47 KB 0644
rexmlparser.rb File 1.09 KB 0644
rss.rb File 33.53 KB 0644
slash.rb File 1.22 KB 0644
syndication.rb File 1.75 KB 0644
taxonomy.rb File 2.98 KB 0644
trackback.rb File 6.56 KB 0644
utils.rb File 2.61 KB 0644
xml-stylesheet.rb File 2.13 KB 0644
xml.rb File 1.47 KB 0644
xmlparser.rb File 1.55 KB 0644
xmlscanner.rb File 2.1 KB 0644