![]() |
#1 |
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2020
Device: Kindle Paperwhite
|
Slate download
Hi,
The slate download recipe caps out at 3x articles per heading. I have spent a fruitless few hours trying to work out how to adjust the recipe. I think it is pulling down the 'top of the page', and not the complete list at the bottom (under 'Recently in News and Politics', for example) I think it needs to link somehow to 'b class' but I can't work out how to make that work Can anyone help? I would be ever so grateful Thanks |
![]() |
![]() |
![]() |
#2 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 512
Karma: 82764
Join Date: May 2021
Device: kindle
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2020
Device: Kindle Paperwhite
|
Thank you, this is terrific.
Is it possible to adjust this code so it strips the website, rather than the RSS feeds? Slate has stopped updating their human interest feed. I have emailed them, but no reply. There are still lots of new articles on the website. I tried changing the RSS section of the code, for the earlier version, but it wouldn't compile. At the edge of my skills! Many thanks |
![]() |
![]() |
![]() |
#4 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 512
Karma: 82764
Join Date: May 2021
Device: kindle
|
Although the human interest feed is present there's no such section in that website.
Which articles are you missing? The 'others' feed at the end will try to fetch all the links missing from the above. |
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2020
Device: Kindle Paperwhite
|
Thank you for taking the time to help
I find that slate doesn't include all articles on their RSS The old slate code had a series of *.html pages that it loops through (i have copied an extract below) - is it possible to implement this? The sections which I am particularly interested in downloading are https://slate.com/advice https://slate.com/life But, I would love all the header sections, in a single download (News & Politics, Culture, Technology, Business, Life, Advice) Thank you again **************** for sectitle, url in ( ('News & Politics', '/articles/news_and_politics.html'), ('Technology', '/articles/technology.html'), ('Business', '/articles/business.html'), ('Arts', '/articles/arts.html'), ('Life', '/articles/life.html'), ('Health & Science', '/articles/health_and_science.html'), ('Sports', '/articles/sports.html'), ('Double X', '/articles/double_x.html'), |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 512
Karma: 82764
Join Date: May 2021
Device: kindle
|
|
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2020
Device: Kindle Paperwhite
|
Strangely: this didn't work yesterday (errored out saying no feeds), and then today it just downloads a small fraction of the available articles. I have done an inspection on the code & the CSS tags & I can't identify anything obvious which has changed. Do you have any ideas?
Thank you |
![]() |
![]() |
![]() |
#8 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 512
Karma: 82764
Join Date: May 2021
Device: kindle
|
I actually thought of this yesterday.. i shouldn't have included the month.
https://github.com/kovidgoyal/calibr...22eee980488ce2 |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre can't download Slate | wendy5 | Recipes | 4 | 10-07-2013 09:16 AM |
HP slate is out | fgruber | enTourage Archive | 14 | 11-03-2010 12:31 PM |
Failing to download Slate | shoukyd | Calibre | 2 | 04-02-2010 11:46 PM |
The Slate The Best of Slate 2002 | TadW | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 08-08-2003 11:49 AM |