01-20-2011, 06:04 PM | #1 |
Junior Member
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.. |
01-20-2011, 06:27 PM | #2 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
There is a Calibre Recipes sub-forum for questions like this.
|
Advert | |
|
01-21-2011, 02:57 PM | #3 | ||
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Quote:
|
||
01-23-2011, 08:16 AM | #4 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
Ok, I will try and then I will give you a feedback..
Carlo |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom recipes (archive, read-only) | kovidgoyal | Recipes | 2842 | 09-26-2010 08:34 AM |
Creating recipes - neccessary skills? | fcoulter | Calibre | 3 | 07-18-2010 11:55 AM |
Donations for Custom Recipes | ddavtian | Calibre | 5 | 01-23-2010 04:54 PM |
Help understanding custom recipes | andersent | Calibre | 0 | 12-17-2009 02:37 PM |
Help Creating custom RSS feed need only the image | Malakai | Calibre | 0 | 07-31-2009 04:28 PM |