PDA

View Full Version : Proper Mobile Page Headers



veikoh
02-26-2009, 11:55 AM
I started to check with W3C mobile validator my pages and this asked me to put lot of things to the header, so my current header looks like this:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8">
As my hosting service is typical shared hosting, I cant much modify the mimetypes and GET headers there so they are server as text/html without character encoding.
Now my pages will show up from Google mobile search as "Adapted".
What could be the proper mobile page headers?