Home > TT - How To, TT - Linux, TT - Tools, TechTalk > Running HTML Validator Firefox extension on Ubuntu Jaunty 9.04

Running HTML Validator Firefox extension on Ubuntu Jaunty 9.04

Your Ad Here

The HTML Validator extension for Firefox has been an essential tool in my arsenal of web development tools. The extension has both the W3C algorithms (HTML Tidy and the SGML Parser) implemented, and it works locally (offline) for validating web pages. It eliminates the cumbersome uploading to W3C Validator service and shows instant results of the tests, pretty fast too (The largest page loaded took less than 1/100th second).

The HTML Validator has a nice debug window which not only shows the errors & warnings, but also shows tips on how to solve the errors, including small bits of demonstration code. It provides a wholesome learning experience about HTML standards.

The HTML Validator works flawlessly on Windows based systems, but on Linux, it faces a bit of trouble especially on Ubuntu. This is due to incompatibility of the LIBC++ version used to compile the extension and the one available on our system. The following steps will make the HTML Validator work on Ubuntu systems:

1. sudo apt-get install libxul-dev
2. sudo apt-get install libstdc++5
3. sudo apt-get install libnspr4-dev
4. At the end of /etc/profile, add the following line:
“export LD_LIBRARY_PATH=$LD_LIBRARY_PATH/usr/lib/xulrunner/”

Then restart Firefox. If the status bar icon still doesn’t turnup, restart your X session and you’ll have the validator ready.

Your Ad Here

Ashok TT - How To, TT - Linux, TT - Tools, TechTalk , , ,

  1. Auro
    May 13th, 2009 at 04:40 | #1

    Thanx man, you rock!

  2. gleb
    May 29th, 2009 at 09:57 | #2

    If this doesn’t help, try reinstalling the extension - this worked for me

  3. June 15th, 2009 at 01:19 | #3

    I really like your post. Does it copyright protected?

  4. June 16th, 2009 at 01:40 | #4

    Hello. I think the article is really interesting. I am even interested in reading more. How soon will you update your blog?

  1. No trackbacks yet.