![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2020
Device: Kindle Paperwhite
|
![]()
I was using the builtin recipe for The Hindu newspaper, but there are few changes I feel that needs to be updated. I tried updating the source code but was not successful. So Kovid can you please help in implementing the below functionality:
1. In the omit list you have omitted news from all different states, and I tried to include 3 states of my liking. So I removed Karnataka, TamilNadu and Kerala from the omit list. And it worked and I started getting the news for that region. But there is a catch in that: If a particular state is having news from 5 different districts, its only showing the news of first district shown, so rest of the district news are not shown. So kindly let me know what changes has to be done for this to work. Thanks in Advance --Divin |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,144
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No idea, presumably you will need to find the URL for a page that lists the articles from the district of interest for you and add that to section_list in parse_index()
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2020
Device: Kindle Paperwhite
|
![]() Quote:
https://www.thehindu.com/todays-pape...nal/tp-kerala/ https://www.thehindu.com/todays-pape.../tp-karnataka/ Can you please help me to achieve this. |
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2020
Device: Kindle Paperwhite
|
![]()
We don't have specific URL for districts, however we have for states:
https://www.thehindu.com/todays-pape...nal/tp-kerala/ https://www.thehindu.com/todays-pape.../tp-karnataka/ since I'm not much into coding, could anyone please help to achieve this |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,144
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That should take care of it: https://github.com/kovidgoyal/calibr...58db4a289f80f7
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2020
Device: Kindle Paperwhite
|
![]()
Thanks Kovid, that worked. I have one more suggestion :
1. To add today's date in the book title so that we can track it in Kindle easily. |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,144
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
the kindle shows you the date fo periodicals automatically, send it to the kindle with usb and you will see it.
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2020
Device: Kindle Paperwhite
|
But I was using send to mail feature, in that its not showing date. So is there any workaround for that?
|
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,144
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Change your output profile to something other than kindle, then the date is added to the title automatically.
|
![]() |
![]() |
![]() |
#10 |
Newsbeamer dev
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 123
Karma: 1000
Join Date: Dec 2011
Device: Kindle Voyage
|
|
![]() |
![]() |
![]() |
#11 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,144
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
various things to the file internals to make them work witht he Kindle's "Periodical mode". Of course if you send the file via email/send to kindle, amazon destroys it be reformatting everything, since it wants you to buy your news through it.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre News Source 'The Hindu' Recipe needs correction | snji | Recipes | 12 | 10-05-2018 11:11 PM |
Req for Adding H4 section to the hindu receipe | vishnumvv | Recipes | 1 | 06-24-2017 09:53 PM |
Receipe request: for abo-key e-paper customers for the austrian newspaper "DiePresse" | newsfreak | Recipes | 0 | 07-11-2014 03:16 PM |
New receipe: novinky.cz - czech news portal | latal.tomas | Recipes | 2 | 04-30-2011 09:16 AM |