Should have added, that it's not working in Firefox for Linux or Chrome but is OK in IE6. Not sure what regression i did but confirms that it is impossible to get it working in all browsers simultaneously! HB
2009/1/5 Hot Belgo <[email protected]> > Aha - that's helped me to address one of my longest standing bugs!! > Thanks!! I have three jsapi numbers for my home pc, the beta site that i > show to my sister and one for the original site. I got fed up of commenting > out the relevant api number as the moved the content accross the sites and > wrote a script that that looked at $_SERVER[HTTP_REFERRER] which I now > realise could cause errors if you go straight to the map rather being > refered by a page from the site!! > > But I'm no longer certain about anything to do with the special characters > anymore as http://af.awardspace.co.uk/map/#zus is now making a mess of the > euro € symbol again, which is evident from the output of > http://af.awardspace.co.uk/af/map/genxml.php? (seach for zus). The > comments are saved in the mysql database in utf_bin but not making it nicely > to the xml file. What could I do- they are currently being run through > Google's proposed script, namely: > > function parseToXML($htmlStr) > { > $xmlStr=str_replace('<','<',$htmlStr); > $xmlStr=str_replace('>','>',$xmlStr); > $xmlStr=str_replace('"','"',$xmlStr); > $xmlStr=str_replace("'",''',$xmlStr); > //$xmlStr=str_replace('€','€',$xmlStr); > $xmlStr=str_replace('&','&',$xmlStr); //goes last to translate all & > from above > return $xmlStr; > } > > HB > > 2009/1/5 warden [Andrew Leach - Maps API Guru] < > [email protected]> > > >> On Jan 4, 8:10 pm, Hotbelgo <[email protected]> wrote: >> > I should have added that the rest of the restaurant data is used on >> > the website (I have a script that converts {shortname} into various >> > things and in the infowindows on the map. For example, in IE6 >> > http://www.amsterdamfoodie.nl/2008/balthazars-three-course-gifts/ >> > leads to a restaurant called Balthazar's Keuken but in the info >> > window it is Balthazar's Keuken. >> >> Not for me it doesn't. In IE6, the code is missing the jsapi script >> loader! I get a series of errors starting with "google is undefined". >> That script tag is there in Firefox and it works. >> >> Andrew >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
