Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Uncompressing an HTML file

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #32334
    mshort1985
    Member

    Hi all,

    does anyone know of any programs that I can use to uncompress html code. A client of mine has parted ways with his web designer and so I’ve taken over designing his site, but the code is a mess its all tables based and its all compressed (all put on one line). So I am trying to find a way to format it with the tags on their own lines.

    I guess if i can’t find anything that will do the job it may just be quicker to recode the site.

    #51519
    TT_Mark
    Member

    While maybe not the best method, doing a find and replace on ‘>’ and replacing it with a ‘>’ followed by a new line would be a good start!

    #51520
    Bob
    Member

    Hmm, I know Chris or maybe someone here on the forums once posted a link about optimizing your webpage, which also included a form where you could upload your webpage and it would delete all unnecessary whitespace. Perhaps there’s also an application or webform that will bring the whitespace and returns back in place, don’t know of any though..

    #51473
    mshort1985
    Member

    Thanks all, I guess i’ll just rewrite the code. It’s probably for the best since its all tables based so i’ll beable to turn it into divs :)

    just another quick question, is there much benefit to optimising your html by removing the whitespace from it, especially now with the high-speed internet being so common?

    #51425
    DogsGhost
    Member

    Before I stopped using the bloat that is Dreamweaver, it was actually pretty handy for doing this. Paste in all the code then just hit ‘apply formatting’.
    Optimizing never hurts unless you really need other people to be able to read it live or something.

    #51430
    mshort1985
    Member

    OMG DogsGhost you are a genius… I never even knew Dreamweaver had something like this, it worked like a charm. Thanks a bunch :DD

    #205771
    phil2010
    Participant

    Yep that will do it.. worked a treat

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Other’ is closed to new topics and replies.