SitePoint Sponsor

User Tag List

Results 1 to 20 of 20
  1. #1
    SitePoint Wizard aaron.martone's Avatar
    Join Date
    Feb 2003
    Location
    Florida, USA
    Posts
    2,322
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Question Validating XHTML/CSS locally

    Is it possible to validate XHTML and CSS locally without having to upload everything to my server and then use W3C's Validator? I'm using DWMX 2004 and it has an DESIGN TIME validator, but I need the RUN TIME code to be validated.

    Does anyone know of a tool that can do both?

    XHTML 1.0 & CSS

  2. #2
    SitePoint Evangelist
    Join Date
    Feb 2005
    Posts
    581
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sure. Just use the "Upload" form!
    I will not flame the newbies,
    I will not flame the newbies,
    I will flame the newbies...
    Table free is the way to be!

  3. #3
    SitePoint Wizard aaron.martone's Avatar
    Join Date
    Feb 2003
    Location
    Florida, USA
    Posts
    2,322
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Run the page locally...save the page locally...upload it to W3 for validation? Is there any was to nix out having to rely out remote servers and having to save and upload it? A locally running utility would be preferable.

  4. #4
    SitePoint Evangelist
    Join Date
    Feb 2005
    Posts
    581
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I really don't know. Perhaps Tidy could help?
    I will not flame the newbies,
    I will not flame the newbies,
    I will flame the newbies...
    Table free is the way to be!

  5. #5
    SitePoint Wizard aaron.martone's Avatar
    Join Date
    Feb 2003
    Location
    Florida, USA
    Posts
    2,322
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Tidy doesn't seem to validate XHTML and CSS from a local standpoint; and I have done google, to no avail. Even went to download.com. They don't offer much in the way, or maybe I'm searching on the wrong terms.

    "Validate" "XHTML" "CSS" "Local"

  6. #6
    SitePoint Evangelist
    Join Date
    Feb 2005
    Posts
    581
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm sorry, bud, but I really don't know what to tell as this is far beyond my level of expertise. Perhaps someone else could chime in?
    I will not flame the newbies,
    I will not flame the newbies,
    I will flame the newbies...
    Table free is the way to be!

  7. #7
    SitePoint Wizard megamanXplosion's Avatar
    Join Date
    Jan 2004
    Location
    Kentucky, USA
    Posts
    1,099
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The W3C validator's source code can be downloaded and installed on your own server.

    http://validator.w3.org/docs/install.html

  8. #8
    SitePoint Wizard aaron.martone's Avatar
    Join Date
    Feb 2003
    Location
    Florida, USA
    Posts
    2,322
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    It seems they require you to setup PERL on your machine for this. Perl's not on this box. I'm suprised, but I guess there really aren't any XHTML/CSS validators for local rigs. I would have liked the W3C one, since that's the one I use to validate when the files are remote.

    Gonna keep on lookin. Thx so far.

  9. #9
    SitePoint Wizard megamanXplosion's Avatar
    Join Date
    Jan 2004
    Location
    Kentucky, USA
    Posts
    1,099
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What kind of server setup do you have?

    http://sourceforge.net/projects/apache2triad/ -- Apache2Triad is a good web server bundle for Windows. It includes Apache, mySQL, PHP, Perl, Python, etc. and installs very easily.

  10. #10
    SitePoint Wizard gold trophysilver trophybronze trophy dc dalton's Avatar
    Join Date
    Nov 2004
    Location
    Right behind you, watching, always watching.
    Posts
    5,431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you use Firefox and the web developer toolbar you can do it right from your machine with the click of a button.

  11. #11
    SitePoint Wizard aaron.martone's Avatar
    Join Date
    Feb 2003
    Location
    Florida, USA
    Posts
    2,322
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Windows XP SP1 / IIS 5.1 / DWMX 2004 / Coldfusion MX 7

    I'm not against anything PERL/Unix/Etc., I just dont want to install more onto a server that's not secure in the first place. Besides, aside from XHTML validation I have no need for mySQL, PHP, Perl or Python. But more power to anyone who uses that. Thx.

    Firefox? I have FF, but don't use it often. I'll look for this web developer toolbar and see what I get. Man, this'll be another steak in MSIE's coffin, if it proves to be what I need!

  12. #12
    One website at a time mmj's Avatar
    Join Date
    Feb 2001
    Location
    Melbourne Australia
    Posts
    6,282
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    WDG provide an off-line version of their online validator.

    Available from:
    http://www.htmlhelp.com/tools/valida.../index.html.en

    The catch is that the parser is in C++ and you'll need to compile it yourself, and the validator is a Perl script. So it's probably better suited to *nix users.

    Otherwise, the same guy also provides a Windows version, but it is not free. It costs $25.

    http://arealvalidator.com/
    [mmj] My magic jigsaw
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The Bit Depth Blog Twitter Contact me
    Neon Javascript Framework Jokes Android stuff

  13. #13
    SitePoint Evangelist
    Join Date
    Jun 2005
    Posts
    516
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    []
    []
    Last edited by AnOmAlY_; Sep 23, 2005 at 08:08.

  14. #14
    CSS & JS/DOM Adept bronze trophy
    Join Date
    Mar 2005
    Location
    USA
    Posts
    5,482
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why use the CSS validator at ahfb2000.com when you can use the official one?
    We miss you, Dan Schulz.
    Learn CSS. | X/HTML Validator | CSS validator
    Dynamic Site Solutions
    Code for Firefox, Chrome, Safari, & Opera, then add fixes for IE, not vice versa.

  15. #15
    SitePoint Zealot
    Join Date
    Jun 2005
    Posts
    124
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you really want to do it locally, I suggest pulling up the XHTML spec, and changing all the Dreamweaver rules etc.

    This underlines deprecated and 'disallowed' properties and attributes. Might take you awhile to do, but may be worth it if you're insistant and don't want to install stuff ... or you could just learn the technology a bit more in-depth ...
    Equentity, LLC - Coming Soon

    Have a question? Ask here

  16. #16
    SitePoint Evangelist
    Join Date
    Jun 2005
    Posts
    516
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    []
    []
    Last edited by AnOmAlY_; Sep 23, 2005 at 08:08.

  17. #17
    SitePoint Wizard gold trophysilver trophybronze trophy dc dalton's Avatar
    Join Date
    Nov 2004
    Location
    Right behind you, watching, always watching.
    Posts
    5,431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is the link to the FF web developer toolbar ... honestly? I couldnt live without it . you will get SO spoiled once you start using this you will NEVER want to go back to anything else ..... there is SO much more than validating, honestly I dont know why ANY developer doesnt have it... cheers and happ developing!

    http://chrispederick.com/work/firefox/webdeveloper/

  18. #18
    bronze trophy
    Join Date
    Dec 2004
    Location
    Sweden
    Posts
    2,670
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This XHTML 1.0 schema validator can be used offline.
    Simon Pieters

  19. #19
    SitePoint Evangelist
    Join Date
    Jan 2005
    Location
    London, England
    Posts
    573
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can upload the code at w3c I believe.

  20. #20
    SitePoint Evangelist sputza's Avatar
    Join Date
    Jan 2002
    Location
    Canada
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is a tiny xhtml validator based off TIDY for Firefox 1.0 and up. http://users.skynet.be/mgueury/mozilla/
    I just noticed that it's a little out of date. It validates most of it but some of the newer rules are not checked.

    However, this extention does not do CSS. Althought, its quick and easy. It validates every page you visit.

    My buddy uses the Web Developer Extension for Firefox and he likes it. I think I might switch to that one. http://chrispederick.com/work/firefox/webdeveloper/
    Last edited by sputza; Jun 29, 2005 at 13:11. Reason: Adding more info
    Steven Watkins
    Chief Web Ninja
    Code Monkey Interactive
    lowgravity.ca


Bookmarks

Posting Permissions

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