View Single Post
Old 04-19-2010, 09:51 AM   #1801
gambarini
Connoisseur
gambarini began at the beginning.
 
Posts: 98
Karma: 22
Join Date: Mar 2010
Device: IRiver Story, Ipod Touch, Android SmartPhone
Quote:
Originally Posted by kiklop74 View Post
I would do this (add it to your recipe):

Code:
    extra_css = ' .boxocchiello2{font-size: small} .titoloRub{font-size: xx-large; font-weight: bold } .sezione{font-weight: bold} '

    conversion_options = {'linearize_tables':True}

    remove_attributes = ['colspan']

    keep_only_tags = [dict(attrs={'class':['boxocchiello2','titoloRub','sezione','articologirata']})]
Thanks, looks great now!

Last edited by gambarini; 04-19-2010 at 09:59 AM.
gambarini is offline