1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Cleaning up Word generated html

Discussion in 'HTML & Website Design' started by Smyrl, Apr 23, 2004.

  1. #1
    I have been working with a group that has a site with code generated by many people using many editors. The person updating many of the pages that are updated the most frequently is using Word to generate the pages which he will want to continue to use. Has anyone had any positive experience cleaning up Word generated code?

    Shannon
     
    Smyrl, Apr 23, 2004 IP
  2. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #2
    HotMeTaL pro 6 was once a good tool to create, validate, modify and clean up html sites under win OS. it also includes a full linkcheck offline.

    another approach i prefer and practised when i converted my (wordperfect, staroffice, netscape, and other generator-created old pages into current version ):

    copy and paste all text only ( without HTML )
    and REDO all HTML from scratch with professional generator producing CLEAN code.

    i use Quanta plus under Linux since many years to my fullest satisfaction!
    http://quanta.sourceforge.net/

    while this method MAY appear appear much work
    it is VERY little in deed ...

    because you do the full html stripping and rebuild ONCE in a life time and have clean code for a FULL lifetime !
     
    hans, Apr 23, 2004 IP
  3. Smyrl

    Smyrl Tomato Republic Staff

    Messages:
    13,740
    Likes Received:
    1,702
    Best Answers:
    78
    Trophy Points:
    510
    #3
    Thanks for the ideas. I am tired of stripping code by hand. What garbage! Formatting alone trippled load time on one document I stripped.

    Shannon
     
    Smyrl, Apr 23, 2004 IP
  4. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #4
    in this current millenium we use to to all formatting by external CSS
    leaving all pages clean and fast to load !
    AND ...
    to assure web site owner AND webmaster pass the parachute test successfully and alive.
     
    hans, Apr 23, 2004 IP
  5. Such Great Heights

    Such Great Heights Peon

    Messages:
    715
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I've had good expereinces with Dreamweaver's clen up Word HTML code command. Just go to COMMAND and select "Clean up Word HTML".
    Dreamweaver has some options to only clean up CSS, or all or others.

    so try dreamweaver to clean it up.
     
    Such Great Heights, Apr 23, 2004 IP
  6. nlopes

    nlopes Guest

    Messages:
    103
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6

    The word I have for you is: Tidy!
    Tidy is a tool originally from W3C and cleans up html documents INCLUDING MS WORD html (it has a special configuration option for this!).

    http://tidy.sf.net
    -or-
    PHP binding: http://php.net/tidy
     
    nlopes, May 9, 2004 IP
  7. mopacfan

    mopacfan Peon

    Messages:
    3,273
    Likes Received:
    164
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I've found the easiest way to clean up word html is to paste it into wordpad then cut/paste it into your html editor or notepad. It removes all that stupid idiotic bull pucky crap that word puts in the code.

    Regards,

    Michael
     
    mopacfan, May 13, 2004 IP
  8. Smyrl

    Smyrl Tomato Republic Staff

    Messages:
    13,740
    Likes Received:
    1,702
    Best Answers:
    78
    Trophy Points:
    510
    #8
    Thank you for your ideas. If I never see the worrd span again I will be happy. The amount of garbage Word generates for a blank line or blank cell in a table should be humorous but at this stage all I see is red.

    I do appreciate your input.

    Sincerely,
    Shannon Smyrl
     
    Smyrl, May 13, 2004 IP
  9. Johnburk

    Johnburk Peon

    Messages:
    777
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #9
    @smyrl

    What tool do you use to do the job?
     
    Johnburk, Feb 11, 2006 IP