Hello I want to fix special error with ggeoxml from validated atom feed where title tag generates a link where I mistook the way of the escaping escapes.
Actual markers and locations work very well just two things I mostly try R&D .text in link on marker for escape chars I didn't learn yet .how to get photos from atom feed (I know atom speces 1:1 or 1:2 ratio but to include graphics is beyond easy The geoxml view looks funny for special (escape) chars http://google-maps-api.googlegroups.com/web/Screenshot.gif?gsc=WYitjBYAAAD51AukB_ZJy5otgv-AVecsJSOjPK1WffO4K4u9A8p5SA Link classifiedsmarket.appspot.com Its atom feed backend (relevant field to handle is ad.title, should I use django.defaultfilters.escape, upgrade to django 1.0 to get escapejs, no filter with some other action, quickdirtyfix with replace (''...) self.response.out.write('<entry><title>%s</title><link href="http:// %s/%d"/><id>http://%s/%d</id><updated>%s</updated><author><name>%s</ name></author><georss:point>%d %d</georss:point><published>%s</ published><summary type="xhtml"><div xmlns="http://www.w3.org/1999/ xhtml">%s</div></summary></entry>' %(ad.title,url,ad.key().id (),url,ad.key().id(), ad.modified.isoformat()+'Z',defaultfilters.escape (ad.name),ad.geopt.lat,ad.geopt.lon,ad.added.isoformat() +'Z',defaultfilters.escape(defaultfilters.truncatewords (defaultfilters.striptags(ad.text),55)))) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
