Roundcube Community Forum

 

Sending RoundCube using the application/xhtml+xml mimetype

Started by octavian_3009, April 29, 2009, 07:22:16 PM

Previous topic - Next topic

octavian_3009

Hello,
I would like to use content negotiation to send text/html to IE style browsers and application/xhtml+xml to Mozilla style browsers. Thanks to This article, I've been able to fix the validation errors (in roundcube/program/include/rcube_shared.inc) and change the doctypes. The source indicates (because I tell the PHP to send different code with different mimetypes) that the correct mimetype has been sent. However, when I actually check to see which mimetype is being sent to the browser, it always comes up as text/html.
Is there some code preventing me from sending application/xhtml+xml? If so, which file is it in and how can I fix it?

octavian_3009

There must be a way to do this. I'm only trying to send the web pages as real XHTML (mimetype: application/xhtml+xml) to browsers that can handle it. I'm so close. Is there maybe a developer who knows which section of code is preventing this?
Any help would be appreciated.

Julius Caesar

Quote from: octavian_3009;18895There must be a way to do this. I'm only trying to send the web pages as real XHTML (mimetype: application/xhtml+xml) to browsers that can handle it. I'm so close. Is there maybe a developer who knows which section of code is preventing this?
Any help would be appreciated.

Developers are hardly here. Please use the mailing lists if you want to contact a developer: Getting help for RoundCube Webmail
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he