Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 01-14-2013, 04:05 PM   #1
verydeepwater
Member
verydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 86
Karma: 12586
Join Date: Nov 2012
Device: Ipad and Kindle Fire
Problem with page magnification on fixed layout for kindle fire

I am trying to produce a fixed layout ebook for kindle fire with regional magnification. I am using the following coding found in the Amazon guidelines:

<a class="app-amzn-magnify"
data-app-amzn-magnify='{"targetId":"fs1-txt2-magTarget", "sourceId":"fs1-2-txt", "ordinal":1}'>
<div id="fs1-2-txt">
etc etc..


But I keep on getting the following errors when I validate the epub:

there is no attribute "data-app-amzn-magnify" and
document type does not allow element "div" here; missing one of...

With just one paragraph of text formatted in this way, the conversion to mobi works and so does the magnification on my Kindle Fire. But if another page of three regions is set for magnification, the conversion to mobi fails.
It would be greatly appreciated if anyone with any experience could help me with this.
verydeepwater is offline   Reply With Quote
Old 01-15-2013, 04:07 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
A Kindle doesn't read ePub, so don't be surprised if documents for Kindle are not valid ePub.
Jellby is offline   Reply With Quote
Advert
Old 01-15-2013, 08:23 AM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
As to any proprietary Amazon attribute failing epub validation... well yeah... that's going to happen. But are you intentionally nesting a div element inside an anchor element? If that's Amazon's suggested method, then so be it. But where does the closing anchor tag happen? That's not included in you snippet.
DiapDealer is offline   Reply With Quote
Old 01-15-2013, 09:30 AM   #4
verydeepwater
Member
verydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 86
Karma: 12586
Join Date: Nov 2012
Device: Ipad and Kindle Fire
Quote:
Originally Posted by DiapDealer View Post
. But are you intentionally nesting a div element inside an anchor element? If that's Amazon's suggested method, then so be it. But where does the closing anchor tag happen? That's not included in you snippet.
You're right I only put the end of the code. Yes it seems that I shouldn't have expected an epub check to pass proprietory Amazon code.

Thanks for your help
verydeepwater is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening Fixed Layout KF8 on Kindle 1,2. What happens? FunkeXMix Kindle Formats 6 12-13-2012 06:20 AM
fixed - problem with pc not seeing kindle fire Jaceyb Kindle Fire 0 12-07-2012 06:52 PM
(Fixed Layout) Kindle for iPad app? jayz Kindle Formats 7 11-03-2012 06:00 PM
Fixed layout epub in BN site appears only first page bhuvana786 Barnes & Noble NOOK 1 04-17-2012 05:24 PM


All times are GMT -4. The time now is 03:30 AM.


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