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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-29-2011, 09:37 AM   #1
Giordano Galli
Junior Member
Giordano Galli began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2011
Location: Italy
Device: none
References to images in the guide: are they legal?

Hello

As I understand it the OPF 2.0.1 specification states that an 'href' attribute in the guide can only target a content document, yet an example from lynda.com regarding the conversion from ePub to mobi reads href="images/464.png".
I'd like to know if this syntax is allowed in the mobi specification or if it would at least pass validation.

Thank you very much.

Giordano
Giordano Galli is offline   Reply With Quote
Old 08-29-2011, 10:09 AM   #2
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 65,452
Karma: 43770933
Join Date: Nov 2006
Location: UK
Device: Kindle Voyage, iPad Mini, iPhone 4, MS Surface Pro, N7
You don't include images in the manifest of a Mobi file - if you do, you'll end up with them in the book twice.

You can certainly use relative image paths in the HTML source for the book - Mobi Creator (or whatever tool you're using) will pick the image up and do the right thing with it.
HarryT is online now   Reply With Quote
Old 08-29-2011, 10:44 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: 9,530
Karma: 43837842
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
I'd like to know if this syntax is allowed in the mobi specification or if it would at least pass validation.
Being a proprietary format, there is no 100% agreed upon public "specs" nor a universal "validation" program for MOBI. If the code produces the results you want across a variety of devices/programs... then it's valid mobipocket file.
DiapDealer is offline   Reply With Quote
Old 08-29-2011, 03:02 PM   #4
st_albert
Fanatic
st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.
 
Posts: 552
Karma: 94420
Join Date: Feb 2010
Device: none
references like this
Code:
<reference href="Images/9781606191484.jpg" title="Cover" type="cover" />
in the <guide> section of an epub destined for conversion to mobi via kindlegen have always worked for me. I have never tried such references in other than type="cover" however.
st_albert is offline   Reply With Quote
Old 08-29-2011, 03:04 PM   #5
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 65,452
Karma: 43770933
Join Date: Nov 2006
Location: UK
Device: Kindle Voyage, iPad Mini, iPhone 4, MS Surface Pro, N7
Should work fine, yes.
HarryT is online now   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
multiple references troymc Sigil 3 05-06-2010 04:20 PM
Guide for you can see correctly the pdfs "comics, images, documents" in ereaders sony computersexperto LRF 2 11-29-2009 07:13 AM
Reference Guide: How to Prepare Images for EPUB (and other) Formats Zorba ePub 13 11-22-2009 09:28 AM
EFF Legal Guide for Bloggers (in mobile formats!) hacker Lounge 8 06-15-2005 04:37 PM


All times are GMT -4. The time now is 04:39 PM.


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