View Single Post
Old 03-13-2011, 01:08 PM   #5
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by mufc View Post
I exploded the epub and then tried adding this to my recipe but it has not worked
remove_tags = [dict(name='span', attrs={'class':'articledate'})]
That won't work - remove_tags operates on the input and the article date is part of the output.

The article date at the point you are referring to is part of the standard recipe structure. You can control the date with populate_article_metadata. but I don't recall it being removed completely. Perhaps Kovid can advise, or you can search the code base.
Starson17 is offline   Reply With Quote