Editing Microsoft Word HTML using...

User 1892265 Photo


Trial User
1 post

Well here I am after 15 years of creating websites without learning HTML, now i'm in a corner.

You see I bought a Kindle and have written a book to publish electronically in the Amazon bookstore. The rub here is the 'transformation' procedure from a Word document into a correctly formatted Kindle page. Many a slip from the cup to the lip here. Most of the threads for the Kindle software , and Mobipocket, are not organized for me to find out how to correct, or overcome these problems, so I'm left out in the dark.

Question: Is there any word processor software that will 'not' rename photo files once the .doc file is saved as an HTML?

It is an extreme pain to have to go into the 'converted' HTML Word document and find and replace every photo I have inserted into the original Word document. Why do they do that?

In other words say if my photo was originally named " My Ari dog.jpg" Word converts this named file to something like "<img src="./chapter%20one_files/image002.jpg"/></td>" when it converts the file to HTML.

I'm looking for a easier and more efficient way than searching, finding, cutting and pasting text. I thought that would have went out with B&W television.

Your 'split' window function in CoffeeCup doesn't seem to address this very great need.

It doesn't seem to allow 'real time' editing of the converted HTML document with a 'synchronized view' of the same exact Word document at the exact location where a 'fix' is needed. In other words I would like to click on the words 'Chapter Two' in the original Word document and then see the exact place in the HTML conversion file where the word s"Chapter Two" appear.

Is this so hard to do in a program such as your HTML editor or am I missing sonething?

fet

User 629005 Photo


Ambassador
2,174 posts

The reason that the Word Processor's are renaming the photo is, they do not imbed the photo the same way a HTML document does. They "Copy" the photo and then imbed it in place, to protect the original. HTML image imbedding is accomplished by linking directly to the original photo (can be multiple times, using only one copy).
Living the dream, stocking the cream :D
User 37670 Photo


Registered User
2,138 posts

fet wrote:
Question: Is there any word processor software that will 'not' rename photo files once the .doc file is saved as an HTML?
In other words say if my photo was originally named " My Ari dog.jpg" Word converts this named file to something like "<img src="./chapter%20one_files/image002.jpg"/></td>" when it converts the file to HTML.

fet


Hi fet...
The renamimng of the photo files with %20 in between the words is because of blank spaces in file names. You will notice a %20 anywhere you had a space between the words. (either in a photo name or a folder name where the photos are stored on your computer)
My Ari dog.jpg has 2 empty spaces. If you notice for most file directories, empty spaces are not allowed. The editor is doing the right thing and trying to tell the web browser that there are empty spaces, so it can at least try to show your photos on a web page.

The actual renaming of the photo to "image002.jpg" is being done by the program you used to convert to html to eliminate the issue of improperly named photos. In the CoffeeCup HTML Editor, the is a wizard to help with importing photos into your website. It will preserve the original photo name but you should still not use empty spaces, or / or \ or question marks and most any othe special characters other than - and _

You can use _ underscore instead of space, or just use one big name.
My_Ari_dog.jpg
or
MyAridog.jpg
and those will remain unchanged.

The other changes, such as /images/MyAriDog.jpg is just telling the web browser that your image files are inside a folder called "images" and that is where the web browser needs to look for them.

One thing to note is that no images on the Internet are actually ON the page that displays. The web page simply borrows the image from it's original location and displays it in the web browser. That is why 1million visitors can see the same image at the same time, with only 1 original image being uploaded to the server.

I hope that answers at least one of your questions.
E-Learning Specialist
www.mainsites.ca is my website, and yes, some of it is crappy.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.