$49 GRAYBYTE WORDPRESS FILE MANAGER $29

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | 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//rexmlparser.rb
require "rexml/document"
require "rexml/streamlistener"

/\A(\d+)\.(\d+)(?:\.\d+)+\z/ =~ REXML::Version
if ([$1.to_i, $2.to_i] <=> [2, 5]) < 0
  raise LoadError, "needs REXML 2.5 or later (#{REXML::Version})"
end

module RSS
  
  class REXMLParser < BaseParser

    class << self
      def listener
        REXMLListener
      end
    end
    
    private
    def _parse
      begin
        REXML::Document.parse_stream(@rss, @listener)
      rescue RuntimeError => e
        raise NotWellFormedError.new{e.message}
      rescue REXML::ParseException => e
        context = e.context
        line = context[0] if context
        raise NotWellFormedError.new(line){e.message}
      end
    end
    
  end
  
  class REXMLListener < BaseListener

    include REXML::StreamListener
    include ListenerMixin

    class << self
      def raise_for_undefined_entity?
        false
      end
    end
    
    def xmldecl(version, encoding, standalone)
      super(version, encoding, standalone == "yes")
      # Encoding is converted to UTF-8 when REXML parse XML.
      @encoding = 'UTF-8'
    end

    alias_method(:cdata, :text)
  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