Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 01-26-2011, 09:12 AM   #1
jdomingos76
Enthusiast
jdomingos76 began at the beginning.
 
Posts: 28
Karma: 12
Join Date: Jun 2010
Device: Kindle 2 and 3 Int
Can I disable images?

I mainly use calibre for news recipes, to read on my Kindle. Because I like a clean text-only reading environment, is there an option to exclude images from conversion?
Thanks in advance.
jdomingos76 is offline   Reply With Quote
Old 01-26-2011, 10:26 AM   #2
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 jdomingos76 View Post
I mainly use calibre for news recipes, to read on my Kindle. Because I like a clean text-only reading environment, is there an option to exclude images from conversion?
Thanks in advance.
You can always modify the recipes to eliminate images.
Starson17 is offline   Reply With Quote
Advert
Old 01-29-2011, 09:10 AM   #3
mufc
Connoisseur
mufc doesn't littermufc doesn't litter
 
Posts: 99
Karma: 170
Join Date: Nov 2010
Location: Airdrie Alberta
Device: Sony 650
dict(name='img')
mufc is offline   Reply With Quote
Old 01-29-2011, 01:31 PM   #4
jdomingos76
Enthusiast
jdomingos76 began at the beginning.
 
Posts: 28
Karma: 12
Join Date: Jun 2010
Device: Kindle 2 and 3 Int
Quote:
Originally Posted by mufc View Post
dict(name='img')
Thanks. How should I use this command inside the recipe code?
jdomingos76 is offline   Reply With Quote
Old 01-29-2011, 11:17 PM   #5
mufc
Connoisseur
mufc doesn't littermufc doesn't litter
 
Posts: 99
Karma: 170
Join Date: Nov 2010
Location: Airdrie Alberta
Device: Sony 650
Check out this recipe example
Spoiler:
class AdvancedUserRecipe1289760920(BasicNewsRecipe):
title = u'Ghacks'
oldest_article = 7
max_articles_per_feed = 100
summary_length = 100
use_embedded_content = False
no_stylesheets = True

remove_javascript = True
extra_css = '''
h1{font-family:Georgia,serif; font-weight:bold;font-size:large;}
h2{font-family:Georgia,serif; font-weight:normal;font-size:small;}
p{font-family:Georgia,serif;font-size:small;}
body{font-family:Georgia,serif;font-size:small;}
'''


remove_tags = [dict(name='div', attrs={'class':['navigation','alignright','sidebar3','sidebars','b asement clr','clr','socialize-in-content']}),
dict(name='div', attrs={'id':['breadcrumbs','respond',]}),
dict(name='ul', attrs={'class':['bottomnav','extendspost']}),
dict(name='ol', attrs={'class':['commentlist']}),
dict(name='p', attrs={'class':['tags']}),
dict(name='h3', attrs={'id':['comments']}),
dict(name='img'),]

feeds = [(u'Windows', u'http://www.ghacks.net/category/windows/feed/'), (u'Portable Apps', u'http://www.ghacks.net/tag/portable-software/feed/')]
mufc is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable BigBrother features ebs Kindle Developer's Corner 168 09-22-2013 11:53 PM
HTML + Images = MOBI without Images SunLight Amazon Kindle 5 08-25-2012 02:27 PM
Disable Kindle Detection Dark123 Calibre 6 12-15-2010 07:00 PM
How to disable the accelerometer ? askyn PocketBook 4 05-23-2010 12:38 PM
Disable Synchronization help please charlesp Sony Reader 2 01-10-2009 01:18 PM


All times are GMT -4. The time now is 11:09 AM.


MobileRead.com is a privately owned, operated and funded community.