Class: Feedzirra::Parser::GoogleDocsAtom
- Inherits:
-
Object
- Object
- Feedzirra::Parser::GoogleDocsAtom
- Includes:
- FeedUtilities, SAXMachine
- Defined in:
- lib/feedzirra/parser/google_docs_atom.rb
Constant Summary
Constants included from FeedUtilities
FeedUtilities::UPDATABLE_ATTRIBUTES
Instance Attribute Summary
Attributes included from FeedUtilities
#etag, #last_modified, #new_entries, #updated
Class Method Summary collapse
-
.able_to_parse?(xml) ⇒ Boolean
:nodoc:.
Instance Method Summary collapse
Methods included from FeedUtilities
#has_new_entries?, #sanitize_entries!, #update_attribute, #update_from_feed, #updated?
Class Method Details
.able_to_parse?(xml) ⇒ Boolean
:nodoc:
19 20 21 |
# File 'lib/feedzirra/parser/google_docs_atom.rb', line 19 def self.able_to_parse?(xml) #:nodoc: %r{<id>https?://docs.google.com/.*\</id\>} =~ xml end |
Instance Method Details
#feed_url ⇒ Object
23 24 25 |
# File 'lib/feedzirra/parser/google_docs_atom.rb', line 23 def feed_url @feed_url ||= links.first end |
#url ⇒ Object
15 16 17 |
# File 'lib/feedzirra/parser/google_docs_atom.rb', line 15 def url @url ||= links.first end |