lib/feedzirra/parser/rss.rb in feedzirra-0.0.24 vs lib/feedzirra/parser/rss.rb in feedzirra-0.0.30

- old
+ new

@@ -1,28 +1,22 @@ module Feedzirra - + module Parser - # == Summary # Parser for dealing with RSS feeds. - # - # == Attributes - # * title - # * feed_url - # * url - # * entries 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: - xml =~ /\<rss|\<rdf/ + /\<rss|\<rdf/ =~ xml end end end - + end \ No newline at end of file