With this snippet you will have the ability to display the DOCTYPE while sending the correct headers with support for content type negotiation.It also will correct itself for the W3C validator which does not send the correct Accept header for XHTML documents.Does NOT send XHTML 1.1 to browsers that wont accept application/xhtml+xml because the snippet will make sure the browser groks XML before sending…
UPDATE: 1.0.1-plgetMIGXtv is a snippet that takes the value of a MIGX TV and converts it
into a PHP array before storing it as a placeholder for use in other
snippets/chunks. Arrays can be re-keyed using any available field, e.g.
MIGX_id, and placeholders can be given a custom name.
This snippet tries to optimise and compress PNG and JPEG images for better performance using the resmush.it optimisation API. This will help massively with Google Page Speed and can reduce image sizes by up to 70%. This will overwrite any existing images so is intended to be used as an output filter after pthumb or similar.As this is a first release, your feedback and requests are welcome.