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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-24-2012, 12:10 PM   #1
Gunwoody
Junior Member
Gunwoody began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Kindle
Updating htm files

Hi all,

Apologies in advance if i have posted this in the wrong place - i hope not - but this is my first foray here.

The question i have is this. I have created my ebooks by importing htm files into calibre. I have then gone all through the associated tweaks and so forth to get it how i want it. So far so good. My problem is this - when i update the source htm file, how do i go about importing that changed file into my library without deleting the existing ebook and starting again. I guess i'm missing something obvious - but it's so obvious i can't work it out.

Thanks in advance

Gunwoody
Gunwoody is offline   Reply With Quote
Old 02-24-2012, 12:47 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,054
Karma: 5936659
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Gunwoody View Post
Hi all,

Apologies in advance if i have posted this in the wrong place - i hope not - but this is my first foray here.

The question i have is this. I have created my ebooks by importing htm files into calibre. I have then gone all through the associated tweaks and so forth to get it how i want it. So far so good. My problem is this - when i update the source htm file, how do i go about importing that changed file into my library without deleting the existing ebook and starting again. I guess i'm missing something obvious - but it's so obvious i can't work it out.

Thanks in advance

Gunwoody
You are editing the whole 'book' if you change 1 bit

Tweak EPUB (there is a Tweak setting for HTML)
You can slide a REPLACEMENT file (exact names and internal ID references must be maintained) into the book and click rebuild.
theducks is offline   Reply With Quote
Old 02-25-2012, 12:17 AM   #3
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: 26,314
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can replace the files belonging to a book, by using the edit metadata dialog (simply click the red book icon to add a new version of a file).
kovidgoyal is offline   Reply With Quote
Old 02-27-2012, 02:08 PM   #4
Gunwoody
Junior Member
Gunwoody began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Kindle
Hi kovidgoyal, thanks for your reply. I have tried that but i just get a duplicate book created. Is there no way of updating the files for existing books without having to go through and reset everything each time.

Thanks
Gunwoody
Gunwoody is offline   Reply With Quote
Old 02-27-2012, 02:11 PM   #5
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: 26,314
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can replace the files belonging to a book, by using the edit metadata dialog (simply click the red book icon in the top right corner of the edit metadata dialog to add a new version of a file).
kovidgoyal is offline   Reply With Quote
Old 02-27-2012, 08:06 PM   #6
Gunwoody
Junior Member
Gunwoody began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Kindle
Tried that but it doesn't change anything in the book - text stays the same - am i missing a step? I adding a new htm file to and ebook (mobi format).

Thanks for you help
Gunwoody
Gunwoody is offline   Reply With Quote
Old 02-27-2012, 08:25 PM   #7
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,054
Karma: 5936659
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Gunwoody View Post
Tried that but it doesn't change anything in the book - text stays the same - am i missing a step? I adding a new htm file to and ebook (mobi format).

Thanks for you help
Gunwoody
Let us get our terms in order.

Book is a collection of 1 or more files (Internally) depending on format.
Example:
Spoiler:
02/12/2010 16:09 1,219 A_Journey_to-r_of_the_Earth_split_0.html
02/12/2010 16:09 7,488 A_Journey_to-r_of_the_Earth_split_1.html
02/12/2010 16:09 13,570 A_Journey_to-r_of_the_Earth_split_10.html
02/12/2010 16:09 14,368 A_Journey_to-r_of_the_Earth_split_11.html
02/12/2010 16:09 14,807 A_Journey_to-r_of_the_Earth_split_12.html
02/12/2010 16:09 11,450 A_Journey_to-r_of_the_Earth_split_13.html
02/12/2010 16:09 12,882 A_Journey_to-r_of_the_Earth_split_14.html
02/12/2010 16:09 11,722 A_Journey_to-r_of_the_Earth_split_15.html
02/12/2010 16:09 11,946 A_Journey_to-r_of_the_Earth_split_16.html
02/12/2010 16:09 12,931 A_Journey_to-r_of_the_Earth_split_17.html
02/12/2010 16:09 12,182 A_Journey_to-r_of_the_Earth_split_18.html
02/12/2010 16:09 12,649 A_Journey_to-r_of_the_Earth_split_19.html
02/12/2010 16:09 2,884 A_Journey_to-r_of_the_Earth_split_2.html
02/12/2010 16:09 10,195 A_Journey_to-r_of_the_Earth_split_20.html
02/12/2010 16:09 12,017 A_Journey_to-r_of_the_Earth_split_21.html
02/12/2010 16:09 10,571 A_Journey_to-r_of_the_Earth_split_22.html
02/12/2010 16:09 10,143 A_Journey_to-r_of_the_Earth_split_23.html
02/12/2010 16:09 9,916 A_Journey_to-r_of_the_Earth_split_24.html
02/12/2010 16:09 6,965 A_Journey_to-r_of_the_Earth_split_25.html
02/12/2010 16:09 11,577 A_Journey_to-r_of_the_Earth_split_26.html
02/12/2010 16:09 8,203 A_Journey_to-r_of_the_Earth_split_27.html
02/12/2010 16:09 10,498 A_Journey_to-r_of_the_Earth_split_28.html
02/12/2010 16:09 6,017 A_Journey_to-r_of_the_Earth_split_29.html
02/12/2010 16:09 3,870 A_Journey_to-r_of_the_Earth_split_3.html
02/12/2010 16:09 7,837 A_Journey_to-r_of_the_Earth_split_30.html
02/12/2010 16:09 12,137 A_Journey_to-r_of_the_Earth_split_31.html
02/12/2010 16:09 8,150 A_Journey_to-r_of_the_Earth_split_32.html
02/12/2010 16:09 16,142 A_Journey_to-r_of_the_Earth_split_33.html
02/12/2010 16:09 9,633 A_Journey_to-r_of_the_Earth_split_34.html
02/12/2010 16:09 14,262 A_Journey_to-r_of_the_Earth_split_35.html
02/12/2010 16:09 14,713 A_Journey_to-r_of_the_Earth_split_36.html
02/12/2010 16:09 10,802 A_Journey_to-r_of_the_Earth_split_37.html
02/12/2010 16:09 13,933 A_Journey_to-r_of_the_Earth_split_38.html
02/12/2010 16:09 12,426 A_Journey_to-r_of_the_Earth_split_39.html
02/12/2010 16:09 10,224 A_Journey_to-r_of_the_Earth_split_4.html
02/12/2010 16:09 10,055 A_Journey_to-r_of_the_Earth_split_40.html
02/12/2010 16:09 12,383 A_Journey_to-r_of_the_Earth_split_41.html
02/12/2010 16:09 14,572 A_Journey_to-r_of_the_Earth_split_42.html
02/12/2010 16:09 11,207 A_Journey_to-r_of_the_Earth_split_43.html
02/12/2010 16:09 10,840 A_Journey_to-r_of_the_Earth_split_44.html
02/12/2010 16:09 12,867 A_Journey_to-r_of_the_Earth_split_45.html
02/12/2010 16:09 13,330 A_Journey_to-r_of_the_Earth_split_46.html
02/12/2010 16:09 13,562 A_Journey_to-r_of_the_Earth_split_47.html
02/12/2010 16:09 8,602 A_Journey_to-r_of_the_Earth_split_48.html
02/12/2010 16:09 6,122 A_Journey_to-r_of_the_Earth_split_49.html
02/12/2010 16:09 10,243 A_Journey_to-r_of_the_Earth_split_5.html
02/12/2010 16:09 15,346 A_Journey_to-r_of_the_Earth_split_6.html
02/12/2010 16:09 8,960 A_Journey_to-r_of_the_Earth_split_7.html
02/12/2010 16:09 12,553 A_Journey_to-r_of_the_Earth_split_8.html
02/12/2010 16:09 17,671 A_Journey_to-r_of_the_Earth_split_9.html
11/09/2011 13:31 16,234 content.opf
02/12/2010 16:09 13,324 cover.jpg
02/27/2012 16:20 <DIR> images
11/09/2011 13:31 3,855 jacket.xhtml
02/27/2012 16:20 <DIR> META-INF
11/09/2011 13:31 20 mimetype
02/12/2010 16:09 1,271 stylesheet.css
02/12/2010 16:09 583 titlepage.xhtml
02/12/2010 16:09 12,802 toc.ncx


The top layer (Mobi, EPUB) is just the cover(ing).

Are you trying to replace the whole book or a piece of the book???
theducks is offline   Reply With Quote
Old 02-28-2012, 06:05 AM   #8
Gunwoody
Junior Member
Gunwoody began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Kindle
I have a collection of educational legal (English legal system) ebooks (60 in total) all derived from htm files which are imported into Calibre. When something in the text of one of these books changes (some change in the law) i need to replace the htm file for that ebook. I have tried kovidgoyals' suggestion and it does not change the ebook (when previewed) so i wondered if i was missing a stage.

Hope that's a bit clearer

Gunwoody
Gunwoody is offline   Reply With Quote
Old 02-28-2012, 08:25 AM   #9
Gunwoody
Junior Member
Gunwoody began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Kindle
BTW i did re-run the conversion after importing the new file - still no change to text
Gunwoody is offline   Reply With Quote
Old 02-28-2012, 10:03 AM   #10
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,094
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
You certainly should see a change. Did you check what format you were viewing? It is always possible that you were not viewing the format you just converted to.
itimpi is offline   Reply With Quote
Old 02-28-2012, 10:18 AM   #11
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,054
Karma: 5936659
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Gunwoody View Post
I have a collection of educational legal (English legal system) ebooks (60 in total) all derived from htm files which are imported into Calibre. When something in the text of one of these books changes (some change in the law) i need to replace the htm file for that ebook. I have tried kovidgoyals' suggestion and it does not change the ebook (when previewed) so i wondered if i was missing a stage.

Hope that's a bit clearer

Gunwoody
If you simply replace (exact same name) one of those files I showed in the List in my prior post, and click 'rebuild', you now have a NEW version of the EPUB.
All that should be left to do is Convert EPUB->Mobi
theducks is offline   Reply With Quote
Old 02-28-2012, 12:40 PM   #12
Gunwoody
Junior Member
Gunwoody began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Kindle
The source files (htm files) never change in name so replacing them definately overwrites the old file. However adding that changed file to an 'existing' book still does nothing. If i add the changed htm file as a 'new' book - no problem all the changes show up as you would expect.

I have a feeling that i am missing something 'simple'. Can someone please post the process as they understand it. I have detailed my process below.

1. select the book to be updated
2. click 'edit metadata'
3. click the red book button in the top left
4. browse to the updated htm file and select
5.click ok to exit edit metadata
6. click convert books button and then click ok to resubmit as a job
7 preview changes to book

thanks in advance

Gunwoody
Gunwoody is offline   Reply With Quote
Old 02-28-2012, 02:08 PM   #13
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,054
Karma: 5936659
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Gunwoody View Post
The source files (htm files) never change in name so replacing them definately overwrites the old file. However adding that changed file to an 'existing' book still does nothing. If i add the changed htm file as a 'new' book - no problem all the changes show up as you would expect.

I have a feeling that i am missing something 'simple'. Can someone please post the process as they understand it. I have detailed my process below.

1. select the book to be updated
2. click 'edit metadata'
3. click the red book button in the top left
4. browse to the updated htm file and select
5.click ok to exit edit metadata
6. click convert books button and then click ok to resubmit as a job
7 preview changes to book

thanks in advance

Gunwoody
You are not Tweaking the book

This assumes you are only replacing a piece of the whole
Attached Thumbnails
Click image for larger version

Name:	Tweaking.jpg
Views:	59
Size:	145.4 KB
ID:	83163  
theducks is offline   Reply With Quote
Old 02-28-2012, 02:12 PM   #14
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,054
Karma: 5936659
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Gunwoody View Post
The source files (htm files) never change in name so replacing them definately overwrites the old file. However adding that changed file to an 'existing' book still does nothing. If i add the changed htm file as a 'new' book - no problem all the changes show up as you would expect.

I have a feeling that i am missing something 'simple'. Can someone please post the process as they understand it. I have detailed my process below.

1. select the book to be updated
2. click 'edit metadata'
3. click the red book button in the top left
4. browse to the updated htm file and select
5.click ok to exit edit metadata
6. click convert books button and then click ok to resubmit as a job
7 preview changes to book

thanks in advance

Gunwoody
Just noticed:
Step 6
Pay attention to the INPUT FORMAT (suggested), Change it if needed to ZIP(HTML are always Zip)
theducks 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
HTM to LRF lilpretender Conversion 14 02-09-2011 04:15 PM
editable files on Kindle3 like htm/txt tocatoca Amazon Kindle 0 10-13-2010 08:28 PM
Bookdesigner Help - multi-htm sophie27 Sony Reader 4 08-09-2009 04:39 PM
Libprs500 to convert Word2003 htm files? NigelS Calibre 3 01-14-2008 01:03 PM
Large htm files Almagne iRex 1 01-18-2007 05:36 AM


All times are GMT -4. The time now is 03:24 AM.


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