06-07-2015, 07:07 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Mar 2015
Device: kindle
|
button link problem when converting to mobi
Hi Everyone.
I used the following code to add a link to a book page. I added the page and the css page to to the epub file in calibre and it works fine. But when I use calibre to convert ebup file to mobi, the button and other design elements to not render. I am using calbre to view the books in each case. See attachments. Can anyone help me with this? <body class="calibre2"> <div class="box"> <p class="calibre3">Thank You for Downloading this Gefen Publishing House Ebook.</p> <p class="calibre3">Sign up for our free weekly newsletter and get special offers on exciting new titles about Israel, Judaism and the Jewish People.</p> <p class="button"><a class="a" href="">To sign up click here!</a> </p> </div> |
06-07-2015, 09:38 AM | #2 |
Addict
Posts: 344
Karma: 1222222
Join Date: Aug 2009
Location: Florida
Device: Sony PRS-505
|
You have: <a class="a" href="">
You need to add the link in the "" after href. Also I don't know that you need "<a class="a". Here is a sample from one of my eBooks: <a href="http://www.HarlequinMoreThanWords.com">www.HarlequinMoreT hanWords.com</a> So yours should look something like this: <a href="ADD THE LINK HERE">To sign up click here!</a> |
06-07-2015, 11:24 AM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Mar 2015
Device: kindle
|
I know I need to add the link their. I just left it out in the example.
But the problem is that the the button doesn't render and neither do the other design elements. It would seem that the css file did not get linked to the page when I exported the book from epub to mobi. |
06-07-2015, 11:47 AM | #4 | |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Last edited by DiapDealer; 06-07-2015 at 12:24 PM. |
|
06-07-2015, 02:24 PM | #5 |
Grand Sorcerer
Posts: 12,166
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Remember that also the calibre viewer is an ePub viewer; mobi files are converted to ePub to view, so in effect you are going ePub -> mobi -> ePub.
|
06-07-2015, 02:53 PM | #6 |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
06-08-2015, 05:16 AM | #7 |
Junior Member
Posts: 5
Karma: 10
Join Date: Mar 2015
Device: kindle
|
Thanks for your help everyone. So basically what I am hearing is that that if I want to add a page to a book using calibre, and then convert it to mobi, I should not use any css, just html. Is that right?
And would the same go for pdf? I seem to have a problem when converting my epubs to pdf as well. Last edited by akJtown; 06-08-2015 at 05:47 AM. |
06-08-2015, 11:52 AM | #8 | |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Your CSS can (and should always) be any Valid EPUB2 CSS. Just don't expect a DOWN (to HTML 3.2 rules) conversion to always work out pretty. There is a reason that some publishers do (not just a simple: Convert) multiple versions of a book. They want it to render a certain way. Rule 1 for conversions: KISS. Don't do anything that causes those conversion issues. Rule 2 Be prepared to release seperate format versions if you must violate Rule 1 IMHO a PHD button is a nice to have, NOT A must. Code as a simple link and be done with it. Note: depending on your sales channels, even that might be allowed. |
|
06-09-2015, 02:14 PM | #9 |
Junior Member
Posts: 5
Karma: 10
Join Date: Mar 2015
Device: kindle
|
Are you saying that some sales channels will have a problem more of a problem with a button, or more of a problem with a link? Which channels?
|
06-09-2015, 02:59 PM | #10 |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting problem .mobi to .epub | democrite | Calibre | 0 | 07-03-2013 10:13 AM |
problem converting pdf to mobi | typex1 | Conversion | 3 | 12-23-2011 04:50 PM |
Problem converting ePub to Mobi | Wordslinger | Conversion | 3 | 03-12-2011 11:04 PM |
Problem converting txt to mobi | toby39 | Calibre | 10 | 09-05-2010 02:16 PM |
Problem converting HTML to Mobi | AprilHare | Calibre | 3 | 05-02-2009 09:34 PM |