6 posts tagged “xhtml”
dot.mobi web pages have some special conventions, standards and styles (some of them mandatory) that might be different to other web standards and conventions you find on the rest of the web:
- http://dev.mobi/
- http://dev.mobi/styleguides
- http://dev.mobi/files/dotMobi_Domain_Naming_Guidelines_1.0.html
- http://dev.mobi/files/dotmobi_Switch_On_Web_Developer_Guide.html
for example:
URLS:
I18N:DotMobi rules stipulate that there should be a site at the second level domain. This means that mobile users can enter the URL as example.mobi instead of www.example.mobi, thereby saving keystrokes.
MIME type:Identify national variations of dotMobi sites by using the corresponding country code top level domain identifier (ccTLD) as the third level domain identifier.ie uk.mydomain.mobi !
For XHTML-MP, the recommended MIME type is
application/vnd.wap.xhtml+xmlorapplication/xhtml+xml. Unlike HTML, XHTML-MP should not be served astext/html.
You can develop, test and validate your dot mobi sites for compliance by using:
This IBM developer works article discusses what you need to know to make your Web site part of the Semantic Web. It starts with a discussion of the problems the Semantic Web tries to solve and then moves to the technologies involved, such as Resource Description Framework (RDF), Web Ontology Language (OWL), and SPARQL Protocol and RDF Query Language (SPARQL). You'll see how the Semantic Web is layered on top of the existing Web. It then covers some issues that you want to know about when you plan a new Web site and also gives specific examples of how to use technologies like RDFa and Microformats to enable your existing Web site to become a part of the Semantic Web.
W3C QA - Recommended list of DTDs you can use in your Web document
If you search for Web Browser "standards mode", "quirks mode" and doctype, html, xhtml, xml you'll find plenty of information about the "problem" that certain browsers have but little about the "solution" !
I'm still confused but thinking that a solution might just to use PHP instead of HTML and add the following header to my web pages
<? // if (HTTP_USER_AGENT <> a-bad-browser) echo "<?doctype ...stuff...>" ?>
Before I actually code this in PHP do you think it would work ?
Or do you have a better solution ?
XOXO http://microformats.org/wiki/xoxo is a simple, open outline format written in standard XHTML and suitable for embedding in (X)HTML, Atom, RSS, and arbitrary XML.
Navigate to http://tantek.com/microformats/hcard-creator.html and enter your details
Alternatively try http://microformats.org/code/hcard/creator
For some tutorials on hCards see http://www.xfront.com/microformats/