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 10-28-2012, 09:39 AM   #1
joseprl89
Junior Member
joseprl89 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2012
Device: Kindle
Fetch all news from a blog

Hi,

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:

http://www.directoalpaladar.com/cate...ianas/rss2.xml

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,

Josep
joseprl89 is offline   Reply With Quote
Old 10-28-2012, 09:43 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,419
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
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.
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 10-28-2012, 11:58 AM   #3
joseprl89
Junior Member
joseprl89 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2012
Device: Kindle
Okay, thanks for your advice, I'll give it a shot!
joseprl89 is offline   Reply With Quote
Old 11-18-2012, 02:09 PM   #4
Prestidigitweeze
Fledgling Demagogue
Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.
 
Prestidigitweeze's Avatar
 
Posts: 2,202
Karma: 24642771
Join Date: Feb 2011
Location: White Plains
Device: Aura HD; Nexus 7; PRS-350, 950; Kindle K; OnePlus One; Galaxy S4; MBP.
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):

http://www.theparisreview.org/interviews

(Incidentally, that section of the site is a great resource for writers, readers, editors and critics.)
Prestidigitweeze is offline   Reply With Quote
Old 01-15-2013, 07:13 AM   #5
johnsk11
Junior Member
johnsk11 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2013
Device: kindle
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 ?

http://www.kitchengadgets.org.uk/how...t-breadmakers/

thanks
johnsk11 is offline   Reply With Quote
Reply

Tags
calibre, fetch all news, rss

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fetch News doesn't (fetch news, that is) DJ Vollkasko Recipes 9 06-30-2012 03:11 AM
fetch news prony Library Management 1 07-23-2011 06:59 PM
Fetch news chewi Recipes 0 11-30-2010 05:09 AM
Can't Fetch News Catew Calibre 2 07-19-2009 07:46 PM
Fetch News philipdavies Calibre 5 10-08-2008 04:33 AM


All times are GMT -4. The time now is 08:34 PM.


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