Zmanim Calendar Generator TODO List

Sunrise CalendarI slightly updated the Zmanim Calendar Generator to add some user input validation.

Looking at the logs, I noticed that someone generated a calendar with the longitude and latitude of Lakewood, NJ (the default), with only the location label changed to Minneapolis, MN. I don’t know if the user was just testing or assumed that I picked up the geocoding information by parsing the location name. This led to the addition of a JavaScript confirmation when the location name is changed.

Items on the TODO list are:

  • Use JavaScript to convert the longitude and latitude when the format is changed from decimal to degrees, minutes and seconds
  • Provide links to locate longitude and latitude information
  • Add support for generating a standard calendar (not the full calendar, which is the current default) with a much smaller set of zmanim
  • Implement the generation of PDF calendars
  • Possibly use the Google Maps API to allow the selection of longitude and latitude information

The code for the PDF generation is already in the API, but it has not been updated in a while and does not work properly. It will also have to be updated for the standard calendar mentioned above.

The way I envision interacting with Google Maps is to let the user center their location on the map and have those coordinates used for the zmanim calendar. This would be relatively trivial if Google provided geocoding information, since the user could then enter their location as they do on Google Maps, but they currently do not provide geocoding information. I haven’t touched their API yet, and although it does not look too complex, it will probably take a while.

2 thoughts on “Zmanim Calendar Generator TODO List”

  1. J,
    It is not integrated into WordPress at all. The Zmanim are generated by a Java program (available on the site). There is an HTML form on the WordPress Zmanim Calendar Generator page, but that just submits it to as Java program for the generation of the Zmanim. To integrate it with WordPress, the Java Zmanim API code would have to be ported to PHP. The Java code is under the GPL, so anyone who wants to take up a porting project would be more than welcome.

Leave a Reply

Your email address will not be published. Required fields are marked *

To post code, wrap it in a shortcode for its language, such as [java]…[/java], [js]…[/js] or [php]…[/php], or [code]…[/code] for plain text.