Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 11-23-2015, 05:58 AM   #1
ni_c
Enthusiast
ni_c began at the beginning.
 
Posts: 40
Karma: 10
Join Date: Jul 2015
Device: none
split html files not updating links

Hi, i need to split a bunch of html files/pages and theyve all got internal links, but the links arent always updated to match the new split names

by default with a file called one.html, internal links might look like

<a href="one.html#L1">1</a>
<a href="one.html#L2">2</a>

when split, the second file will be renamed one_split1.html, and if split between the two links, the second link should be automatically renamed like

<a href="one.html#L1">1</a>
<a href="one_split1.html#L2">2</a>

but finding links arent always being renamed, so looks glitchy

is this a known bug?

Last edited by ni_c; 11-23-2015 at 06:02 AM.
ni_c is offline   Reply With Quote
Old 11-23-2015, 06:03 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Works for me. You need to attach a file that demonstrates the problem along with where in the file it needs to be split to create the issue.
kovidgoyal is offline   Reply With Quote
Advert
Old 11-23-2015, 06:40 AM   #3
ni_c
Enthusiast
ni_c began at the beginning.
 
Posts: 40
Karma: 10
Join Date: Jul 2015
Device: none
ok, i wont upload the book in question being against policy for copyrighted stuff

but will update the thread with more details after checking to see how often its drops the ball with that particular book, will need another 60 odd splits made, will keep a tally
ni_c is offline   Reply With Quote
Old 11-23-2015, 09:04 AM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,631
Karma: 74500000
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
See this thread for a tool that might help with the upload --> Scrambling copyright ebooks to help troubleshoot problems ???
PeterT is offline   Reply With Quote
Old 11-24-2015, 11:48 PM   #5
ni_c
Enthusiast
ni_c began at the beginning.
 
Posts: 40
Karma: 10
Join Date: Jul 2015
Device: none
thanks for the link Peter, will check it out.

As for the problem, none of the links links for new file splits were renamed. Havent as yet checked other ebooks, so dknow if its repeatable enough to file a bug report. Will get to it another time tho
ni_c is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Split an EPUB into more HTML files 1v4n0 Sigil 7 10-24-2015 12:57 PM
Is there a quick way to split large html files? cager Editor 4 04-08-2014 08:10 AM
When you split a file does Sigil update links? JimmyG Sigil 2 10-31-2013 01:02 PM
[Old Thread] Avoid epub split in several html files? mastroalex Calibre 18 12-03-2011 03:50 PM
[Old Thread] mergin split html files with Calibre? NASCARaddicted Conversion 13 12-03-2011 01:19 PM


All times are GMT -4. The time now is 12:23 AM.


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