[OSM-dev] http://www.openstreetmap.org/export/embed.html -> XHTML compliance

Tom Hughes tom at compton.nu
Mon Mar 23 11:28:39 GMT 2009


Alexander Delius wrote:

> I am a website dev/admin trying to keep my websites standard compliant.
> So I was happy to see that OSM is (contrary to google) XHTML compliant.
> But when trying to embed the slippy map in my web page I saw that just
> the http://www.openstreetmap.org/export/embed.html file is *not* XHTML
> compliant.

It also doesn't claim to be ;-)

> So I changed the file a bit. I don't have an SVN account and as I am not
> planning to do changes on a regular base, I don't really need one. So I
> have attached the file and I would be pleased if somebody could commit
> it to the svn and thus make it standard compliant.

I've committed those parts of your patch which were actually concerned 
with XHTML compliancy and it now passes the W3C validator.

Putting stuff like this in trac is probably the best approach though as 
it is less likely to get missed/lost.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the dev mailing list