|10-28-2012, 10:39 AM||#1|
Join Date: Oct 2012
Fetch all news from a blog
I am trying to create a recipe to obtain a cookbook from a gastronomic blog.
Therefore, I have created a recipe based on an already existing one, and it works like a charm except for a single issue, Calibre seems to ignore the pagination of the rss reader, and fetches only the first 10 posts (which are the ones obtained when accessing its news feeds), so, whatever values I set to oldest article and max_articles_per_feed (greater than 10), I end up with only 10 articles per feed, which for a cookbook is a little brief IMHO.
This is one of the feeds I try to get:
As you see, it only displays 10 posts, and those are exactly the ones obtained in the generated ebook.
How can I implement the rss pagination in Calibre? Is it already done or should I add a feed for each page?
Thanks for your attention,
|10-28-2012, 10:43 AM||#2|
Creator of calibre
Join Date: Oct 2006
Location: Mumbai, India
RSS is designed to show only the most recent articles. That feed limits itself to 10. There's no way to get previous articles from the feed, in calibre or outside it. You need ot implement parse_index() in the recipe and parse the actual blog's index page to get a list of all articles.
|11-18-2012, 03:09 PM||#4|
Join Date: Feb 2011
Location: White Plains
Device: Aura HD; Nexus 7 2013; PRS-950, 350; Kindle K; Galaxy S4; MBP 15".
What about one particular category of a blog? I'm not exactly sure where I'd find the index, but I'm interested in retrieving all of the writers' interviews from The Paris Review (which, as you can see from the tabs, go back to the 1950s):
(Incidentally, that section of the site is a great resource for writers, readers, editors and critics.)
|01-15-2013, 08:13 AM||#5|
Join Date: Jan 2013
how do i pull this article into how to guide ?
The rss feed isn't showing all the article i have tried different varaiables but i only get the recent rss feed. Can you pull pages from a feed ?
|calibre, fetch all news, rss|
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Fetch News doesn't (fetch news, that is)||DJ Vollkasko||Recipes||9||06-30-2012 04:11 AM|
|fetch news||prony||Library Management||1||07-23-2011 07:59 PM|
|Fetch news||chewi||Recipes||0||11-30-2010 06:09 AM|
|Can't Fetch News||Catew||Calibre||2||07-19-2009 08:46 PM|
|Fetch News||philipdavies||Calibre||5||10-08-2008 05:33 AM|