Batch Validator
1 2 3
Batch ValidatorBatch ValidatorBatch Validator

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:

  1. download, unzip and upload to your WordPress plugins directory
  2. activate the plugin in you WordPress administration backend and go to “Dashboard” > Batch Validator
Share This Tags:
  1. Anonymous Says:

    I think the download file is missing something…is there supposed to be an ‘images’ directory?

  2. Roland Rust Says:

    oh, thanks. Must have been an svn commit problem. I just commited the corrections. Please download again i a few minutes…

  3. micha17 Says:

    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,”");
    }

  4. Keith Says:

    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.

  5. Roland Rust Says:

    Keith, this message means, that your post does have an empty field guid in the database.

  6. Keith Says:

    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?

  7. Keith Says:

    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?

  8. Kristoffer Forsgren Says:

    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.

  9. Kristoffer Forsgren Says:

    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.

  10. Andy Says:

    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?

  11. Roland Rust Says:

    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.

  12. Andy Says:

    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 :(

  13. Andy Says:

    Would be brilliant to have a WP 2.5 update soon - love this plugin!

Leave a Reply

For support questions, bug reports and troubleshooting regarding plugins from this site, please visit the forum.

Plugins in action: Mini-Slides

Turakraft uses Mini-Slides.

Plugins in action: Mini-Slides on timbuktoons.tv

Timbuktoons uses the Mini-Slides plugin.

This time it's Facebook

As being advised I did my Facebook page today ;)

Plugins in action: Find Us

KGALEWOOD, the Botswana Travel Community Podcast Channel uses Find Us.

Close
E-mail It