lib/feedzirra/rss.rb in pauldix-feedzirra-0.0.3 vs lib/feedzirra/rss.rb in pauldix-feedzirra-0.0.5

- old
+ new

@@ -1,15 +1,23 @@ 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) + def self.able_to_parse?(xml) #:nodoc: xml =~ /\<rss|rdf/ end end end \ No newline at end of file