lib/aua/agents/feed_reader.rb in aua-0.1.2 vs lib/aua/agents/feed_reader.rb in aua-0.1.3

- old
+ new

@@ -1,16 +1,18 @@ module Aua::Agents::FeedReader KNOWN_CLIENTS = %w(AppleSyndication Netvibes Windows-RSS-Platform Vienna NewsGatorOnline NewsFire NetNewsWire MWFeedParser SimplePie MagpieRSS Feedfetcher-Google Apple-PubSub) def self.extend?(agent) - KNOWN_CLIENTS.include?(agent.app) + KNOWN_CLIENTS.include?(agent.app) || + (agent.app == "Tumblr" && agent.products.include?("RSS") && agent.products.include?("syndication")) end def type :FeedReader end def name + return :TumblrRSSSyndication if app == "Tumblr" app.to_sym end def version @version ||= versions.first \ No newline at end of file