Quote:
Originally Posted by Starson17
You seem to have YOUTUBE tags on that recipe, but I was able to extract the code from the code tags. One of your H1 tags is inside an <a> tag so, assuming you don't need links try changing the remove_tags to this:
Code:
remove_tags = [dict(name='div', attrs={'id':'blox-logo'}),dict(name='a')]
You have a lot of overlapping remove and keep tags. You may want to use FireFox and FireBug to clean it up a bit, but it works as is.
|
Thanks again. Your suggestion works and I have also eliminated some duplicative "remove tags." One more request: My masthead title is truncated when viewed on my Kindle. Is this because the font is too large? How can I fix?