MSOffice -> html? Madness! - Post ID...

User 122279 Photo


Senior Advisor
13,493 posts

For the last couple of months I have been working on a webshop. It is a remake of an older webshob, and I need to do a whole lot of code cleaning of old html documents to make something decent out of it. And here I come across files, which have most likely been originally written in Word. :o Just take a look at the source code of the file attached! It is 38KB, and after stripping all the junk, only 3KB worth of contents remains!

I had another file a couple of days ago, 54KB before, and 5KB after, and I had even added a couple of images to the 'after' version. Madness is all I can say!
Attachments:
Ha en riktig god dag!
Inger, Norway
This site was made before we were able to create components through the app:
Component sharing for RFF, RBB, RSD and SD: https://eikweb.com/sharing/
My work in progress right now:
Components for the same as above + HTML Editor: https://mock-up.coffeecup.com


User 2906089 Photo


Registered User
198 posts

I kind of like all the "LsdException" lines in the source code. It reminds you why office makes such good code and having to explain to the author of the site to not use it any longer. I'm not to fond of the, "It worked the way I did it in word", arguments that come up when people like yourself care about the back end. To me, talking about mold at the initial sale is kind of creepy.

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.