Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-07-2023, 11:35 AM   #16
unkn0wn
Guru
unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.
 
Posts: 622
Karma: 85520
Join Date: May 2021
Device: kindle
The free recipe works without login. All articles load. You can test this by copying the code into custom recipe. I actually checked, even subscriber exclusive articles load all the text (I think, you can test it once).

Actually I could edit parse feeds and add sections but setting google feeds is easier.
unkn0wn is offline   Reply With Quote
Old 05-09-2023, 04:13 AM   #17
dmac
Member
dmac began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2023
Device: Kindle
Thank you.
If it would be possible i'd really like to get the original Irish Times (login) script working with sections.

On the free, i cant seem to read any articles. Just headline links. Maybe something changed.

Anyway, i hope you can get the original script back working.
Thank you.
dmac is offline   Reply With Quote
Advert
Old 05-09-2023, 02:29 PM   #18
unkn0wn
Guru
unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.
 
Posts: 622
Karma: 85520
Join Date: May 2021
Device: kindle
I just checked & everything seems to work okay, all articles load with the whole text.

I think you already know this but the headline links are from the section menu, you have to click through and it'll take you to those articles or you can keep moving forward and articles will eventually show up.
unkn0wn is offline   Reply With Quote
Old 05-10-2023, 04:11 AM   #19
dmac
Member
dmac began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2023
Device: Kindle
Thank you for your efforts unkn0wn. Appreciate it!

I have re-added the Irish Times (free) script to test, but articles are not possible to read on my kindle device. I have created a video:
https://photos.app.goo.gl/EPQ3p87iYHMMuzsg9

Endless links, and no actual article content?

Anyway, i will go back to the Irish Times (login) script, as it works very well, i pay for this, but it's just missing the sections. Would be great of the original script just had the sections.

Thank you.
dmac is offline   Reply With Quote
Old 05-10-2023, 09:51 AM   #20
unkn0wn
Guru
unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.
 
Posts: 622
Karma: 85520
Join Date: May 2021
Device: kindle
Quote:
Originally Posted by dmac View Post

It looks like you are having trouble with MOBI file, the article pages won't open in your kindle. The output for this recipe is almost 30mb in epub (maybe images are too large).

change max_articles_per_feed = 10 and check.

I think we can compress images. They already get compressed if output is some kindle, better make it the basic 'kindle' and not paperwhite or others.
add below to the code.
Code:
    def __init__(self, *args, **kwargs):
        BasicNewsRecipe.__init__(self, *args, **kwargs)
        if self.output_profile.short_name.startswith('kindle'):
            # Reduce image sizes to get file size below amazon's email
            # sending threshold
            self.web2disk_options.compress_news_images = True
            self.web2disk_options.compress_news_images_auto_size = 5
            self.log.warn('Kindle Output profile being used, reducing image quality to keep file size below amazon email threshold')
attached recipe with changes.
Attached Files
File Type: recipe The Irish Times (free).recipe (3.4 KB, 124 views)

Last edited by unkn0wn; 05-10-2023 at 09:55 AM.
unkn0wn is offline   Reply With Quote
Advert
Old 05-17-2023, 09:25 AM   #21
dmac
Member
dmac began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2023
Device: Kindle
Thanks for that.
Would you mind adding the covers (that you did on The Irish Times (free)) to the covers on the Irish Times (paid), and Irish Independant please.
Thanks so much.
dmac is offline   Reply With Quote
Old 05-18-2023, 01:55 PM   #22
unkn0wn
Guru
unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.
 
Posts: 622
Karma: 85520
Join Date: May 2021
Device: kindle
Couldn't find cover for Irish Independent. Made changes to Irish Times.
unkn0wn is offline   Reply With Quote
Old 05-18-2023, 02:51 PM   #23
dmac
Member
dmac began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2023
Device: Kindle
Quote:
Originally Posted by unkn0wn View Post
Couldn't find cover for Irish Independent. Made changes to Irish Times.
Thanks. Covers are here: https://es.kiosko.net/ie/
dmac is offline   Reply With Quote
Old 05-19-2023, 12:59 AM   #24
unkn0wn
Guru
unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.
 
Posts: 622
Karma: 85520
Join Date: May 2021
Device: kindle
yes but this is an old cover from 2021 and it'll stay the same everyday. If you want a static cover you can add

cover_url = 'link'
unkn0wn is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Irish times recipe broken DavidBowie Recipes 12 01-03-2022 07:29 AM
Updated Irish Times recipe? leo738 Recipes 10 04-01-2013 08:13 AM
Irish Times - Recipe Problem leo738 Recipes 10 08-31-2011 12:15 PM
Irish Times Recipe problem mbro Recipes 3 04-16-2011 08:11 AM
Modified Irish Times Recipe phiznlil Recipes 2 04-01-2011 06:27 AM


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


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