Forum for Hebcal.com - Free Jewish holiday calendars, Hebrew date converters and Shabbat times
0

Mevarchim Chodesh

Avi Eisen 8 years ago 0

Is it possible to show when it is mevarchim chodesh from the API? I can see there's a provision for it starting on line 462 of the gen_luach.pl file, but I don't see a way to call it from the REST API

0
Answered

candle lighting

EMKP 9 years ago updated by Michael J. Radwin 9 years ago 4
My calendar on my apple computer shows holidays, dates of Rosh Chodesh, days of the Omer, and names of weekly parsha- but no candle lighting time. How can I add that?
0
Answered

Can I import more than a one year calendar to outlook

David Englander 8 years ago updated by durgazone 7 years ago 2

I was able to create a calendar and then subscribe so I can view it in outlook, but it is only a one year calendar and I want to be able to see Hebrew dates etc. a few years into the future. How do I do that?

0
Answered

Set iPhone notification time

Erez Reuven 8 years ago updated by Michael J. Radwin 8 years ago 1

Hi, Love your site. There is any way to set the notification time before downloading the calendar to my iPhone? The reason I'm asking is because when I select the "Show Hebrew date for dates with some event", i'm getting the notification for the Hebrew date 2 days before. (For example, for each candle lighting in Friday, I'm getting date notification on Wednesday) Thanks, Erez.

Answer
Michael J. Radwin 8 years ago

Hi, sorry to hear that you're having trouble with default notifications on the iPhone calendar. Our calendar feeds do not specify any alarms.


We'd recommend going to Settings, then Mail, Contacts, Calendars, then scroll down to the Calendars section and choose Default Alert Times:




Then be sure to check None for All-Day Events




0
Completed

Is the Shabbat times REST API return rsults about holiday too?

Yosi Havia 8 years ago updated by Michael J. Radwin 8 years ago 1

Hi,

Is the Shabbat times REST API return rsults about holiday too?
or just about shabbat?

Thanks,
Yosi

Answer
Michael J. Radwin 8 years ago

Yes, our Shabbat API returns some limited information about holidays. If you look at the documentation, you'll see an example where one of the items has a category of holiday.

0
Answered

Is it possible to calculate havdalah times based on 8.5 degrees rather than minutes?

Jew Zealander 9 years ago updated by Michael J. Radwin 3 years ago 2
Our community (Wellington, New Zealand) uses the 8.5 degrees method for havdalah time which varies noticeably from any fixed minutes after sunset at times of the year. Is it be possible to specify this method as an alternative to minutes after sunset?
Answer
Michael J. Radwin 3 years ago

In August 2020 we updated our solar calculation engine, which enabled this feature.

Havdalah can now be calculated according to tzeit hakochavim, the point when 3 small stars are observable in the night time sky with the naked eye. The new default Havdalah option is calculated when the sun is 8.5° below the horizon. This option is an excellent default for most places on the planet. We still offer the option to use a fixed number of minutes past sundown (e.g. 42 min for three medium-sized stars, 50 min for three small stars, 72 min for Rabbeinu Tam) which works well for Israel, most of the USA and Europe.

https://www.hebcal.com/home/1548/hebcal-2020-year-end-updates

0
Answered

Feed to Wordpress inverted

Nelly Guarani-Kaiowá Altenburg 8 years ago updated by Michael J. Radwin 8 years ago 1

When we added the Hebcal feed to our wordpress BETA site the feed presents Havdalah first, then Parashat hashavuah and then candle lighting time, in reverse order. How can we make the correct order? Thanks.

Answer
Michael J. Radwin 8 years ago

Thanks for your message. Sorry for the inconvenience!


To fix the problem, please edit the Hebcal candle-lighting times RSS feed to add the text &pubDate=0 to the end of the URL. For example, if the URL you were using looks like this:


http://www.hebcal.com/shabbat/?cfg=r&geonameid=281184&i=on&m=50


Change it to this:


http://www.hebcal.com/shabbat/?cfg=r&geonameid=281184&i=on&m=50&pubDate=0

0
Not a bug

Shabbat times REST API response missing a header

Roi Dayan 9 years ago updated by israel wissotzky 3 years ago 6
The json api response is missing a header in the response to allow access by origin.

example request showing the problem:

XMLHttpRequest cannot load http://www.hebcal.com/shabbat?cfg=json&geo=pos&latitude=31&longitude=35&m=50&tzid=Asia%2FJerusalem. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.

the jewish calendar api is ok.

Answer
Michael J. Radwin 3 years ago

Hi, thanks for using Hebcal.


As of August 2020, the trailing slash after "converter" or after "shabbat" is now optional.

All of the following will work correctly with the CORS header without triggering a 301 redirect

https://www.hebcal.com/shabbat?cfg=json

https://www.hebcal.com/shabbat/?cfg=json

https://www.hebcal.com/converter?cfg=json

https://www.hebcal.com/converter/?cfg=json


http://www.hebcal.com/shabbat?cfg=json

http://www.hebcal.com/shabbat/?cfg=json

http://www.hebcal.com/converter?cfg=json

http://www.hebcal.com/converter/?cfg=json

The Hebcal website generally requires https for most pages but still allows http for any URL with cfg=json.

0
Answered

Triennial Torah reading cycle

Adam Levy 9 years ago updated by Michael J. Radwin 8 years ago 7
Is there a way I can get the triennial torah reading cycle from the API?
Answer
Michael J. Radwin 9 years ago
Yes. It's live now.

Shabbat Shalom!