Thanks Divingduck,
... as usual, the problem lies in open sight and once you know the solution, everything seems simple and easy.
I took the freedom to merge my earlier fork from your recipe with your actual version, to come up with an improved version. - Please feel free to review and edit or enhance even further.
My evolutionary changes over the last five years:
- add also regexp to add ". " after hcf-location-mark (the Place where the article is set).
- further css entries for teaser text and other elements
- options for conversion and duplicate articles
- optional settings to reduce size on b/w readers
- played a bit with tags filtering
For Amazone Kindle [4|Paperwhite] these settings work nicely:
Code:
# if you want to reduce size for an b/w or E-ink device, uncomment the following 4 lines:
compress_news_images = True
#compress_news_images_auto_size = 16
scale_news_images = (400,300)
compress_news_images_max_size = 35
Currently one of my former versions ships with calibre OOTB. So, once you are happy with the combined efforts as well, we should ask Kovid to integrate the recipe upstream.
Thanks again and looking forward to your comments.
Hegi.