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
Shabbat Times WordPress plugin
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:
Jewish calendar REST API
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 »
Displaying a Jewish Calendar on your website
You may use the HTML tags below, courtesy of Kevin Ilsen’ JavaScript Event Calendar to put a calendar on your website. of what the event calendar looks like. If you just want holidays and no candle-lighting times, put these tags in the <head> section of the page: Then, somewhere in the <body> section of the… Read more »
JavaScript Jewish calendar example
Here is an example of a JavaScript calendar using the instructions. This example is for Beverly Hills, CA 90210:
Displaying today’s Hebrew date on your website
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:
RSS Feeds of Hebcal.com content
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)
Displaying Shabbat candle-lighting times on your website
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 »
Customizing Yahrzeit, Birthday and Anniversary Calendar for your website
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.
I’m a programmer. Can I see the source code?
Yes. The code is freely available under the terms of The BSD License. Download from http://www.hebcal.com/dist/.