Zimlets

Interested in talking about Mash-up's? This is the place.
rdavisids
Posts: 32
Joined: Fri Sep 12, 2014 10:02 pm

Zimlets

Postby rdavisids » Thu Feb 02, 2006 1:24 pm

I keep seeing comments about a zimlet for Google Maps but only Yahoo maps appears to be here. Is there a repository for available zimlets not included with the release?


14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

Zimlets

Postby 14319KevinH » Thu Feb 02, 2006 1:44 pm

Currently we only ship the Yahoo maps Zimlet. The google maps zimlet require a Google API key which must be per host so it's not something that's as easy to setup. Eventually we'll provide it in the zimlet-extras dir on an install so you can add it if you choose. Not the next release but at some point.
FunkyPenguin
Advanced member
Advanced member
Posts: 140
Joined: Fri Sep 12, 2014 10:02 pm

Zimlets

Postby FunkyPenguin » Mon Feb 27, 2006 3:30 pm

[quote user="14319KevinH"]Currently we only ship the Yahoo maps Zimlet. The google maps zimlet require a Google API key which must be per host[/QUOTE]
In the mean time, how do I change the Yahoo!Map zimlet from using the US as the default country to the UK?
[quote user="14319KevinH"]Not the next release but at some point.[/QUOTE]

Shame about that, but understandable.
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

Zimlets

Postby 14319KevinH » Mon Feb 27, 2006 4:55 pm

You'd need to edit the Zimlet yourself. Unzip ~/zimlets/com_zimbra_ymaps.zip
Change the com_zimbra_ymaps.xml and ymaps.js to refer to the UK yahoo vs the .com one we default too.
Kirkaiya
Advanced member
Advanced member
Posts: 51
Joined: Fri Sep 12, 2014 10:05 pm

Zimlets

Postby Kirkaiya » Wed Apr 12, 2006 10:45 am

I've done a few searches (and found this thread), but ... in what format does the address zimlet recognize addresses?
It recognizes phone numbers, FedEx tracking numbers, Skype numbers... but not addresses. I've tried single line, with and without commas, plain text and html...
Is this just not turned on by default? Or am I being extremely obtuse about something?
Update:

I see the RegEx pattern in com_zimbra_ymaps.xml, which is
[w]{3,}([A-Za-z].)?([ w]*#d+)?(
| )[ w]{3,}x20[A-Za-z]{2}x20d{5}(-d{4})?
(which is just checking until a line-break...), but I'll need to break out a regular expression reference guide to see why it's not matching addresses for me...)
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

Zimlets

Postby 14319KevinH » Wed Apr 12, 2006 10:52 am

Try:
2510 Fairview Avenue East Seattle WA 98102
bobby
Zimbra Employee
Zimbra Employee
Posts: 515
Joined: Fri Sep 12, 2014 10:01 pm

Zimlets

Postby bobby » Wed Apr 12, 2006 10:52 am

the regex is pretty basic. this is on file as Bug 6324 but it's a private bug so you won't be able to check on it
Kirkaiya
Advanced member
Advanced member
Posts: 51
Joined: Fri Sep 12, 2014 10:05 pm

Zimlets

Postby Kirkaiya » Wed Apr 12, 2006 10:55 am

I was editing my post while you two were replying (you are so fast, sometimes, I'm really amazed).
I did find the Regex pattern (see my post above), I'll try that test address now.
Kirkaiya
Advanced member
Advanced member
Posts: 51
Joined: Fri Sep 12, 2014 10:05 pm

Zimlets

Postby Kirkaiya » Wed Apr 12, 2006 11:00 am

Okay, got it.
I was trying the equivalent of:
2510 Fairview Avenue, East Seattle WA 98102
I guess the comma throws it off. Maybe I'll play with the regex expression? thanks guys!
(side note: Yahoo puts the address of my house a on the wrong side of the street...hmm...)
bobby
Zimbra Employee
Zimbra Employee
Posts: 515
Joined: Fri Sep 12, 2014 10:01 pm

Zimlets

Postby bobby » Wed Apr 12, 2006 11:08 am

you post your home address on here? there's some sketchy dudes trolling these forums :eek:

Return to “Zimlets”

Who is online

Users browsing this forum: No registered users and 3 guests