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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 09-29-2010, 09:27 PM   #1
NewDay
Connoisseur
NewDay doesn't litterNewDay doesn't litter
 
NewDay's Avatar
 
Posts: 59
Karma: 100
Join Date: Aug 2010
Location: Northern California, in the redwoods by the ocean
Device: iPad
Editing epub html in Springy?

I'm using Springy to edit epub documents that need to have the identifier changed in the toc.ncx and the package.opf to reflect the correct (just for epub) ISBN (these are heritage files that were outsourced for epub conversion without a separate epub ISBN having been assigned). I've been successful at this part of the job. However, now I need to be sure that the copyright page, as viewed on an ebook reader such as iPad, has the correct (e.g., for epub) ISBN. To do this I need to edit the copyright page in the html file.

Forgive this novice, but just how do I do this?
NewDay is offline   Reply With Quote
Old 09-30-2010, 06:19 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,316
Karma: 4963983
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
What is Springy? A file compressor/archiver? Then you have to locate the (X)HTML file that contains the copyright page and edit it...
Jellby is offline   Reply With Quote
 
Advertisement
Old 09-30-2010, 11:27 AM   #3
NewDay
Connoisseur
NewDay doesn't litterNewDay doesn't litter
 
NewDay's Avatar
 
Posts: 59
Karma: 100
Join Date: Aug 2010
Location: Northern California, in the redwoods by the ocean
Device: iPad
Springy will let you edit a zip file without unzipping it. And that has worked for the metadata portions of this job (toc.ncx and package.opf). But now I want to change the xhtml on the copyright page as viewed on screen (to reflect the correct ISBN, discrete to the epub and separate from the print version, which the corrected metadata now carries). I know exactly where it IS, and I can view it (on the web browser that pops up when I double-click), but I can't CHANGE it. I need to know how to CHANGE it.

Anyone?
NewDay is offline   Reply With Quote
Old 09-30-2010, 01:25 PM   #4
pholy
Booklegger
pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.
 
pholy's Avatar
 
Posts: 1,800
Karma: 7999034
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
I've never used Springy, but try this: Instead of double-clicking on the html file, right-click to get a menu that (one hopes) includes [Open With], then select an ordinary text editor like Notepad or WordPad (or Gvim or Gedit on Linux) -- not Word! Then you should be able to edit the file. Probably BBEdit for Mac, I'm not sure.
pholy is offline   Reply With Quote
Old 09-30-2010, 03:21 PM   #5
NewDay
Connoisseur
NewDay doesn't litterNewDay doesn't litter
 
NewDay's Avatar
 
Posts: 59
Karma: 100
Join Date: Aug 2010
Location: Northern California, in the redwoods by the ocean
Device: iPad
Didn't work, Pholy. Anyway, I'm using a MacBook Pro: no right-click. I'm using Springy because it was recommended by Elizabeth Castro in her very recent EPUB Straight to the Point,
NewDay is offline   Reply With Quote
Old 09-30-2010, 03:55 PM   #6
dynabook
Techno-geek
dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.
 
Posts: 166
Karma: 1116651
Join Date: Nov 2006
Location: Mississippi, USA
Device: PRS-T1 (Black), PRS-T3S (Black)
You can right-click on the Mac using Shift+Click. Or better yet use Sigil for editing.

Last edited by dynabook; 09-30-2010 at 03:56 PM. Reason: Clarity
dynabook is offline   Reply With Quote
Old 09-30-2010, 03:58 PM   #7
NewDay
Connoisseur
NewDay doesn't litterNewDay doesn't litter
 
NewDay's Avatar
 
Posts: 59
Karma: 100
Join Date: Aug 2010
Location: Northern California, in the redwoods by the ocean
Device: iPad
Thanks, dynabook. I'm gonna try Sigil.
NewDay is offline   Reply With Quote
Old 09-30-2010, 04:13 PM   #8
NewDay
Connoisseur
NewDay doesn't litterNewDay doesn't litter
 
NewDay's Avatar
 
Posts: 59
Karma: 100
Join Date: Aug 2010
Location: Northern California, in the redwoods by the ocean
Device: iPad
Installed Sigil, tried to open an epub created by Macmillan from a pdf file, got an error message indicating "permission denied". Stumped.
NewDay is offline   Reply With Quote
Old 09-30-2010, 10:05 PM   #9
NewDay
Connoisseur
NewDay doesn't litterNewDay doesn't litter
 
NewDay's Avatar
 
Posts: 59
Karma: 100
Join Date: Aug 2010
Location: Northern California, in the redwoods by the ocean
Device: iPad
Pholy and dynabook, I got it. Pholy, you were pointing me to the right track, but I didn't know how to interpret it. Here's what worked: in Springy, visualizing the .html file as an icon, I did a Control-Click (the right-click intuition was pretty darn close) then changed the default to TextEdit. I also needed to change the Preferences for Text Edit under Open and Save, to ignore Rich Text commands when opening html files. So I now have an .html copyright page file that reflects the epub ISBN instead of the older print ISBN.
Thanks to Dave Taylor for these instructions!
NewDay is offline   Reply With Quote
Old 10-02-2010, 11:02 AM   #10
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by NewDay View Post
Installed Sigil, tried to open an epub created by Macmillan from a pdf file, got an error message indicating "permission denied". Stumped.
This is fixed in Sigil trunk, and the fix will be in the next release of Sigil. It's caused by weird people removing read access (the filesystem kind, not the encryption kind) from their content files before zipping them up into an epub. The only reason why these files open at all in other applications is because those apps don't follow the ZIP specification.

I've made the unzipping component of Sigil "dumber" so that such files can be opened (and afterwards, saved with proper read access).
Valloric is offline   Reply With Quote
Old 10-02-2010, 11:40 AM   #11
NewDay
Connoisseur
NewDay doesn't litterNewDay doesn't litter
 
NewDay's Avatar
 
Posts: 59
Karma: 100
Join Date: Aug 2010
Location: Northern California, in the redwoods by the ocean
Device: iPad
Well, those files were zipped by an outsourced subsidiary of Macmillan charging 25 cents a page. I guess you get what you pay for, eh?
NewDay is offline   Reply With Quote
Old 03-09-2012, 11:16 AM   #12
barncat
Member
barncat began at the beginning.
 
Posts: 18
Karma: 20
Join Date: Mar 2012
Device: Kindle Fire
This was a very educational thread. I thank you all for it, nearly two years later. The fixes may not work exactly on my problem, but I'm loosened up to find workarounds of my own based on these things.
barncat 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
HTML Book + non HTML TOC to epub aarcane Calibre 4 03-02-2010 03:58 AM
Need a Beginners guide to Epub Editing BCCISProf Sigil 1 02-13-2010 10:28 PM
Editing HTML from MobiPocket Creator suddethm Kindle Developer's Corner 0 12-17-2009 12:49 PM
ePub editing tool cyberbaffled ePub 22 10-16-2009 01:16 PM
What do you use for editing epub files after creation? JGB ePub 8 07-21-2009 02:06 AM


All times are GMT -4. The time now is 05:59 AM.


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