Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
  1. #1
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    Location
    A small village near a small city near a small cit
    Posts
    918
    Member #
    4667
    Liked
    1 times
    Is there a way to use the W3C validator to validate an entire site? Or do I have to validate each and every page individually?

    I don't mind doing this, I'm just incredibly lazy.

    Thanks
    tekp :cheeky: tekponline.com

  2.  

  3. #2
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    Using that service, as far as I know you have to do it page by page.

    However there are some web authoring tools that do this for you, whether or not they use the same engine as w3c is anyone's guess.

    What I would do is validate a page that is finished (the bare bones [structure]) and then replicate this on the other pages.

    Copying the structure from a page to another should not cause any new validation errors, only adding new content such as a <img> tag with missing attributes would.

  4. #3
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    Location
    A small village near a small city near a small cit
    Posts
    918
    Member #
    4667
    Liked
    1 times
    Right, gotcha.

    Thanks for the help
    tekp :cheeky: tekponline.com

  5. #4
    Senior Member Rince's Avatar
    Join Date
    Nov 2004
    Posts
    183
    Member #
    8318
    Best is to aviod errors in the first place. Failing that, spot them and remove them as soon as possible. So when doing your site, as soon as the first page is done, check it. That way you won't copy over all your errors form page to page and giving you a nightmare to fix.

    Software like dreaweaver can do the validation for you. DW can scan an entire site in one go, or just the open windows, or just the one page. However, I'd recommend running the w3c test after the DW test as they can sometimes varry (though I tend to find the DW is quite strict in its validation.)

  6. #5
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    Location
    A small village near a small city near a small cit
    Posts
    918
    Member #
    4667
    Liked
    1 times
    Ok thanks, I see what you mean in your first paragraph.

    But my site uses a simple PHP engine, and a lot of the HTML is include()ed into each page, and so dreamweaver keeps harping on about unopened <html> tags etcetera.

    But yeah, thanks for the advice
    tekp :cheeky: tekponline.com

  7. #6
    Senior Member Rince's Avatar
    Join Date
    Nov 2004
    Posts
    183
    Member #
    8318
    If you put each include statment inside it's own php open <?php and close ?> tags, the DW will recognise them and not compain about unopened/unclosed tags. While this might not be convinient in all cases, It would allow you to check the entire site in one go. It's up to you where the ballance comes for your site/code.

  8. #7
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    Location
    A small village near a small city near a small cit
    Posts
    918
    Member #
    4667
    Liked
    1 times
    No I mean, the top and bottom of each page is included as a seperate file.

    This file is the top of all my pages, and it's included in each page. So if Dreamweaver ignored it, it would complain about no <html> tags at all - which it does.
    tekp :cheeky: tekponline.com

  9. #8
    Senior Member Rince's Avatar
    Join Date
    Nov 2004
    Posts
    183
    Member #
    8318
    Yes that's what I mean. DW will read that you have an include and will cope with the missing code. As long as the included statement is in a format the DW understands, it won't compain about missing tags cause it can find the header/footer file and check it at the same time.

  10. #9
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    Location
    A small village near a small city near a small cit
    Posts
    918
    Member #
    4667
    Liked
    1 times
    Oh.

    I see. Well, I'll have to try it out - thanks
    tekp :cheeky: tekponline.com

  11. #10
    Junior Member
    Join Date
    Aug 2005
    Posts
    7
    Member #
    11202
    Here's a solution to validating your whole site, checking links, checking 508 accesibility and validating CSS easily.

    Use Dreamweaver 8 to validate your code and check target browsers

    PLEASE NOTE: The below links have the & as &amp; for a reason, don't change it.

    Visit: (replace YOURSITEADDRESS with the base directory of your site)

    LINK CHECKER: (checks your entire site)
    http://validator.w3.org/checklink/ch...mp;check=Check

    508 Accessibility Check:
    http://www.contentquality.com/mynewt...WEBSITEADDRESS

    CSS Check: (replace CSSFILE with the address to your stylesheet on your site)

    http://jigsaw.w3.org/css-validator/v...tp%3A//CSSFILE

    XHTML Validation:

    Visit:
    http://www.htmlhelp.com/tools/validator/

    Check the 'Validate entire site' and enter your siteaddress and then copy the address from your browser's address bar. [Make sure you replace any '&' with &amp;]

    I've added direct 'XHTML', 'CSS', '508', 'Check Links' links to the sites that I've created. This allows advanced users to check the validation for me and report it

    EDIT: I've just noticed this forum truncuates it's URL links so make sure that you copy the entire link location.

    - Good Luck


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:22 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com