Sha256: 0ffb6ed50fc3ac7624430b1d2d064394bfefbd5775822c86049f8a365793b037
Contents?: true
Size: 444 Bytes
Versions: 2
Compression:
Stored size: 444 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 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.3.0 | lib/feedzirra/parser/rss.rb |
feedzirra-0.2.2 | lib/feedzirra/parser/rss.rb |