View Single Post
Old 01-20-2011, 06:04 PM   #1
cafedo
Junior Member
cafedo began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
Creating my custom recipes: enlarge image in blog post

Hi everybody!
I've done a simple custom recipes for this blog: http://borisjr.blogspot.com/.
This is the result:

class AdvancedUserRecipe1295559267(BasicNewsRecipe):
title = u'BorisJr'
oldest_article = 7
max_articles_per_feed = 100
no_stylesheets = True
remove_javascript = True
keep_only_tags = [dict(name='div', attrs={'class':'post hentry'})]
remove_tags = [dict(name='div', attrs={'class':'post-footer'})]
extra_css = '''
Apple-style-span {color:black;}
td.tr-caption {font-size:14px;}
'''
feeds = [(u'BorisJr', u'http://borisjr.blogspot.com/feeds/posts/default')]

The result on my Kindle is pretty well, but I've two question:
- it's possible to enlarge a little bit the image content in each post? Maybe do i have to enlarge margin of the post converted? How?
- Using this command <Apple-style-span {color:black;}> I can't change article font color (wich is red) in black, probably because I can't attach very well the real css class of article text. So the article in Kindle appears faded; what i have to do to prevent this?

Thanks in advance..
cafedo is offline   Reply With Quote