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 02-07-2012, 09:05 PM   #1
kiavash
Old Linux User
kiavash began at the beginning.
 
Posts: 36
Karma: 12
Join Date: Jan 2012
Device: NST
Question Nook doesn't show 'Microwave and RF' recipe's epub

Sorry if this post is in the wrong forum. Not sure if it is recipe related or ebook-convert.

While trying to write a recipe for Microwave and RF magazine, I came across very strange issue.

While the Calibre's own ebook reader has no problem reading the produced .epub, when I upload it to NST, the articles are not shown correctly. Only the first page of each article is shown and the rest is ignored, meaning flipping the page goes to the end of the article instead of the next page. To add more salt to the wound, Moon+ reader shows the .epub correctly.

Attached is the recipe and its .epub output.

I thought it may had been caused by "table" property so I tested these codes
Spoiler:
PHP Code:
        # Converts all the article pages into one body
        
for body in soup.findAll('span'):
            
body.name 'font'
            
        
# Removes tables to make it compatible with Mobi
        
for table in soup.findAll('table'):
            
table['class'] = table['id']
            
table['id'] = ''
            
table.name 'font' 

but the same results on NST.

Please
Attached Files
File Type: zip mwrf.zip (368.1 KB, 86 views)
kiavash is offline   Reply With Quote
Old 02-07-2012, 11:04 PM   #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: 36,053
Karma: 15014823
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There's something in the markup that the Nook doesn't like. First try adding

conversion_options = {'linearize_tables':True}
kovidgoyal is online now   Reply With Quote
Advert
Old 02-09-2012, 01:55 PM   #3
kiavash
Old Linux User
kiavash began at the beginning.
 
Posts: 36
Karma: 12
Join Date: Jan 2012
Device: NST
Thumbs up

Thanks a lot. You are really a guru!

I promise to return the favor by soon posting the recipe once it is clean and ready to be included in the wonderful calibre!
kiavash is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recipe for Microwave Journal kiavash Recipes 17 01-12-2013 02:31 AM
Nook STR: epub show only cover molokom Conversion 1 06-30-2011 07:45 AM
Calibre EPUB books won't show up in Nook Color? weplayedpirates Barnes & Noble NOOK 0 06-17-2011 01:34 PM
IPAD vs. Microwave cheerio6414 Apple Devices 2 05-10-2010 09:13 PM
iPad iPad + microwave = mess scottjl Apple Devices 5 05-04-2010 02:52 PM


All times are GMT -4. The time now is 12:34 AM.


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