Quote:
Originally Posted by Starson17
I finally had time to look at this.
Most of your links from the RSS feed work normally, but occasionally a link like this:
Code:
http://www.dispatch.com/live/content/local_news/stories/2010/10/24/an-illusion-of-treatment.html?sid=101
is sent off to a link like this:
Code:
http://www.dispatchpolitics.com/live/content/local_news/stories/2010/10/24/copy/an-illusion-of-treatment.html?adsec=politics&sid=101
resulting in the problems you see. (Don't you love the political ad season!)
This is done by adding a <meta http-equiv="refresh"> tag to the code.
Add this to your recipe to prevent it:
Code:
remove_tags.append(dict(name = 'meta', attrs = {'http-equiv': 'refresh'}))
|
Starson17 - Greatly appreciate you taking a further look at this. I'm going to cut and paste your code or the code offered by kovidgoyal. This Calibre thing and the recipes for news sources is my favorite thing about my Kindle lately ...