Sometimes, a page to be downloaded contains a link to another page that is to be downloaded in a single recipe. This is a good example:
http://www.economist.com/news/world-...-politics-week (all the "see article" links point to another articles in the same edition that will be downloaded by the economist recipe).
I would like to convert them to point to the ebook file instead to the web. So that clicking on these links in a reader would just jump to the article in the reader and would not open the browser.
In a recipe, the list of all articles to be downloaded is created by parse_index. Linking to articles is possible (even if not trivial) as per this thread:
https://www.mobileread.com/forums/sho...d.php?t=227912 .
But I am not sure how to acces the list returned by parse_index from postprocess_book (that is the function to do this stuff, right?). Also, should this be done at the recipe level at all or below it? Is there a reason why Calibre does not do this already? I think it should be implementable generically so that it would work for all recipes without any changes to the recipes - or not?