Linux 软件免费装

XHTML Content Negotiation for Wordpress

开发者 solarissmoke
更新时间 2012年8月23日 13:07
PHP版本: 2.0.2 及以上
WordPress版本: 3.1

标签

MIME xhtml content-type application/xhtml+xml

下载

1.3 1.4

详情介绍:

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 IE6 and above and serves content as text/html, because IE 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 your theme uses the XHTML doctype declaration. If you use anything else (including the HTML5 doctype, <!doctype html>), many browsers will render your document as an XML tree. If you come across any bugs or have suggestions, please contact me at rayofsolaris.net.

安装:

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

更新日志:

1.4 1.3 1.2 1.1 1.0