OT: languages in Google Maps

2014-08-11 Thread Mord Behar
I'm trying to embed a Google Map on a website, and since most of the target
audience is non-English readers, I want the map to be in Hebrew.
So I set my Google settings to be Hebrew, and got an embed code from
Google. Now Google pointed out to me that each visitor will view a map
appropriate for them (I think it refers to Places only). But when I tried
to view it on the website, the map is in English. I then noticed that even
though my map is in Hebrew, the little floating window I get to get an
embed code shows the map in English.
Does Google not support Hebrew for embedded maps? Or is there some way to
force it?
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Running a script for email received

2014-08-11 Thread Ori Idan
I am trying to run a script when an email is received on my server.
I tried what described here:
http://blog.thecodingmachine.com/content/triggering-php-script-when-your-postfix-server-receives-mail

But it invoked the script for all mails not mail to a specific user
I tried the simplest thing of /etc/alias
But got error: Recipient address rejected: User unknown in virtual alias
table

Does anyone have any idea how to run a script for mail sent to a specific
user?

-- 
Ori Idan
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Running a script for email received

2014-08-11 Thread Dolev Farhi
What do you have configured in /etc/postfix/virtual?
--
df
On Mon, Aug 11, 2014 at 7:40 PM, Ori Idan o...@helicontech.co.il wrote:I am trying to run a script when an email is received on my server.I tried what described here:http://blog.thecodingmachine.com/content/triggering-php-script-when-your-postfix-server-receives-mail

But it invoked the script for all mails not mail to a specific userI tried the simplest thing of /etc/aliasBut got error: Recipient address rejected: User unknown in virtual alias table

Does anyone have any idea how to run a script for mail sent to a specific user?-- Ori Idan


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: languages in Google Maps

2014-08-11 Thread Tzafrir Cohen
On Mon, Aug 11, 2014 at 04:33:12PM +0300, Mord Behar wrote:
 I'm trying to embed a Google Map on a website, and since most of the target
 audience is non-English readers, I want the map to be in Hebrew.
 So I set my Google settings to be Hebrew, and got an embed code from
 Google. Now Google pointed out to me that each visitor will view a map
 appropriate for them (I think it refers to Places only). But when I tried
 to view it on the website, the map is in English. I then noticed that even
 though my map is in Hebrew, the little floating window I get to get an
 embed code shows the map in English.
 Does Google not support Hebrew for embedded maps? Or is there some way to
 force it?

Have you considered OpenStreetMaps?

By default the language is similar to Google's (the country's language
is preffered), but that policy is easy to change:
https://toolserver.org/~osm/locale/he.html

If there's a specific area that s still not properly translated, let me
know and I'll try to help translating it. I try to keep to Hebrew
Wikipedia translations of names as they are normally sane and
consistent.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il