WordPress.org

Ready to get started?Download WordPress

Plugin Directory

XHTML Content Negotiation for WordPress

A plugin to serve WordPress content using the application/xhtml+xml MIME type

A plugin to allow WordPress to serve content using the application/xhtml+xml MIME type, based on the client's HTTP ACCEPT request. It also takes into account the q-values of the request, in compliance with RFC2616 HTTP/1.1. The plugin also handles clients that don't supply an ACCEPT header (e.g., the W3C Validator).

The plugin detects IE8 and lower and serves content as text/html, because it doesn't follow the HTTP 1.1 requirement and can't parse application/xhtml+xml anyway.

Note: if you use this plugin, you MUST ensure that you have and appropriate DTD and XHTML namespace in your document. If you don't, some browsers may render your document as an XML tree. You must also ensure that your theme produces well-formed and valid XHTML, otherwise you will get XML parsing errors in your browser.

This plugin requires PHP version 5 or greater.

If you come across any bugs or have suggestions, please use the plugin support forum or contact me at rayofsolaris.net. Please check the FAQ for common issues.

Requires: 2.0.2 or higher
Compatible up to: 3.4.2
Last Updated: 2012-8-23
Downloads: 1,802

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
0,1,0
0,1,0