We offer a simple API for converting between Gregorian and Hebrew dates. Two output formats are supported: JSON and XML. To convert from Gregorian to Hebrew date use this URL format: http://www.hebcal.com/converter/?cfg=json&gy=2011&gm=6&gd=2&g2h=1 gy=2011 – Gregorian year gm=6 – Gregorian month (1=January, 12=December) gd=2 – Gregorian day of month g2h=1 – Convert from Gregorian to Hebrew… Read more »
Posts Categorized: Developers, APIs, RSS Feeds, Source Code
Our new Hebcal Shabbat Times WordPress plugin displays candle-lighting time, Torah Portion, and havdalah time in a WordPress widget. If you run a synagogue or other local Judaism-related website, you can get customized times based on your USA Zip code. An alternative approach is to use the WordPress built-in RSS Widget and configure as follows:
Hebcal.com offers a REST API for fetching Jewish calendar data. The output format is in JSON. The basic URL format is as follows: http://www.hebcal.com/hebcal/?v=1&cfg=json&nh=on&nx=on&year=now&month=x&ss=on&mf=on&c=on&zip=90210&m=72&s=on Note the following customizable parameters and their meanings: year=now – “now” for current year, or 4-digit YYYY such as 2003 month=x – “x” for entire Gregorian year, or use a numeric… Read more »
To display today’s Hebrew date in Hebrew or in English transliteration, on your site, use one of these two tags: Hebrew Preview: English transliteration Preview:
Hebcal.com offers content in RSS format as well: Parsahat ha-Shavua RSS – Torah reading of the week Today’s Hebrew Date in English Transliteration RSS Today’s Hebrew Date in Hebrew RSS 1-Click Shabbat RSS (customize zip code parameter for your shul)
Hebcal.com’s Add Shabbat Times to your Website tool lets you create custom HTML tags to which display weekly candle-lighting times directly on your web page. The result looks something like this: Shabbat times for Chicago, IL Candle lighting: 4:08pm on Friday, 02 January 2004 This week’s Torah portion is Parashat Vayigash Havdalah (72 min): 5:39pm… Read more »
You may use these HTML tags to insert a small form directly on your web page, with a reverse link back to your site: Make sure you replace both the ref_url and ref_text value fields with with your own synagogue’s.
Yes. The code is freely available under the terms of The BSD License. Download from http://www.hebcal.com/dist/.