Sha256: a994c8bf12cb10729d5f61cc2cab0dcb27f6e5ed583b8651039c628be83965f6
Contents?: true
Size: 1.04 KB
Versions: 2
Compression:
Stored size: 1.04 KB
Contents
require 'stratify-instapaper/query' module Stratify module Instapaper class Collector < Stratify::Collector source "Instapaper" configuration_fields :rss_url => {:type => :string, :label => "RSS URL"} configuration_instructions %q[ <p>To collect the articles that you've read on Instapaper, the Instapaper collector needs the RSS feed for your archived articles.</p> <p>To find the URL for your personal RSS feed, go to the <a href="http://www.instapaper.com/archive" target="_blank">archive for your Instapaper account</a>. Look for the RSS feed link on that page. (You should find it toward the bottom right of the page.) The URL will look something like this:</p> <p><code>http://www.instapaper.com/archive/rss/123456/0123456789abcdefghijklmnopq</code></p> <p>Grab the RSS feed URL for your account and paste it into the field below.</p> ] def activities query.activities end def query Stratify::Instapaper::Query.new(rss_url) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stratify-instapaper-0.1.4.1 | lib/stratify-instapaper/collector.rb |
stratify-instapaper-0.1.4 | lib/stratify-instapaper/collector.rb |