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 01-06-2023, 03:40 PM   #1
dmac
Member
dmac began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2023
Device: Kindle
Irish Times & Irish Independent

Hi,
I was wondering if someone could update the Irish Times & Irish Independent recipes please.

Right now they are full of navagation links, and it would be so great if both those sites recipes would work correctly.

It would be great if it was more readable, as it keeps grabing the nav menu before and after each article.

Many thanks.
dmac is offline   Reply With Quote
Old 01-07-2023, 02:49 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: 45,185
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...f4c9892b96a813
kovidgoyal is offline   Reply With Quote
Advert
Old 01-07-2023, 05:12 AM   #3
dmac
Member
dmac began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2023
Device: Kindle
Thank you so much Kovid. independent is perfect.

I do get the following error on the Irirsh Times recipe:

{'error_message': 'Login failed', 'error_number': '5'}

Account credentials are correct. Maybe it's just temporary on the site.

Tahnk you.
dmac is offline   Reply With Quote
Old 01-07-2023, 09:03 AM   #4
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: 45,185
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I didnt touch the login code.
kovidgoyal is offline   Reply With Quote
Old 01-08-2023, 07:16 AM   #5
dmac
Member
dmac began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2023
Device: Kindle
Hi Kovid,
Today i got the following email from Amazon Kindle, in reply to the scheduled news fetch emails sent to my kindle email address. See below.

I was wondering should i be selecting a differernt format for my Kindle (2022 11th Gen).
i have "Kindle Standard set in my Calibre settings. Or which is the best format to convert to for the news fetch?


-----
Upcoming change about sending MOBI documents to Kindle library

Dear Kindle Customer,

Thank you for using the Send to Kindle service to send personal documents to your Kindle library. We noticed that the following document(s) sent by you at 08:43 AM on Sun, Jan 08, 2023 GMT are in MOBI (.mobi, .azw) formats:
* News.mobi


We wanted to let you know that Send to Kindle will soon remove the ability to send MOBI (.mobi, .azw) files to your Kindle library. Any MOBI files already in your library will not be affected by this change. MOBI is an older file format and won’t support the newest Kindle features for documents. Any existing MOBI files that you want to read with our most up-to-date features for documents will need to be re-sent in a compatible format.

Compatible formats now include EPUB (.epub), which you can send to your library using the new Send to Kindle for Web, the free Kindle app. We will be adding EPUB support to the Send to Kindle desktop app for PC and Mac.

If you have any questions, please visit our help page or contact our Customer Service team.

Regards,
Amazon Kindle Support

-----



thank you.
dmac is offline   Reply With Quote
Advert
Old 01-08-2023, 09:48 AM   #6
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: 45,185
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Read the calibre FAQ about it
kovidgoyal is offline   Reply With Quote
Old 02-19-2023, 02:27 PM   #7
dmac
Member
dmac began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2023
Device: Kindle
Hi @kovidgoyal,
I was wondering if you could be so kind, as to update the Irish Times script slightly to have add the categories. Currently the script only has "All Articles", and everything is dumped in there. Would be great to have article categories, like News, Sport, Politics etc.

Thanks so much.
dmac is offline   Reply With Quote
Old 04-25-2023, 03:27 PM   #8
dmac
Member
dmac began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2023
Device: Kindle
Hi, Irish Times seems to be broken, and pulling in a lot of unneeded page elements. Also the news categories are gone.

Hopefully you can fix it.
dmac is offline   Reply With Quote
Old 04-25-2023, 04:49 PM   #9
dmac
Member
dmac began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2023
Device: Kindle
Quote:
Originally Posted by dmac View Post
Hi, Irish Times seems to be broken, and pulling in a lot of unneeded page elements. Also the news categories are gone.

Hopefully you can fix it.

Also noticed that Irish Independent is also broken too.
Thank you.
dmac is offline   Reply With Quote
Old 04-28-2023, 01:04 AM   #10
unkn0wn
Fanatic
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: 597
Karma: 85520
Join Date: May 2021
Device: kindle
Fixed. I want you to check Irish times again as its a login based recipe. Just use the built in recipe, its updated.

https://github.com/kovidgoyal/calibr...8eb4e66df9aa94

https://github.com/kovidgoyal/calibr...1ef052810f8630
unkn0wn is offline   Reply With Quote
Old 05-05-2023, 09:14 AM   #11
dmac
Member
dmac began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2023
Device: Kindle
Quote:
Originally Posted by unkn0wn View Post
Fixed. I want you to check Irish times again as its a login based recipe. Just use the built in recipe, its updated.

https://github.com/kovidgoyal/calibr...8eb4e66df9aa94

https://github.com/kovidgoyal/calibr...1ef052810f8630
Hi mate, sorry for the late reply, but was away on work.

Thank you so much.

For the Irish Independant is working great now. Thank you.
I also see some of the rss feeds changed on the site, but two are missing.
Can you add in the following to the script please:

(u'Frontpage News', u'http://www.independent.ie/rss'),
(u'World News', u'http://www.independent.ie/world-news/rss'),

For the Irish Times, unfortunately this is not working.
I have DM'd you some details in which you can test against an account.

Thank you.
dmac is offline   Reply With Quote
Old 05-06-2023, 01:41 AM   #12
unkn0wn
Fanatic
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: 597
Karma: 85520
Join Date: May 2021
Device: kindle
https://github.com/kovidgoyal/calibr...a5d53ea1fb9cb7

Fixed Irish times, added World News feed to Independent.
unkn0wn is offline   Reply With Quote
Old 05-06-2023, 05:40 AM   #13
dmac
Member
dmac began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2023
Device: Kindle
Thank you.
Unfortunately the Irish Independant in-article isnt displaying correctly.
Seems to be showing logo images pushing the text out.

In the Irish Times, is it possible to have sections/feeds, instead of all showing in "all articles"

Thank you so much.
dmac is offline   Reply With Quote
Old 05-07-2023, 01:28 AM   #14
unkn0wn
Fanatic
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: 597
Karma: 85520
Join Date: May 2021
Device: kindle
https://github.com/kovidgoyal/calibr...55be030e0246b3

I created another feeds based recipe for Irish Times to get sections & also made some changes to Independent.
unkn0wn is offline   Reply With Quote
Old 05-07-2023, 09:49 AM   #15
dmac
Member
dmac began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2023
Device: Kindle
Thanks unkn0wn,
Appreciate that!

The Irish Independant is working perfectly now. thank you.

On the Irish Times, some of it's articles are pay-only and require a login.
I do subscribe to it.

Looking at the original Irish Times script, instead of supplying the main page url:
self.index_to_soup('https://www.irishtimes.com/')

Would it be possibly be split it, and supply the section urls instead e.g.:

https://www.irishtimes.com/ireland/
https://www.irishtimes.com/politics/
https://www.irishtimes.com/business/
https://www.irishtimes.com/sport/

etc...

Would that work for section?

By the way, this is a nice API service called "screenshot machine".
It takes a screenshot of websites and return an image on a url call.
I use it for the daily newpapers on calibre. I just supply my own API key in the script (in custom calibre scripts.) Might be something to add to some of your scripts. Free usage too.

https://www.screenshotmachine.com/

Thank you.
dmac 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 01:25 PM.


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