Loading ...
Sorry, an error occurred while loading the content.

14303Re: [Clip] Batch HTML Tidy

Expand Messages
  • xtx222003
    Oct 6, 2005
    • 0 Attachment
      Hi Jeff-- Unfortunately that clip didn't work at all. But, thank you
      very much for trying.

      Since I posted my question I came up with a good solution that does
      exactly what I wanted to do with tidy -- optimize my XHTML files, but
      without tidy.

      I'm already validating each page with Igor Podlubny's off-line HTML
      Validator clipbook http://www.tuke.sk/podlubny/ov.html, so I know
      each page is valid markup.

      Here are the steps I came up with to optimize my file sizes by 42%:

      9.15 kb original
      5.90 kb <!-- yada, yada --> removed with FARs www.helpware.net/FAR/
      Advanced Find & Replace
      5.82 kb ^T removed with NoteTab Search Disk
      5.39 kb ^P removed with NoteTab Search Disk
      5.36 kb replace > < with >< with NoteTab Search Disk
      ? kb replace "space space" with "space", with NoteTab Search Disk

      The new file is 58% of the original, 42% faster loading! Validates on
      & offline! The valid XHTML is not changed at all, but optimized as
      small as possible. Without wordwrap on, its one very long runon line.

      It only takes 1 or 2 minutes to process my project of 5,000 files
      19215kb or 18.76MB savings, or an additional capasity of 2,100 files.

      If someone turns this into a clip, please let me know.

      Best Regards,
    • Show all 3 messages in this topic