![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2010
Device: Kindle
|
Mobi Creator build errors
Hi all,
I'm currently converting some text files ready for my kindle. I have followed HarryT's 2 guides to the letter. Firstly editing the text in BD and then going to mobi pocket creator. I've manually replaced the html tags and added the ones per HarryT For example here is my A name=toc Code:
<DIV > </DIV> <DIV > </DIV> <mbp:pagebreak/> <SPAN id=title><A name=toc><DIV align=center><FONT color=#001950><B>CONTENTS</B></FONT></DIV></A> </SPAN> Warning(prcgen): Hyperlink not resolved: D:\ebook\Kindle\Sherlock\Book1\book.html#toc Warning(prcgen): Hyperlink not resolved: D:\ebook\Kindle\Sherlock\Book1\book.html#start_rea ding Warning(prcgen): Hyperlink could not resolved. I've searched high and low with no luck. Any help would be great, Thanks |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,251
Karma: 3720310
Join Date: Jan 2009
Location: USA
Device: Kindle, iPad (not used much for reading)
|
It sounds like your anchor tags were not found in the HTML file (book.html#toc refers to an anchor tag named "toc").
Maybe because you did not put quotes around "toc"? It should be like <a name="toc">. I've always used the Table of Contents Wizard in Mobipocket Creator, which creates the TOC based on expressions matching other HTML tags (like h1, h2, etc.) in the book. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2010
Device: Kindle
|
Hi Susan,
Thanks for your response. I've tried changing the tag to have "" around toc but I still get the same error. I'm a complete noob hence why I exactly followed HarryT's guide. |
![]() |
![]() |
![]() |
#4 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
No, the quotes aren't necessary. You can put them in if you wish, but they aren't required.
Is your book file actually called "book.html"? You're sure that it's not called "book.htm"? |
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() Posts: 32
Karma: 44
Join Date: Jul 2010
Location: Seneca, SC
Device: Kindle, eReader
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 118
Karma: 36978
Join Date: Sep 2010
Location: Johannesburg, South Africa
Device: Kindle Android, Kindle 3 Wi-Fi
|
Here you go Phil: https://www.mobileread.com/forums/showthread.php?t=11678 This is for the Book Creation Tut
https://www.mobileread.com/forums/showthread.php?t=17914 This one is for a 'How to' for MobiPocket. Theses are all found under the following forum: https://www.mobileread.com/forums/forumdisplay.php?f=128 Cheers Paul |
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() Posts: 32
Karma: 44
Join Date: Jul 2010
Location: Seneca, SC
Device: Kindle, eReader
|
Thank you!
|
![]() |
![]() |
![]() |
#8 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
I know this is a very old thread, but I had the "Hyperlink not resolved" error with Kindlegen and this was about the only reference I found to it. So I thought if others come along this might be of help.
I solved my problem by first saving the kindlegen output to text (using kindlegen book.opf -o book.mobi >a.txt) The clue was that some links in the same format were resolved, no error recorded. On examining them was reminded I had put new code after the "good" links. There was nothing wrong with either the links or the anchors (they had worked in earlier versions) but Kindlegen was aborting reading the HTML source before it came to them, because I had inadvertently put a </body> tag in earlier, when I was pasting in some text from another project. Probably strict HTML checking would have found this, but browsers are tolerant of errors, the entire file still displayed normally in Firefox and all the links worked. |
![]() |
![]() |
![]() |
#9 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
I'm glad to know it was an old (five-year-old!) thread, because I was astonished to see people still using MPC!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil OPF to MOBI Pocket Creator | crutledge | Sigil | 9 | 10-08-2010 01:26 PM |
Formatting errors in Mobi output | agriainc | Calibre | 3 | 08-22-2010 10:16 AM |
Conversion to Mobi to ePub errors | erik_reader | Conversion | 5 | 08-07-2010 02:03 AM |
problem with mobi creator | bobcdy | Kindle Formats | 8 | 06-30-2009 01:28 AM |
Mobi Creator and the command line | Ortep | Kindle Formats | 1 | 06-11-2009 09:00 AM |