Sha256: d650b008135467659f5df75c48334eb75dd70d1a46f76bbfe4e1636c3af1e5fd

Contents?: true

Size: 433 Bytes

Versions: 12

Compression:

Stored size: 433 Bytes

Contents

module Feedzirra
  # == Summary
  # Parser for dealing with RSS feeds.
  #
  # == Attributes
  # * title
  # * feed_url
  # * url
  # * entries
  class RSS
    include SAXMachine
    include FeedUtilities
    element :title
    element :link, :as => :url
    elements :item, :as => :entries, :class => RSSEntry
    
    attr_accessor :feed_url
    
    def self.able_to_parse?(xml) #:nodoc:
      xml =~ /\<rss|rdf/
    end
  end
end

Version data entries

12 entries across 12 versions & 4 rubygems

Version Path
astro-feedzirra-0.0.8.20090419 lib/feedzirra/rss.rb
dinsley-feedzirra-0.0.10 lib/feedzirra/rss.rb
dinsley-feedzirra-0.0.11 lib/feedzirra/rss.rb
dinsley-feedzirra-0.0.8 lib/feedzirra/rss.rb
dinsley-feedzirra-0.0.9 lib/feedzirra/rss.rb
eric-feedzirra-0.0.8 lib/feedzirra/rss.rb
pauldix-feedzirra-0.0.10 lib/feedzirra/rss.rb
pauldix-feedzirra-0.0.5 lib/feedzirra/rss.rb
pauldix-feedzirra-0.0.6 lib/feedzirra/rss.rb
pauldix-feedzirra-0.0.7 lib/feedzirra/rss.rb
pauldix-feedzirra-0.0.8 lib/feedzirra/rss.rb
pauldix-feedzirra-0.0.9 lib/feedzirra/rss.rb