Sha256: 9d89ac55aef6f2692228abb30182fead4b9c1eec267a956b6ede32ec0348a3e8

Contents?: true

Size: 274 Bytes

Versions: 6

Compression:

Stored size: 274 Bytes

Contents

module Feedjira
  module Parser
    class OPML
      include SAXMachine
      include FeedUtilities

      element :head, class: OPMLHead
      element :body, class: OPMLBody

      def self.able_to_parse?(xml) #:nodoc:
        (/\<opml/ =~ xml)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
feedjira-opml-2.0.4 lib/feedjira/parser/opml.rb
feedjira-opml-2.0.3 lib/feedjira/parser/opml.rb
feedjira-opml-2.0.2 lib/feedjira/parser/opml.rb
feedjira-opml-2.0.1 lib/feedjira/parser/opml.rb
feedjira-opml-2.0.0 lib/feedjira/parser/opml.rb
feedjira-opml-1.0.3 lib/feedjira/parser/opml.rb