=== X-Valid === Tags: xhtml, validation, comment, post, x-valid, xvalid Contributors: majelbstoat This plugin attempts to take arbitrary posts and comments and transform them into valid XHTML, a standard that describes how web-pages should be written. While not the be-all-and-end-all of web development, it is still important as it helps to ensure that content appears as you would expect in Internet Explorer as well as better browsers. Wordpress itself is already XHTML valid, but the same cannot be necessarily be said of post content itself. It is especially hard (that is, impossible) to guarantee that your comment posters will conform to these standards, which could theoretically lead to your site displaying incorrectly. It covers a wide range of markup errors, and is configurable via a menu interface which can be found as a Plugins submenu. == Installation == * One Click Installation is available, if you are using the Wordpress Plugins Manager Otherwise: 1. Upload xvalid.php to your plugins folder, usually `wp-content/plugins/` 2. Create the folder `wp-content/xvalid/` and make sure it is writable 3. Upload xhtml-transitional-10.php and xhtml-static-10.php to the newly created `xvalid` folder. 4. Activate the plugin on the plugin screen. 5. Check the menu is available under the plugins submenu and fiddle with the settings if you like. == Frequently Asked Questions == = Does X-Valid delete any of my data? = Almost certainly not. I use X-Valid personally and have never had anything get lost. X-Valid has been downloaded hundreds of times and there have been no complaints so far. On the other hand, no guarantees are made, you use it at your own risk. What it will sometimes do is remove tags that are unneeded, or erroneous (such as close tags without open tags). Beyond these basics of correction, the default settings are conservative and it chooses to warn rather than remove or add extra tags without your permission. You can change these if you like. None of the combinations of settings I've personally chosen have resulted in data loss. = How can I tell if X-Valid's working? = X-Valid displays a small message underneath the main post textbox when you are writing a new post. If you see this text all should be good. The best test is of course to just feed it something you know is wrong. Try entering something like this and see if it gets fixed: A witty quote proves nothing = Does X-Valid work with WordPress 1.2.x? = Yes and no. Versions 0.95 onwards only support WordPress 1.5. For a version that works for 1.2.x use X-Valid 0.92. This version only validates against the Strict 1.0 doctype. Compatibility with WordPress 1.3 is an unknown quantity, but if you are using this you really should upgrade to 1.5 as 1.3 was only ever alpha code... == Screenshots == 1. X-Valid's menu screen. 2. The output screen. 3. X-Valid on the edit post page.