Sha256: 2d7ddabb8abd8095d6cabed91a73b827db0acd5740ff23b187fb0a23b53f156e

Contents?: true

Size: 462 Bytes

Versions: 17

Compression:

Stored size: 462 Bytes

Contents

module Feedzirra

  module Parser
    # Parser for dealing with RSS feeds.
    class RSSFeedBurner
      include SAXMachine
      include FeedUtilities
      element :title
      element :description
      element :link, :as => :url
      elements :item, :as => :entries, :class => RSSFeedBurnerEntry

      attr_accessor :feed_url

      def self.able_to_parse?(xml) #:nodoc:
        (/\<rss|\<rdf/ =~ xml) && (/feedburner/ =~ xml)
      end
    end

  end

end

Version data entries

17 entries across 17 versions & 5 rubygems

Version Path
feedzirra-0.2.1 lib/feedzirra/parser/rss_feed_burner.rb
codders-feedzirra-0.2.0.rc2 lib/feedzirra/parser/rss_feed_burner.rb
feedzirra-0.2.0.rc2 lib/feedzirra/parser/rss_feed_burner.rb
feedzirra-0.2.0.rc1 lib/feedzirra/parser/rss_feed_burner.rb
fandango-0.2.1 lib/vendor/feedzirra/lib/feedzirra/parser/rss_feed_burner.rb
jashmenn-feedzirra-0.1.3 lib/feedzirra/parser/rss_feed_burner.rb
fandango-0.2.0 lib/vendor/feedzirra/lib/feedzirra/parser/rss_feed_burner.rb
fandango-0.1.9 lib/vendor/feedzirra/lib/feedzirra/parser/rss_feed_burner.rb
feedzirra-0.1.3 lib/feedzirra/parser/rss_feed_burner.rb
fandango-0.1.8 lib/vendor/feedzirra/lib/feedzirra/parser/rss_feed_burner.rb
fandango-0.1.7 lib/vendor/feedzirra/lib/feedzirra/parser/rss_feed_burner.rb
fandango-0.1.6 lib/vendor/feedzirra/lib/feedzirra/parser/rss_feed_burner.rb
fandango-0.1.5 lib/vendor/feedzirra/lib/feedzirra/parser/rss_feed_burner.rb
feedzirra-0.1.2 lib/feedzirra/parser/rss_feed_burner.rb
fandango-0.1.4 lib/vendor/feedzirra/lib/feedzirra/parser/rss_feed_burner.rb
seanwalbran-feedzirra-0.1.3 lib/feedzirra/parser/rss_feed_burner.rb
seanwalbran-feedzirra-0.1.2 lib/feedzirra/parser/rss_feed_burner.rb