Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 13 of 13

Thread: cleaning HTML

  1. #1
    Regular Coder
    Join Date
    Jul 2004
    Location
    France
    Posts
    141
    Thanks
    0
    Thanked 0 Times in 0 Posts

    cleaning HTML

    I have tried Tidy to clean HTML pages but I cannot use it .. impossible to understand how it works


    do you know a good normal (not exotic) HTML code cleaner ?

    I have many tags as
    <img border=0 width=14> not quoted at all
    I want to get a valid xhtml or at least a clean quoted code

    thank you
    Last edited by gwendaal; 09-26-2004 at 10:09 AM.

  • #2
    Senior Coder gsnedders's Avatar
    Join Date
    Jan 2004
    Posts
    2,340
    Thanks
    1
    Thanked 7 Times in 7 Posts
    I don't understand how the Windows version works, but the Mac OS X one is so easy to use, however, you may find this online implementation useful: http://infohound.net/tidy/

  • #3
    Regular Coder
    Join Date
    Jul 2004
    Location
    France
    Posts
    141
    Thanks
    0
    Thanked 0 Times in 0 Posts
    did you try the windows version ??
    I get only a dos window !

    thank you for the link

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    Nashua, NH
    Posts
    1,724
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Nothing better than Notepad (or other text editor preferrably with syntax highlighting) combined with the knowledge of what proper HTML is.
    Vladdy | KL
    "Working web site is not the one that looks the same on common graphical browsers running on desktop computers, but the one that adequately delivers information regardless of device accessing it"

  • #5
    Regular Coder
    Join Date
    Jul 2004
    Location
    France
    Posts
    141
    Thanks
    0
    Thanked 0 Times in 0 Posts
    too long with notepad !
    I have not done the website .. I am trying Tidy on line it works

    and editplus is much more better than notepad

  • #6
    New Coder
    Join Date
    Jul 2004
    Location
    france
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts
    does anyone know if a normal version of tidy is avalaible for windows

    i am turning in tidy's website without finding it

  • #7
    Daf
    Daf is offline
    Regular Coder
    Join Date
    Feb 2005
    Location
    East Texas
    Posts
    140
    Thanks
    32
    Thanked 2 Times in 2 Posts
    Go to:

    Bradsoft.com

    Download and install either the Demo Verison or the "Free" version (Lite) of Top Style 3.10.

    It has a nice Tidy GUI and is fully configurable. You can run your files through Tidy by opening them in TS. Check the help file for instructions on using it.

    It's a great CSS/xhtml/html editor in it's own right.

    Daf

  • #8
    New Coder
    Join Date
    Jul 2004
    Location
    france
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thank you Daf :-)

    and do you know if a Tody Plugin exist too for dreamweaver ?

  • #9
    New Coder
    Join Date
    Jul 2004
    Location
    france
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts
    and I get all the time from designers html pages with an horrible code

    do you know if Tidy can change this kind of tags

    Code:
     
    
    <table width="730" height="100%" border="0" cellpadding="0" cellspacing="0">
    <font size= ...
    by

    Code:
     
    
    <table style="width:730px;height:100%; ........">

    or even better


    Code:
     
    
    <table class="class2">
    and adding the style in the head of the document

    such a tool will be usefull

  • #10
    New Coder
    Join Date
    Feb 2005
    Posts
    85
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I would like such a tool as well!

  • #11
    New Coder
    Join Date
    Jul 2004
    Location
    france
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts
    but i am really surprised of Topstyle + tidy they nearlly do it !! a big part of html is clean

    i think it will come my first tool for html and css

  • #12
    Daf
    Daf is offline
    Regular Coder
    Join Date
    Feb 2005
    Location
    East Texas
    Posts
    140
    Thanks
    32
    Thanked 2 Times in 2 Posts
    Top Style is a very nice tool for hand coders.

    Answers to your previous questions ... I don't beleive that Tidy has a DW plugin version - but I'm not sure.

    No - Tidy will not reformat the styles or export them to an external style sheet.

    Daf

  • #13
    New Coder
    Join Date
    Jul 2004
    Location
    france
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts
    but with topstyle from an html full of mixed code you get a good part in style head and that's allready great

    those designers are producing such an horrible code :-))


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •