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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-12-2009, 12:35 AM   #1
ficbot
Wizard
ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.
 
Posts: 2,390
Karma: 4115574
Join Date: Sep 2008
Device: Kindle Paperwhite/iOS Kindle App
Will Calibre maintain the links when it converts HTML?

I have some message board threads from my exercise video group that I would like to convert to an ebook. These are mostly information threads about various exercise video instructors and rotations. What I was thinking of doing was pasting them into an HTML file and then creating hyperlinks so I could jump to different sections e.g.

TABLE OF CONTENTS
thread 1 (link)
thread 2 (link)
thread 3 (link)
etc.
All text from all threads after

If I were reading it as an HTML file on the computer, I could click on each link and jump to that section.

If I imported such a file into Calibre and converted it to LRF, would all the links show up so I could jump to page 1 of the file and see a list of items to click on so I could jump to the relevant section? Or is there a better way than HTML to create such an ebook for use in Calibre? I am on a Mac so I can't use Book Designer...
ficbot is offline   Reply With Quote
Old 10-12-2009, 07:43 AM   #2
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,086
Karma: 1444487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Works ok

I have made a number of books doing exactly what you suggest. It works fine for an LRF, but for EPUB some links work and some don't.

Just be careful that the links are all internal and refer only to your book and not back to some external web site, ditto for the graphics.

If much material comes from one site, you might consider HTT Tracker which will copy a site or section of it onto your local machine so that the links set up better, if you do EPUB. For LRF they will need to be one HTML document. For that I use a program called Merge which I found on the net. Otherwise you will end up with extra head and end tags for each thing you take unless it is only a chunk in the middle. View Source is your friend and might be the way to copy it so you know what you are getting.

You might want to add a return to table to contents at the end of each section or make the chapter heads not only anchors you go to, but also links you click on which take back to the table of contents.

One other thought, beware of tables. There is a function in calibre, linearize tables, but it only halfway works because tables can be set up in so many ways. You will need to try to rid yourself of the tables, probably by editing the HTML. I convert </tr> to <br> then by searching for <t and </t find all the table related stuff and delete it. It is a lot of work. Have brain engaged when doing it as <t will also find <title>!!!!

I have also found the <div> hasn't always translated well, but it can generally just be replaced with <p> in a search and replace operation for <div replaced with <p so you don't lose formatting information.
mrmikel is offline   Reply With Quote
Old 10-12-2009, 01:32 PM   #3
ficbot
Wizard
ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.
 
Posts: 2,390
Karma: 4115574
Join Date: Sep 2008
Device: Kindle Paperwhite/iOS Kindle App
Thank you! I am going to just cut and paste the text so I won't need to worry about tables or links to other sites or anything. The only HTML code I will be using is for the hyperlinks, nothing fancy

Thanks for answering. Good to have an all-clear before I do all the work of compiling the info together...
ficbot is offline   Reply With Quote
Old 11-18-2010, 11:27 PM   #4
beppi
Junior Member
beppi began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2010
Device: none
Will Calibre maintain the links when it converts .odt ?

In my exercises I created from a file odt containing some link an epub with Calibre but -reading the epub- when I click an hot word, the link send me always and only to the first page (heading 1)

1. why it happens?
2. Is Calibre able to maintain the links when it converts?

Thanks for help me
beppi 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
How do I use calibre maintain series order on kindle? vaderag Calibre 23 12-12-2010 05:00 AM
Question on how Calibre converts rahulm Calibre 2 06-10-2010 02:15 AM
Multiple html issue - too many links and zip isn't created in calibre Katelyn Calibre 1 03-10-2009 02:31 PM
HTML converts to ZIP? Deejub44 Calibre 2 01-24-2009 09:57 PM
Docvert 2.0 converts MS Word files to clean HTML Alexander Turcic Lounge 0 03-16-2006 05:50 AM


All times are GMT -4. The time now is 04:42 AM.


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