class Superfeedr::Status
Public Instance Methods
status : if sets to true; it indicates that the notification is a digest.
# File lib/superfeedr/superfeedr.rb, line 115 def digest? !!content_from("@digest") end
entries_count_since_last_maintenance
(provided only upon notification) : The number of new entries in the feed since we last ran the maintenance script. This is a very good indicator of the verboseness of a feed. You may want to remove feeds that are too verbose.
# File lib/superfeedr/superfeedr.rb, line 149 def entries_count_since_last_maintenance integer_from("sf:entries_count_since_last_maintenance") end
status : contains the URL of the feed
# File lib/superfeedr/superfeedr.rb, line 109 def feed content_from("@feed") end
http : the content of that tag is a more explicit log message for your information.
# File lib/superfeedr/superfeedr.rb, line 104 def http content_from("sf:http") end
last_fetch
: the last time at which we fetched the feed.
# File lib/superfeedr/superfeedr.rb, line 130 def last_fetch datetime_from("sf:last_fetch") end
last_maintenance_at
: Each feed inside Node
has a maintenance cycle that we use to detect stale feeds, or related feeds. We normally run maintenance at most every 24hour for each feed.
# File lib/superfeedr/superfeedr.rb, line 144 def last_maintenance_at datetime_from("sf:last_maintenance_at") end
last_parse
: the last time at which we parsed the feed. It happens that we fetch a feed and do not parse it as its content hasn't been modified.
# File lib/superfeedr/superfeedr.rb, line 135 def last_parse datetime_from("sf:last_parse") end
next_fetch
: the feed will be fetched at most before this time.
# File lib/superfeedr/superfeedr.rb, line 125 def next_fetch datetime_from("sf:next_fetch") end
period : the polling frequency in seconds for this feed.
# File lib/superfeedr/superfeedr.rb, line 120 def period integer_from("sf:period") end
title (provided only upon notification) : the feed title.
# File lib/superfeedr/superfeedr.rb, line 94 def title content_from("sf:title") end