lib/feedzirra/feed.rb in feedzirra-0.1.3 vs lib/feedzirra/feed.rb in feedzirra-0.2.0.rc1
- old
+ new
@@ -1,7 +1,5 @@
-module Feedzirra
- class NoParserAvailable < StandardError; end
-
+module Feedzirra
class Feed
USER_AGENT = "feedzirra http://github.com/pauldix/feedzirra/tree/master"
# Takes a raw XML feed and attempts to parse it. If no parser is available a Feedzirra::NoParserAvailable exception is raised.
# You can pass a block to be called when there's an error during the parsing.