The Batch Validator WordPress Plugin uses the Markup Validator Web Service API provided by the famous online validation service at http://validator.w3.org.
No Demo.
Languages: english, deutsch(german)
Download: Batch Validator
Version: 1.0
Usage:
- download, unzip and upload to your WordPress plugins directory
- activate the plugin in you WordPress administration backend and go to “Dashboard” > Batch Validator


September 3rd, 2007 at 12:42 am
I think the download file is missing something…is there supposed to be an ‘images’ directory?
September 3rd, 2007 at 1:08 am
oh, thanks. Must have been an svn commit problem. I just commited the corrections. Please download again i a few minutes…
September 26th, 2007 at 4:25 pm
to also handle nice-urls:
$permalink = get_permalink($post->ID);
if(dprx_validate(”http://validator.w3.org/check?uri=”.urlencode($permalink).”&output=soap12″)) {
echo ““.$post->post_title.” “.__(’check’,'dprx_bval’).”: “.date(get_option(’date_format’)).” “.date(”H:i:s”).”";
dprx_bval_update_result($post->ID,time());
} else {
echo ““.$post->post_title.” “.__(’check’,'dprx_bval’).”: “.date(get_option(’date_format’)).” “.date(”H:i:s”);
if (empty($post->guid)) {
echo ” “.__(’Permalink is missing’,'dprx_bval’).”!”;
}
echo “”;
dprx_bval_update_result($post->ID,”");
}
October 1st, 2007 at 10:30 pm
I am getting an error “permalink is missing!” on one of my posts and one of my pages when I run your plugin. I have verified that the items exist and they do have permalinks but I still get the error from your plugin. I am currently using Wordpress 2.3.
October 2nd, 2007 at 7:31 am
Keith, this message means, that your post does have an empty field guid in the database.
October 10th, 2007 at 7:05 pm
Thanks for the info Roland. However, I am not well versed in MySQL or the usage of phpMyAdmin. Would you be able to point me in the right direction for correcting these errors?
November 3rd, 2007 at 4:30 pm
Roland - Your plugin always states that my stylesheets are invalid yet when I click the “check manually” button it shows that the stylesheets are valid. Is this a bug with your plugin or is there some other way to determine what it thinks is invalid?
December 15th, 2007 at 10:44 pm
THis is a really nice idea. However, the plugin doesn’t work very well att all.
I am trying to find the bugs, will contact you if I find the solution.
December 15th, 2007 at 11:00 pm
micha17 posted the solution of the nice URLs.
The plugin doesn’t seem to work very well in IE though.
I was logged in as admin in IE and as my regular user in FX. Everything seems to be working fine in Firefox apart from the CSS validation.
February 12th, 2008 at 4:47 pm
Hi! Thanks for your great plugin, it really rocks. At least with Firefox - in IE it just submits the same page over and over again, at least with IE6. But who cares
What I wanted to know: where are the results saved? I’ve checked the folders and database but couldnt find anything. How can I check the results of my last test after closing the browser window?
February 18th, 2008 at 8:45 pm
Andy, results are stored in wp_postmeta with the keyname _dprx_w3c_valid value it timestamp of last check. There are also two option set in wp_options: dprx_bval_last_item and dprx_bval_last_check. If you check all unvalidated, posts that have been previously checked will be skipped and the time of the last check is displayed.
April 3rd, 2008 at 1:28 pm
Hi again! Actually the plugin seems to be broken with Wordpress 2.5 - everything worked fine in 2.3, but now the Batch Validator just checks the first post over and over again. The same behaviour as it always has been in IE6, but now it’s also on Firefox and Safari
April 24th, 2008 at 12:02 pm
Would be brilliant to have a WP 2.5 update soon - love this plugin!