Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 05-17-2012, 05:35 PM   #1
_reader
Member
_reader doesn't litter_reader doesn't litter
 
Posts: 24
Karma: 142
Join Date: Sep 2010
Device: K3, KPW
oldest_article issue

It seems that code oldest_article = 1 is being ignored in the attached recipe.

(Non-commented Feed articles have older publication dates. Before commenting out feeds, with max_articles_per_feed = 10, I was getting 10 articles for every feed - many dating to last year).

Not sure if it is a bug or perhaps caused by auto_cleanup? Any help or suggestions appreciated.

Spoiler:

class NewsMaxInsiders(BasicNewsRecipe):
title = u'NewsMax Insiders'
__author__ = 'jde'
__date__ = '17 May 2012'
__version__ = '1.0'
description = "Newsmax.com is one of the nation's most read conservative news websites - Insider Commentary"
language = 'en'
publisher = 'Newsmax.com'
category = 'news'
tags = 'news'
cover_url = 'http://www.newsmax.com/App_Themes/Newsmax/images/facebook/newsmaxFBLogo.gif'
masthead_url = 'http://www.newsmax.com/App_Themes/Newsmax/images/facebook/newsmaxFBLogo.gif'
publication_type = 'newspaper'
oldest_article = 1
max_articles_per_feed = 2
no_stylesheets = True
use_embedded_content = False
encoding = None
simultaneous_downloads = 20
recursions = 0
needs_subscription = False
remove_javascript = True
remove_empty_feeds = True
auto_cleanup = True

feeds = [
#(u'Dick Armey - Congressional View', u'http://www.newsmax.com/rss/DickArmey/89.xml'),
#(u'John Berlau - Economic View', u'http://www.newsmax.com/rss/JohnBerlau/65.xml'),
#(u'Jedediah Bila - Manhattan Conservative', u'http://www.newsmax.com/rss/JedediahBila/130.xml'),
#(u'Bradley Blakeman - Politics of Common Sense', u'http://www.newsmax.com/rss/BradleyBlakeman/132.xml'),
#(u'Tony Blankley', u'http://www.newsmax.com/rss/TonyBlankley/97.xml'),
#(u'Pat Boone', u'http://www.newsmax.com/rss/Boone/50.xml'),
#(u'Arnaud de Borchgrave', u'http://www.newsmax.com/rss/deBorchgrave/80.xml'),
#(u'Deneen Borelli', u'http://www.newsmax.com/rss/DeneenBorelli/140.xml'),
#(u'Phil Brennan', u'http://www.newsmax.com/rss/brennan/53.xml'),
#(u'Tammy Bruce - Independence Matters', u'http://www.newsmax.com/rss/TammyBruce/129.xml'),
#(u'Herman Cain - 9-9-9 To Save America', u'http://www.newsmax.com/rss/HermanCain/142.xml'),
#(u'Simon Conway - First in the Nation', u'http://www.newsmax.com/rss/SimonConway/133.xml'),
#(u'S.E. Cupp - Future Tense', u'http://www.newsmax.com/rss/SECupp/34.xml'),
#(u'Jackie Gingrich Cushman - Conservative Strategy', u'http://www.newsmax.com/rss/JackieGingrich/96.xml'),
#(u'Lanny Davis - DC View', u'http://www.newsmax.com/rss/LannyDavis/43.xml'),
#(u'Alan Dershowitz - Legally Speaking', u'http://www.newsmax.com/rss/AlanDershowitz/121.xml'),
#(u'Frank Donatelli', u'http://www.newsmax.com/rss/FrankDonatelli/127.xml'),
#(u'Steve Emerson - Radical Monitor', u'http://www.newsmax.com/rss/Emerson/56.xml'),
#(u'Susan Estrich - Policy Matters', u'http://www.newsmax.com/rss/Estrich/38.xml'),
#(u'Heath Evans - Sporting Insight', u'http://www.newsmax.com/rss/HeathEvans/126.xml'),
#(u'Chris Freind - Independent Matters', u'http://www.newsmax.com/rss/Freind/116.xml'),
#(u'Jon Friedman - The Buzz', u'http://www.newsmax.com/rss/JonFriedman/94.xml'),
#(u'Frank Gaffney - Security Watch', u'http://www.newsmax.com/rss/FrankGaffney/40.xml'),
#(u'Barry Goldwater', u'http://www.newsmax.com/rss/BarryGoldwater/141.xml'),
#(u'Tawfik Hamid - Inside Islam', u'http://www.newsmax.com/rss/TawfikHamid/59.xml'),
#(u'James Hirsen - Left Coast Report', u'http://www.newsmax.com/rss/Hirsen/41.xml'),
#(u'E. Ralph Hostetter - Conservative View', u'http://www.newsmax.com/rss/hostetter/55.xml'),
#(u'Ernest Istook - Just a Minute', u'http://www.newsmax.com/rss/ErnestIstook/66.xml'),
#(u'Drew Johnson - Waste Hunter', u'http://www.newsmax.com/rss/DrewJohnson/145.xml'),
#(u'Ronald Kessler', u'http://www.newsmax.com/rss/RonaldKessler/69.xml'),
#(u'Edward Koch - New York Take', u'http://www.newsmax.com/rss/Koch/37.xml'),
#(u'Dr. Laura - Family Matters', u'http://www.newsmax.com/rss/DrLaura/42.xml'),
#(u'John LeBoutillier - Political Hardball', u'http://www.newsmax.com/rss/JohnLeBoutillier/52.xml'),
#(u'David Limbaugh - Conservative View', u'http://www.newsmax.com/rss/Limbaugh/36.xml'),
#(u'Herbert London - Conservative View', u'http://www.newsmax.com/rss/HerbertLondon/45.xml'),
#(u'John Lott - On Gun Rights', u'http://www.newsmax.com/rss/JohnLott/68.xml'),
#(u'Betsy McCaughey', u'http://www.newsmax.com/rss/McCaughey/115.xml'),
#(u'Judith Miller', u'http://www.newsmax.com/rss/Miller/117.xml'),
#(u'Marc Morano - Climate Matters', u'http://www.newsmax.com/rss/MarcMorano/102.xml'),
#(u'Deroy Murdock - Libertarian View', u'http://www.newsmax.com/rss/Murdock/108.xml'),
#(u'Lev Navrozov - On Freedom', u'http://www.newsmax.com/rss/navrozov/54.xml'),
#(u'Grover Norquist - On Taxation', u'http://www.newsmax.com/rss/GroverNorquist/61.xml'),
#(u'Ted Nugent - Locked and Loaded', u'http://www.newsmax.com/rss/TedNugent/138.xml'),
#(u'Kathleen Parker - Beltway Buzz', u'http://www.newsmax.com/rss/Parker/105.xml'),
#(u'Edward Pentin - Vatican Insider', u'http://www.newsmax.com/rss/EdwardPentin/57.xml'),
#(u'Walid Phares - Mideast Watch', u'http://www.newsmax.com/rss/WalidPhares/60.xml'),
#(u'Lowell Ponte - Radio Right', u'http://www.newsmax.com/rss/LowellPonte/51.xml'),
#(u'Richard Rahn - Global Economic Warrior', u'http://www.newsmax.com/rss/Rahn/81.xml'),
#(u'Scott Rasmussen', u'http://www.newsmax.com/rss/ScottRasmussen/143.xml'),
#(u'Michael Reagan - The Gippers Corner', u'http://www.newsmax.com/rss/Reagan/33.xml'),
#(u'Ralph Reed - Reeds Read', u'http://www.newsmax.com/rss/RalphReed/64.xml'),
#(u'Wayne Allyn Root - Reagan Libertarian', u'http://www.newsmax.com/rss/WayneAllynRoot/101.xml'),
#(u'Christopher Ruddy - Editor', u'http://www.newsmax.com/rss/Ruddy/31.xml'),
#(u'Mahsa Saeidi-Azcu\xe9 - Political View', u'http://www.newsmax.com/rss/MahsaSaeidi-Azcue/131.xml'),
#(u'Doug Schoen - Inside the Facts', u'http://www.newsmax.com/rss/DougSchoen/139.xml'),
(u'Thomas Sowell - Heart and Sowell', u'http://www.newsmax.com/rss/ThomasSowell/144.xml'),
(u'Ben Stein - Dreemz', u'http://www.newsmax.com/rss/BenStein/39.xml'),
(u'John Stossel - Consumer Corner', u'http://www.newsmax.com/rss/Stossel/48.xml'),
#(u'Andrea Tantaros - Just Venting', u'http://www.newsmax.com/rss/AndreaTantaros/35.xml'),
#(u'Ken Timmerman', u'http://www.newsmax.com/rss/KenTimmerman/90.xml'),
#(u'Matt Towery - Inside the Numbers', u'http://www.newsmax.com/rss/MattTowery/44.xml'),
#(u'Richard Viguerie - Fiscal Sanity', u'http://www.newsmax.com/rss/Viguerie/82.xml'),
#(u'James Walsh - Immigration Focus', u'http://www.newsmax.com/rss/JamesWalsh/63.xml'),
#(u'Doug Wead - Presidency in Focus', u'http://www.newsmax.com/rss/DougWead/58.xml'),
#(u'George Will - Conservatively Speaking', u'http://www.newsmax.com/rss/GeorgeWill/95.xml'),

]

_reader is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to increase the max_articles_per_feed &oldest_article iray1991 Recipes 0 01-31-2012 08:16 PM
calibre internal APIs:max_articles_per_feed & oldest_article iray1991 Recipes 0 01-31-2012 08:05 PM
Hyperlinks Issue in NLT Bible (ebook or software issue)? myet01 Kobo Reader 5 07-29-2011 08:47 AM
oldest_article questions lucina Recipes 2 06-08-2011 04:06 PM
Next issue..... DeathtoToasters iRex 5 12-05-2007 02:10 PM


All times are GMT -4. The time now is 10:07 AM.


MobileRead.com is a privately owned, operated and funded community.