Sha256: ae6366468ede74cf64240869824874b34ca6e8b429a0f6371279e49c39a1b253
Contents?: true
Size: 470 Bytes
Versions: 2
Compression:
Stored size: 470 Bytes
Contents
module Feedzirra module Parser # Parser for dealing with RSS feeds. class RSS include SAXMachine include FeedUtilities element :title element :description element :link, :as => :url elements :item, :as => :entries, :class => RSSEntry attr_accessor :feed_url attr_accessor :hubs def self.able_to_parse?(xml) #:nodoc: (/\<rss|\<rdf/ =~ xml) && !(/feedburner/ =~ xml) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
feedzirra-0.5.0 | lib/feedzirra/parser/rss.rb |
feedzirra-0.4.0 | lib/feedzirra/parser/rss.rb |