W3C home > Mailing lists > Public > www-math@w3.org > February 2006

Re: *.xhtml filenames, mimetypes and and mathML problem

From: David Carlisle <davidc@nag.co.uk>
Date: Thu, 23 Feb 2006 13:21:30 GMT
Message-Id: <200602231321.NAA31677@penguin.nag.co.uk>
To: R.W.Kaye@bham.ac.uk
CC: www-math@w3.org


The extension on the file shouldn't matter (it doesn't matter to
mozilla, with IE it does sometimes apparently have an effect)
But it must be served with an xml mime type (text or applictation /xml or
xhtml+xml) If you serve the pages as text/html which is probably the
default on your server for .html pages the mathml will not display.

  BUT (and this is the problem) it seems that my home page at
   http://mat140.bham.ac.uk/~richard/MSM1Bb/index.html
  is indexed at google, but none of the others are.  I presume this is something
  to do with the mime type and/or filename I am using.  I must admit to being
  rather upset by this as the whole point of using XHTML and MathML is to 
  make the pages *easier* to index and search rather than harder! 


Hmm we have a similar setup here (using .xml as the extension and
text/xml as the mime type) and google seems to find things.

eg

http://www.google.co.uk/search?hl=en&q=site%3Anag.co.uk+filetype%3Axml+computes+the+QR+factorization+of+a+real+m+by+n+matrix.


finds several references to the xhtml+mathml documents that describe
routines using such a factori[sz]ation.

google does list them as
 File Format: Unrecognized 
but the links it provides is to the xhtml files do work.


It does appear to be the case that google isn't indexing your files.
I must admit that it is probably by luck rather than by design that it
is indexing mine, but perhaps if you compare the setups you will find
the trick??

If you are happy with your setup and don't want to change anything other
than to get google to index the pages, perhaps submitting a sitemap
http://www.google.com/webmasters/sitemaps/docs/en/about.html
would help (but I've not tried this)

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Received on Thursday, 23 February 2006 13:22:05 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:13:40 UTC