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 03-29-2025, 06:22 AM   #1
moochris
Junior Member
moochris began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2025
Device: Kobo Libra 2
lwn.net subscriber RSS for weekly ePubs

Hi there,

There are the builtin recipes for lwn (which seem to be broken at the moment for subscribers, even with the fix mentioned in the recent thread).

However, lwn.net now create ePubs of the weekly edition and provide an RSS feed linking to these.

Is there a way I can adapt the BasicNewsRecipe class to just grab the latest ePub from that feed directly and save it, skipping any of the conversion from HTML stuff?

The RSS item.link content is simply a link to the epub file and I guess you need to be logged in, as the URL looks generic with no subscriber token.

Thanks,
Chris
moochris is offline   Reply With Quote
Old 03-29-2025, 07:46 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,316
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sure you can there are many such recipes already for example Dwutygodnik or zeitde_sub or nrcnext and so on.
kovidgoyal is online now   Reply With Quote
Advert
Old 03-29-2025, 11:41 AM   #3
moochris
Junior Member
moochris began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2025
Device: Kobo Libra 2
Thanks for the pointers - I managed to get it working by adapting dwutygodnik and finding the link in the (logged in) page for the EPUB, as that was more straightforward.
moochris is offline   Reply With Quote
Old 03-29-2025, 11:52 AM   #4
moochris
Junior Member
moochris began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2025
Device: Kobo Libra 2
Quote:
Originally Posted by moochris View Post
Thanks for the pointers - I managed to get it working by adapting dwutygodnik and finding the link in the (logged in) page for the EPUB, as that was more straightforward.
I don't have a github account to raise a pull request, so I have attached the recipe if anyone else may find it useful.
Attached Files
File Type: recipe lwn.net ePub.recipe (1.9 KB, 39 views)
moochris is offline   Reply With Quote
Reply

Tags
lwn epub feed


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
lwn.net recipe not working Doobie Brother Recipes 4 06-06-2025 03:24 PM
Minor fix to "LWN.net Weekly Edition" Higgs.Mechanism Recipes 1 12-12-2024 07:05 AM
LWN Weekly title fix request barryoverthere Recipes 2 04-10-2021 03:43 AM
lwn -weekly recipe - incomplete result ametzler Recipes 1 06-11-2016 07:51 AM
LWN.net Weekly News recipe davide125 Recipes 22 11-12-2014 09:44 PM


All times are GMT -4. The time now is 04:03 AM.


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