KosherDev | Blog about kosher programming

‍‍23 December 2009 - 6 Teves 5770

Zmanim widget 0.4

This version’s name will be Bells and Whistles.

I know how it is difficult sometimes to look for latitude and longitude of your location. To make this process easier, I added a functionality, which allows to select location from auto complete menu and it will insert proper latitude and longitude to proper boxes.
In this release, I haven’t found an easy way to determine UTC offset. Hope in future release to add this functionality.
Here is a screen shot of this magic:

As usual new version of Zmanim widget is available for download and installation from WordPress repository or via installation manager.

suggestions, bugs and words of appreciation are welcome in comments.

Popularity: 13% [?]

RSS Feed

3 Comments

  • Ira | ‍‍Dec 24, 2009 - 7 Teves 5770 at 8:24 am

    Long/lat is easy to find with Google maps (and maybe there’s a way to ask it for height, which also makes a bit of a difference regarding the sunrise/set times, Google Earth has that for sure)

    As for UTC offset, that’s where the standard timezone data comes into play, all modern operating systems have that feature, though the Israeli one is a bit whacky, and Microsoft didn’t want to handle their issues with it properly before XP-SP3 and Vista. But these days it should be fixed as well, with standard APIs.

    • KosherJava | ‍‍Dec 24, 2009 - 8 Teves 5770 at 4:25 pm

      Google Maps do not currently supply elevation data. There is an open enhancement request at Google for this. As for timezones, Operating systems and Java have an Olson database for this, but I do not think that PHP offers this. Neither do, C++, C# and most others.

      • Moishe Beshkin | ‍‍Dec 24, 2009 - 8 Teves 5770 at 4:27 pm

        I haven’t check Google maps API for a half a year, but before that, there was no possibility to get latitude and longitude by place name from Google maps API.
        I use Geonames APi for that purpose.

        UTC detection from OS’s seetings, seems to me a little bit irrelevant for this plugin. Server’s UTC offset might differ much from local settings on administrator computer

      (Required)
      (Required, will not be published)

      <<

      >>

      Theme Design by devolux.org