View Single Post
Old 09-18-2011, 03:31 AM   #1
JayKindle
Connoisseur
JayKindle began at the beginning.
 
JayKindle's Avatar
 
Posts: 69
Karma: 10
Join Date: Sep 2011
Device: Kindle Fire HD 8
Lightbulb PCWorld (eng) update.

I noticed a few glitches between the Title of the article and the image or article. And I also took out the ending that says: "Would you recommend this story? YES NO" at the end of each article.

Please let us know when you update your version on your site, so I can stop using my user modified version. Please follow the instructions below to FIND and REPLACE.

I'm not a Pro, but I do like to help.

*****FIND:*****

Code:
    remove_tags        = [
                            dict(name='div', attrs={'class':['toolBar','mac_tags','toolBar  btmTools','recommend longRecommend','recommend shortRecommend','textAds']}),
                            dict(name='div', attrs={'id':['sidebar','comments','mac_tags']}),
                            dict(name='ul', attrs={'class':['tools', 'tools clearfix']}),
                            dict(name='li', attrs={'class':'sub'})
                        ]
*****REPLACE WITH:******

Code:
    remove_tags        = [
                            dict(name='div', attrs={'class':['toolBar','mac_tags','toolBar  btmTools','recommend longRecommend','recommend shortRecommend','textAds']}),
                            dict(name='div', attrs={'id':['sidebar','comments','mac_tags']}),
                            dict(name='ul', attrs={'class':['tools', 'tools clearfix']}),
                            dict(name='li', attrs={'class':'sub'}),
 	                    dict(name='p', attrs={'id':'userDesire'})
                        ]
P.S. My apologies if there is a official thread for PCWorld (eng), but I could not find one, when I used the Search tool.
JayKindle is offline   Reply With Quote