Thursday, October 14, 2010

Publish Word documents online?

Does it make sense to create documents, e.g. tables, in Word and to then transfer them to a website by simply copying the content into a text editor used for developing texts for websites? We don’t think so because it means copying an extreme amount of code into your website which increases loading times and will lead to display errors, in particular with different browsers.

Take a look at the following example:


This simple table











Transferred to our new editor which then removes all unnecessary code results in the following HMTL code:


This is a largely clean code that will not cause any trouble.

This is what the code would look like if you kept everything from Word. You won’t see how many commands and instructions there will be included in your website unless you examine your site in the source code. Then it will look like this:




I think this speaks for itself and does not need to be explained. However, hear me out. In the Word code you will find many commands that do not comply with the HTML standard at all, as well as a great amount of format information. Now imagine how extensive the implemented code will be if you create a complex table. By the way, creating a normal text from Word will also result in a voluminous code which bears no relation to the content. At first the result may seem appealing but you can expect that every browser will display the content in a different way, some will show weird control characters and some browsers will disrupt the whole design because the dimensions of your Word document lead to unexpected reactions with the HTML code of the design template. This is not caused by our or other design kits, it’s due to the fact that Word is not able (and not developed to) create a clean HTML code.


We can only recommend not incorporating formatted Word documents into your website. Take advantage of our new editor and directly format your documents with the page4 tools. This may seem like a bit more work but it will spare you from a great amount of surprises. I hope this small example will help you to create even better websites with page4. We are happy about any suggestion, comment, criticism as well as error or problem messages. In order to help us publish that kind of information and to support us, please tell us your name, the website you created with page4 as well as the website you need help with. Since this blog cannot really be used as a support forum it would be best to use our support form or our forum where you will receive quick and competent help.

6 comments:

  1. Now I know where strange stuff I didn't write comes from...Thanx..
    But what about stuff you like to write/edit offline... I do it in Word... Notepad seems to add some extra stuff to my HTML links....

    ReplyDelete
  2. Best way to write clean text is to use a simple editor and set to "only text" before you copy the text into your page. In windows I use the Editor and on a Mac I use TextEdit.

    ReplyDelete
  3. There are certainly a lot of details like that to take into consideration. That is a great point to bring up. I offer the thoughts above as general inspiration but clearly there are questions like the one you bring up where the Your post is rocking and knowledgeable… I really appreciate the way you write . I would like to read more from you.
    spiritual healers

    ReplyDelete
  4. is there any tolerance is the owner of site want to install login system,according mysql is in page4.me,and the owner has install mysql db.01 in prompt command then is page4 would create co operation with the owner of site to set up for cgi/userbase prefs for login.php.how was it would be,please reply me..a.s.a.p

    ReplyDelete