View Single Post
Old 05-17-2010, 11:37 AM   #1926
pablofunes
Junior Member
pablofunes began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2009
Device: kindle2
submitting a patched recipe for new york review of books

Hi Kovid & Calibre community,

I've repaired the "new york review of books" recipe - one of Calibre's core recipes. It was missing all article's titles because of a change in the nybooks.com HTML configuration.

Where should I submit the patch to?

Regards,

Pablo Funes

PS: The patch is very simple. Where it says

keep_only_tags = [dict(id='article-body')]

It should be instead,

keep_only_tags = [dict(id=['article-body','page-title'])]


Quote:
Originally Posted by kovidgoyal View Post
Since there have been a lot of custom recipe requests of late, I'm starting a sticky where they can be aggregated. Post requests for custom recipes here. Once you have a custom recipe that works well for you (please test both the LRF and EPUB versions), let me know and I'll include it into calibre so others can benefit from it as well.
pablofunes is offline