{{{ # -*- coding: iso-8859-1 -*- """ MoinMoin - StreetView Macro Jason McArthur """ def execute(macro, text): if text.find('http://')> -1: url = text else: url = 'http://maps.google.com/maps/%s' % text html = ''' ''' % {"streetviewlink": url} return html }}}