Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. HTML de-bloater

HTML de-bloater

Scheduled Pinned Locked Moved The Lounge
questionhtmlcomannouncement
41 Posts 18 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vikram A Punathambekar
    wrote on last edited by
    #1

    Short question: Does anybody know of a good HTML debloater that can strip useless HTML code? Long reason: I happen to be a Frontpage fan. I'm rewriting my site from scratch using FP, and the only gripe I have with it is that it produces incredibly bloated HTML code. It doesn't rub well with those on dialup, like me. On a related note: Following CP advice, I decided to try out Dreamweaver MX. I have 25 more days to go before the trial version expires and it can prove to me that it doesn't suck. So far, it's losing - badly. If I can't get my hands on a debloater, I'll have to do it by hand. X| TIA,
    Vikram. ----------------------------- My soon-to-be-updated site KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.

    realJSOPR C P J B 9 Replies Last reply
    0
    • V Vikram A Punathambekar

      Short question: Does anybody know of a good HTML debloater that can strip useless HTML code? Long reason: I happen to be a Frontpage fan. I'm rewriting my site from scratch using FP, and the only gripe I have with it is that it produces incredibly bloated HTML code. It doesn't rub well with those on dialup, like me. On a related note: Following CP advice, I decided to try out Dreamweaver MX. I have 25 more days to go before the trial version expires and it can prove to me that it doesn't suck. So far, it's losing - badly. If I can't get my hands on a debloater, I'll have to do it by hand. X| TIA,
      Vikram. ----------------------------- My soon-to-be-updated site KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.

      realJSOPR Offline
      realJSOPR Offline
      realJSOP
      wrote on last edited by
      #2

      I do all my HTML "code" by hand. ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends

      J D S 3 Replies Last reply
      0
      • V Vikram A Punathambekar

        Short question: Does anybody know of a good HTML debloater that can strip useless HTML code? Long reason: I happen to be a Frontpage fan. I'm rewriting my site from scratch using FP, and the only gripe I have with it is that it produces incredibly bloated HTML code. It doesn't rub well with those on dialup, like me. On a related note: Following CP advice, I decided to try out Dreamweaver MX. I have 25 more days to go before the trial version expires and it can prove to me that it doesn't suck. So far, it's losing - badly. If I can't get my hands on a debloater, I'll have to do it by hand. X| TIA,
        Vikram. ----------------------------- My soon-to-be-updated site KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.

        C Offline
        C Offline
        Codin Carlos
        wrote on last edited by
        #3

        I've had the same problem, but am using Microsoft Word and saving as HTML. UGH!!!! I've downloaded & tried several freeware & shareware HTML de-bloaters, but they only do very simple fixes, like 1% reduction. None are smart enough to fix the "entire table uses same font, but MS puts expanded font tag in each frickin' cell anyway" problem, which is what is killing my files. I'm just too lazy to do HTML by hand these days; "I'd rather be flying" as the saying goes. :|

        P 1 Reply Last reply
        0
        • V Vikram A Punathambekar

          Short question: Does anybody know of a good HTML debloater that can strip useless HTML code? Long reason: I happen to be a Frontpage fan. I'm rewriting my site from scratch using FP, and the only gripe I have with it is that it produces incredibly bloated HTML code. It doesn't rub well with those on dialup, like me. On a related note: Following CP advice, I decided to try out Dreamweaver MX. I have 25 more days to go before the trial version expires and it can prove to me that it doesn't suck. So far, it's losing - badly. If I can't get my hands on a debloater, I'll have to do it by hand. X| TIA,
          Vikram. ----------------------------- My soon-to-be-updated site KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.

          P Offline
          P Offline
          Paul Watson
          wrote on last edited by
          #4

          You want a HTML optimiser? Something that looks at your code and goes "those tags are unnecesary, strip them out"? I don't think beyond the most basic level that exists or is possible. If it were do you think I would spend days doing HTML templates with CSS and what not. I would rather use FP, produce a TABLE layout and have HTML Optimiser go and re-write it all nicely for me. :) You do get tools to rip out all the tags Office puts into HTML. Not sure if you get the same thing for the crap that FP outputs, but I doubt it as it is not a simple case like Office HTML. Learn HTML and code by hand, only way you will produce clean code at this present point. Dreamweaver is getting there, but no cigar yet.

          Paul Watson
          Bluegrass
          Cape Town, South Africa

          Robert Edward Caldecott wrote: My father-in-law calls yer man bits "weasels"

          C S 2 Replies Last reply
          0
          • C Codin Carlos

            I've had the same problem, but am using Microsoft Word and saving as HTML. UGH!!!! I've downloaded & tried several freeware & shareware HTML de-bloaters, but they only do very simple fixes, like 1% reduction. None are smart enough to fix the "entire table uses same font, but MS puts expanded font tag in each frickin' cell anyway" problem, which is what is killing my files. I'm just too lazy to do HTML by hand these days; "I'd rather be flying" as the saying goes. :|

            P Offline
            P Offline
            Paul Watson
            wrote on last edited by
            #5

            Do you code websites for clients? Just curious :)

            Paul Watson
            Bluegrass
            Cape Town, South Africa

            Robert Edward Caldecott wrote: My father-in-law calls yer man bits "weasels"

            C 1 Reply Last reply
            0
            • P Paul Watson

              Do you code websites for clients? Just curious :)

              Paul Watson
              Bluegrass
              Cape Town, South Africa

              Robert Edward Caldecott wrote: My father-in-law calls yer man bits "weasels"

              C Offline
              C Offline
              Codin Carlos
              wrote on last edited by
              #6

              I stuff it into a simple HTML View property page on the PocketPC. Simple look up. Should probably be RTF but PocketPC's RTF view control is, er, version dependant. I want simple, and I don't want to work for it... so: Word-->HTML-->Zip-->ResourceBinary-->Unzip-->MemoryBlock-->CHTMLViewer :zzz:

              1 Reply Last reply
              0
              • realJSOPR realJSOP

                I do all my HTML "code" by hand. ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends

                J Offline
                J Offline
                Jamie Hale
                wrote on last edited by
                #7

                Ya serious. I never could make those WYSIWYG editors work. And I've never ever ever seen a "generated" page that's even remotely readable. TextPad is the way to go. J

                "You can get anything you want at Alice's Restaurant."

                realJSOPR 1 Reply Last reply
                0
                • V Vikram A Punathambekar

                  Short question: Does anybody know of a good HTML debloater that can strip useless HTML code? Long reason: I happen to be a Frontpage fan. I'm rewriting my site from scratch using FP, and the only gripe I have with it is that it produces incredibly bloated HTML code. It doesn't rub well with those on dialup, like me. On a related note: Following CP advice, I decided to try out Dreamweaver MX. I have 25 more days to go before the trial version expires and it can prove to me that it doesn't suck. So far, it's losing - badly. If I can't get my hands on a debloater, I'll have to do it by hand. X| TIA,
                  Vikram. ----------------------------- My soon-to-be-updated site KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.

                  J Offline
                  J Offline
                  J Dunlap
                  wrote on last edited by
                  #8

                  In the HTML editor I'm planning, it'll be "smart" as far as font tags, etc, but there are many things that are extremely hard for a computer to get right, and there is no substitute for hand-coding. Take a look at HTML-Kit[^]. It makes it a breeze to do hand-coding of HTML, XML, and ASP pages. I hand-code all my HTML/ASP/XML/XSL pages, but I sometimes do some WYSIWYG editing for ASP.NET pages.

                  "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
                  "You must be the change you wish to see in the world." - Mahatma Gandhi

                  1 Reply Last reply
                  0
                  • V Vikram A Punathambekar

                    Short question: Does anybody know of a good HTML debloater that can strip useless HTML code? Long reason: I happen to be a Frontpage fan. I'm rewriting my site from scratch using FP, and the only gripe I have with it is that it produces incredibly bloated HTML code. It doesn't rub well with those on dialup, like me. On a related note: Following CP advice, I decided to try out Dreamweaver MX. I have 25 more days to go before the trial version expires and it can prove to me that it doesn't suck. So far, it's losing - badly. If I can't get my hands on a debloater, I'll have to do it by hand. X| TIA,
                    Vikram. ----------------------------- My soon-to-be-updated site KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.

                    B Offline
                    B Offline
                    basementman
                    wrote on last edited by
                    #9

                    I have a little utility I wrote to strip out all of the unnecessary spaces and tabs to help compress dynamic html fragments. If you would like to use it, let me know.  onwards and upwards...

                    J V 2 Replies Last reply
                    0
                    • B basementman

                      I have a little utility I wrote to strip out all of the unnecessary spaces and tabs to help compress dynamic html fragments. If you would like to use it, let me know.  onwards and upwards...

                      J Offline
                      J Offline
                      J Dunlap
                      wrote on last edited by
                      #10

                      basementman wrote: strip out all of the unnecessary spaces and tabs :omg: Just don't do that with the copy you're going to be working on!!! Also, IMHO with computer-generated HTML, it's all those extra <font> tags that really hog space. Reduce them to only the necessary ones, and you've cut the file's size to ¼ the size. I guess I'm a hardcore programmer - I never use HTML designers, and I always head straight for the SQL view in the MS Access query designer.

                      "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
                      "You must be the change you wish to see in the world." - Mahatma Gandhi

                      B D 2 Replies Last reply
                      0
                      • J J Dunlap

                        basementman wrote: strip out all of the unnecessary spaces and tabs :omg: Just don't do that with the copy you're going to be working on!!! Also, IMHO with computer-generated HTML, it's all those extra <font> tags that really hog space. Reduce them to only the necessary ones, and you've cut the file's size to ¼ the size. I guess I'm a hardcore programmer - I never use HTML designers, and I always head straight for the SQL view in the MS Access query designer.

                        "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
                        "You must be the change you wish to see in the world." - Mahatma Gandhi

                        B Offline
                        B Offline
                        basementman
                        wrote on last edited by
                        #11

                        We either hand code the HTML or generate the HTML based on hand-coded templates. You should be using CSS rather than font tags anyway. As far the the space stripper goes, we run it against code that is being migrated out to production servers. Also, it allows you to specify a source dir and output dir so that you don't overwrite your development copy.  onwards and upwards...

                        J 1 Reply Last reply
                        0
                        • V Vikram A Punathambekar

                          Short question: Does anybody know of a good HTML debloater that can strip useless HTML code? Long reason: I happen to be a Frontpage fan. I'm rewriting my site from scratch using FP, and the only gripe I have with it is that it produces incredibly bloated HTML code. It doesn't rub well with those on dialup, like me. On a related note: Following CP advice, I decided to try out Dreamweaver MX. I have 25 more days to go before the trial version expires and it can prove to me that it doesn't suck. So far, it's losing - badly. If I can't get my hands on a debloater, I'll have to do it by hand. X| TIA,
                          Vikram. ----------------------------- My soon-to-be-updated site KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.

                          C Offline
                          C Offline
                          Codin Carlos
                          wrote on last edited by
                          #12

                          Why do I use bloated Word generated HTML you ask?!?!?! I get most of these files form a computer-challenged person, whom only knows how to open MSWord, and email them to me. The person want to be able to update the docs every few months.... X| any suggestions?

                          1 Reply Last reply
                          0
                          • B basementman

                            We either hand code the HTML or generate the HTML based on hand-coded templates. You should be using CSS rather than font tags anyway. As far the the space stripper goes, we run it against code that is being migrated out to production servers. Also, it allows you to specify a source dir and output dir so that you don't overwrite your development copy.  onwards and upwards...

                            J Offline
                            J Offline
                            J Dunlap
                            wrote on last edited by
                            #13

                            basementman wrote: You should be using CSS rather than font tags anyway That's the other thing - many WYSIWYG editors don't even have CSS support, or if they do, they put all the styles on the page, rather than in a seperate file. This makes the user have to download the whole style def every time they go to a new page.

                            "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
                            "You must be the change you wish to see in the world." - Mahatma Gandhi

                            1 Reply Last reply
                            0
                            • J Jamie Hale

                              Ya serious. I never could make those WYSIWYG editors work. And I've never ever ever seen a "generated" page that's even remotely readable. TextPad is the way to go. J

                              "You can get anything you want at Alice's Restaurant."

                              realJSOPR Offline
                              realJSOPR Offline
                              realJSOP
                              wrote on last edited by
                              #14

                              I edit the outbound TCP/IP packets in realtime with a binary editor (that's why my web page lags a bit sometimes). ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends

                              V J 2 Replies Last reply
                              0
                              • realJSOPR realJSOP

                                I do all my HTML "code" by hand. ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends

                                D Offline
                                D Offline
                                dandy72
                                wrote on last edited by
                                #15

                                > I do all my HTML "code" by hand. I'm a Notepad fan myself. If there's any bloat, you only have yourself to blame. ;P

                                W 1 Reply Last reply
                                0
                                • realJSOPR realJSOP

                                  I edit the outbound TCP/IP packets in realtime with a binary editor (that's why my web page lags a bit sometimes). ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends

                                  V Offline
                                  V Offline
                                  Venet
                                  wrote on last edited by
                                  #16

                                  John Simmons / outlaw programmer wrote: I edit the outbound TCP/IP packets in realtime with a binary editor (that's why my web page lags a bit sometimes). :-D:-D:-D:-D You must have a super fast editor to calculate CRC. Regards, Venet. Donec eris felix, multos numerabis amicos.

                                  1 Reply Last reply
                                  0
                                  • V Vikram A Punathambekar

                                    Short question: Does anybody know of a good HTML debloater that can strip useless HTML code? Long reason: I happen to be a Frontpage fan. I'm rewriting my site from scratch using FP, and the only gripe I have with it is that it produces incredibly bloated HTML code. It doesn't rub well with those on dialup, like me. On a related note: Following CP advice, I decided to try out Dreamweaver MX. I have 25 more days to go before the trial version expires and it can prove to me that it doesn't suck. So far, it's losing - badly. If I can't get my hands on a debloater, I'll have to do it by hand. X| TIA,
                                    Vikram. ----------------------------- My soon-to-be-updated site KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.

                                    V Offline
                                    V Offline
                                    Venet
                                    wrote on last edited by
                                    #17

                                    Textpad :) Regards, Venet. Donec eris felix, multos numerabis amicos.

                                    1 Reply Last reply
                                    0
                                    • P Paul Watson

                                      You want a HTML optimiser? Something that looks at your code and goes "those tags are unnecesary, strip them out"? I don't think beyond the most basic level that exists or is possible. If it were do you think I would spend days doing HTML templates with CSS and what not. I would rather use FP, produce a TABLE layout and have HTML Optimiser go and re-write it all nicely for me. :) You do get tools to rip out all the tags Office puts into HTML. Not sure if you get the same thing for the crap that FP outputs, but I doubt it as it is not a simple case like Office HTML. Learn HTML and code by hand, only way you will produce clean code at this present point. Dreamweaver is getting there, but no cigar yet.

                                      Paul Watson
                                      Bluegrass
                                      Cape Town, South Africa

                                      Robert Edward Caldecott wrote: My father-in-law calls yer man bits "weasels"

                                      C Offline
                                      C Offline
                                      Chris Maunder
                                      wrote on last edited by
                                      #18

                                      Paul Watson wrote: Learn HTML and code by hand All good advice as long as you don't want to use the ASP.NET web controls. <dark looks in the direction of Redmond> cheers, Chris Maunder

                                      D T 2 Replies Last reply
                                      0
                                      • realJSOPR realJSOP

                                        I edit the outbound TCP/IP packets in realtime with a binary editor (that's why my web page lags a bit sometimes). ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends

                                        J Offline
                                        J Offline
                                        Jamie Hale
                                        wrote on last edited by
                                        #19

                                        I find you can cut down on that lag by moving the de-bloatification code to firmware. I reprogrammed an old toaster of mine to do it for me. Keep up with the times, Johnny. :cool: J

                                        "You can get anything you want at Alice's Restaurant."

                                        L 1 Reply Last reply
                                        0
                                        • V Vikram A Punathambekar

                                          Short question: Does anybody know of a good HTML debloater that can strip useless HTML code? Long reason: I happen to be a Frontpage fan. I'm rewriting my site from scratch using FP, and the only gripe I have with it is that it produces incredibly bloated HTML code. It doesn't rub well with those on dialup, like me. On a related note: Following CP advice, I decided to try out Dreamweaver MX. I have 25 more days to go before the trial version expires and it can prove to me that it doesn't suck. So far, it's losing - badly. If I can't get my hands on a debloater, I'll have to do it by hand. X| TIA,
                                          Vikram. ----------------------------- My soon-to-be-updated site KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.

                                          J Offline
                                          J Offline
                                          Jack Puppy
                                          wrote on last edited by
                                          #20

                                          I'm like alot of the others and use Notepad. I use the following tool to trim whitespace and such after my page is working properly: http://www.serpik.com/ahc/ Just make sure you keep master copies. My 20 favorite films:
                                          http://www.ymdb.com/user_top20_view.asp?usersid=8912

                                          C 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups