Note: The RSS feed was never completed. The toString() method of the AstronomicalCalendar class returns zmanim as XML that can be used to generate a feed, and the later-added toJSON() method returns them as JSON.
The Zmanim API currently has two sample classes in the output package (no longer available). One, the ZmanimXLSGenerator, outputs zmanim as an Excel spreadsheet and is currently used in the Zmanim Calendar Generator; the other, which is not fully maintained, outputs zmanim in a PDF format (no longer available). I just started work on the third output class. This will generate an RSS feed of zmanim for a given location. I plan on outputting zmanim for the current day and the following week. The API that will be used is ROME. It seems pretty stable and relatively easy to use.
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 MapsAPI 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.
There was a request on the Correspondence page of Remy Landau’s Hebrew Calendar Science and Myths site for a utility that generated “Hebrew Year Number Transliteration”. Since I had already developed the code as part of PhpGedView (now forked and maintained by webtrees) and the Hebrew Date plugin, I just ported it to JavaScript as a demo. Enter a Jewish year to see it in Hebrew letters; it starts with the current year.
The static pages for the Zmanim project have been slightly updated. The main zmanim page has been revamped, an instruction page was added and some other minor changes were made. One change to the main page is the addition of a list of the types of zmanim that can be calculated. One reason for this change was search engine optimization. I ran AWStats on the log files for the last month and a half, and the following search phrases brought people to the site (listed in order of popularity):
“hebrew date”, “zman krias shema”, “hebrew date php”, “kosher coffee”, “zmanim nassau”, “zman tefilah”, “time of sun in zenith calculate”, “zmanim”, “wordpress hebrew”, “elevation of sun time of day”, “harfenes”, “asia generator”, “date hebrew”, “xsd time format”, “hebrew plugin”, “plag hamincha”, “get calendar java calc”, “zmanim calendar”, “jewish zmanim”, “calendar generator”, “milliseconds xsd time”, “annual calendar generator”, “java calculate start of the day”, “calculating sun zenith angle”, “calendrical spreadsheet”, “calculate mincha gedola”, “milliseconds into minutes”, “sun s zenith”, “javadoc api”, “time formats milliseconds”, “sof zman krias shema”.
The logs also showed that many people searching for zmanim-related terms never moved beyond the Javadoc pages that matched their query. The technical nature of those pages probably threw them off. The list of types of zmanim will hopefully lead many searchers to the main page instead of the Javadoc pages in the future.