Skip to main content
Inspiring
August 22, 2021
Question

Editing Epubs in Dreamweaver

  • August 22, 2021
  • 2 replies
  • 2375 views

Hi,

I created a reflowable epub file using Indesign without any difficulties. Unfortunately, InDesign generates a tremendous amount of unnecessary code that makes it very difficult to edit or compliant with Kindle specs. Using Libre Office, I can export the document as a .html file and open it in Dreamweaver. Being familiar with Dreamweaver, it would be much easier for me to edit the code, so I would prefer to proceed in this way.

Is anybody using Dreamweaver to edit/create their epub files? Any suggestions?

Thanks.

Mark

This topic has been closed for replies.

2 replies

James Gifford—NitroPress
Legend
October 17, 2023

I realize this is an older thread, and even the bump is months back. But I wanted to poke in some useful information.

 

First, the InDesign plugin for Kindle was never finished, never worked very well and is now wholly obsolete, still in a beta form. But ID's EPUB export and some added skills more than make up for its crude functionality.

 

Second, no, DW is not a good EPUB editor. You can use to edit the component files, of course, but it brings so much bulk and overhead for other purposes that I've found it just gets in the way. I much prefer using a streamlined code editor, with formatting and color-coding, like Notepad++, when I need to edit XHTML or CSS for EPUB.

 

Third, ID generates fine EPUB code, especially for Kindle, and does so in a modern, WYSI, designer environment and not the Lego/Build-a-Bear model that's both a PITA and wholly obsolete. I suspect the comment about ID generating messy code refers to FXL EPUB, which is inherently such a mess that it's next to un-editable at all. But if you're serious about doing EPUB and Kindle in the modern day, it's time to put away the hand-carved, tinker-toy, structural tools for EPUB — put 'em on the shelf with lead type and hand-pasteup on blueline board for print work — and move to a real document/page design tool as your workbench. You know, like InDesign. 🙂

 

For the areas where ID doesn't quite generate clean results, use CSS. You can tweak or completely override InDesign's defaults, some of which are clumsy to the point of being broken, with just a modicum of HTML/CSS knowledge... and the more you know, from web design etc., the more you can do, achieving things that are difficult to nearly impossible using hand-built component files.  You can even — fairly easily — maintain dual-format export from the same ID file, to clean PDF for print and optimized EPUB for EPUB or Kindle.

 

There's no reason to use obsolete methods, or hack at an exported EPUB, or put up with all the clumsy steps to get a second rate result.

Nancy OShea
Community Expert
Community Expert
August 22, 2021

Export your InDesign file directly to e-Pub formatted for Kindle.  Amazon provides a free plugin specifically for this purpose:

https://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000765271

 

Nancy O'Shea— Product User & Community Expert
Inspiring
August 22, 2021

Hi Nancy,

 

I understand it can be done. The problem is that InDesign generates a tremendous amount of unnecessary code (see below). I can eliminate most of it using Dreamweaver. As well, KDP requires/suggests particular coding in certain instances, which I’m finding difficult to accomplish using InDesign as the editor.

 

<div class="_idGenObjectLayout-1">
<div id="_idContainer000" class="imageBorder">
<img class="_idGenObjectAttribute-1" src="image/300ppi.png" alt="" />
</div>
</div>
<div id="_idContainer001" class="Basic-Text-Frame">
<p class="bodyText">Nate vella dest quides molupta sit aliquas excest volorep erspeliquia ilitius modit et, net quaepreici blam, ullestias maximus accate nobisquas reped modisit dolupis iusam, solessi taerrumet officia vitasimi</p>
</div>
<div class="_idGenObjectLayout-1">
<div id="_idContainer002" class="imageBorder">
<img class="_idGenObjectAttribute-1" src="image/300ppi.png" alt=“alt text” />
</div>
</div>
<div id="_idContainer003" class="Basic-Text-Frame">
<p class="captionText"><span class="boldText _idGenCharOverride-1">eeeeRibus molorit ianihic</span> itibust qui officii ssitemolupta ditas dolorib usandenem con comnit qui tem sed quunt, offici.</p>
</div>

Nancy OShea
Community Expert
Community Expert
August 22, 2021

The problem is you want a code generator in a visual layout app to produce streamlined code for you.  That will never happen.  You can manually clean it up in Dreamweaver if you want.   But if this was my project, I'd use Kindle Create which is a dedicated tool for making Kindle compliant eBooks.

https://www.amazon.com/Kindle-Create/b?ie=UTF8&node=18292298011

 

You know the old saying, "work smarter not harder."

 

Nancy O'Shea— Product User & Community Expert