Skip to content
Permalink
Browse files

Add a filter to make it easier to disable downloading content for Ins…

…tapaper articles.
  • Loading branch information...
beaulebens committed Jan 22, 2017
1 parent 7e5aee9 commit 368822387735dc2b6971de73d07a9e498ff9a918
Showing with 5 additions and 1 deletion.
  1. +5 −1 importers/keyring-importer-instapaper.php
@@ -205,8 +205,12 @@ function insert_posts() {
return array( 'imported' => $imported, 'skipped' => $skipped );
}
// Download article content in batches, and store in post-meta/custom fields
// Download article content in batches, and store in post-meta/custom field
function download_article_texts() {
if ( ! apply_filters( 'keyring_instapaper_download_article_texts', true ) ) {
return;
}
// Returns the specified bookmark's processed text-view HTML, which is always text/html encoded as UTF-8.
$endpoint = 'https://www.instapaper.com/api/1/bookmarks/get_text';

0 comments on commit 3688223

Please sign in to comment.
You can’t perform that action at this time.