Posts Categorized: Developers, APIs, RSS Feeds, Source Code
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&maj=on&min=on&mod=on&nx=on&year=now&month=x&ss=on&mf=on&c=on&geo=geoname&geonameid=3448439&m=50&s=on Note the following customizable parameters and their meanings: v=1 – version. Required. cfg=json – output JSON instead of HTML. Also variant cfg=fc for year=now – “now” for current year, or 4-digit… Read more »
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 »
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:
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 (Diaspora) – Torah reading of the week Parsahat ha-Shavua RSS (Israel) – 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.