![]() |
#1 |
Groupie
![]() Posts: 176
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
Excluding articles
In the new york time recipe, there is
excludeSections = Which makes me wonder if it is possible to exclude articles like that (when the title matches, the article is excluded? Say, if an article is titled "ABC" Is there something like excludeArticles = ['ABC'] and this article (rather than the section) will be excluded from downloading (while an article called "ABC and D" will be kept even though ABC is included in the title.) Thank you. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Sure, you can do whatever you want in a recipe, since every aspect of the base class behavior can be changed by overriding the appropriate methods. IN this case you will need to override either parse_index or build_index or get_feed in your recipe, depending on how the list of articles is created.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Groupie
![]() Posts: 176
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Excluding terms in search | LuvReadin | Feedback | 2 | 04-30-2012 11:44 AM |
cant seem to keep my articles! | marbs | Recipes | 2 | 11-18-2010 12:56 PM |
Seriously thoughtful How many unread ebooks do you own? (excluding freebee's) | Angst | Lounge | 23 | 06-18-2009 10:15 PM |