Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-31-2011, 08:52 AM   #1
Tridens92
Junior Member
Tridens92 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2011
Device: Kindle
Space.com recipe - text is invisible!

I'm having trouble with my Space.com custom recipe for Calibre. It worked fine for a while, but now most of the pages are blank, except for words that serve as links. What's interesting is that the text is there, it's just invisible! I know this because when I move my Kindle cursor around the blank areas of the screen, the pop-up dictionary shows me the invisible word and its definition. I'm assuming it's probably related to changing the font color, but I really don't know. Can anyone help? Here's my custom recipe:

class AdvancedUserRecipe1296481904(BasicNewsRecipe):
title = u'Space.com'
oldest_article = 7
max_articles_per_feed = 100

feeds = [(u'Space.com Headlines', u'http://www.space.com/home/feed/site.xml')]


Thanks so much for any help!
Tridens92 is offline   Reply With Quote
Old 01-31-2011, 10:09 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,447
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Try adding the following two lines to the recipe

no_stylesheets=True
remove_attributes=['style']
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 01-31-2011, 10:55 AM   #3
Tridens92
Junior Member
Tridens92 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2011
Device: Kindle
It worked! Thanks so much for the rapid reply.
Tridens92 is offline   Reply With Quote
Reply

Tags
invisible, recipe, space.com, text

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recipe works when mocked up as Python file, fails when converted to Recipe ode Recipes 7 09-04-2011 04:57 AM
Wall Street Journal, WSJ, Free version, recipe improvement for full text of all ar winterescape Recipes 16 02-07-2011 01:51 PM
Invisible text in Book View erikjacobson Sigil 4 11-19-2010 12:10 PM
Invisible text DaleDe ePub 11 05-05-2009 04:55 AM


All times are GMT -4. The time now is 09:46 PM.


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