View Single Post
Old 07-19-2009, 07:47 AM   #609
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
Quote:
Originally Posted by GetSpiffed View Post
Hello,

Is there someone who can help me with a recipe for the various sections of the Dutch newspaper NRC:

http://www.nrc.nl/rss/binnenland
http://www.nrc.nl/rss/buitenland
http://www.nrc.nl/rss/economie
http://www.nrc.nl/rss/sport
http://www.nrc.nl/rss/wetenschap
http://www.nrc.nl/rss/kunst
http://www.nrc.nl/rss/media

I can't get them to work, getting a lot of unwantend garbage.

Thanks in advance...

Pepijn

Create recipe in calibre in standard way, add all the feeds to that recipe and than click on advanced button.

Add this code:

Code:
    encoding              = 'cp1252'

    keep_only_tags = [dict(name='div', attrs={'class':'article clearfix'}) ]

    def print_version(self, url):
        return url + '?service=Print'
kiklop74 is offline