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

CORS error on accessing www.hebcal.com/yahrzeit

Mal Sokol 1 month ago updated by Michael J. Radwin 1 month ago 1

I am trying to implement the returnd of info using Yahrzeti + Anniversary REST API.   I am coding in Javascript in an HTML page so I have modified the code to use  a FETCH in an aynchronous funciion  with POST and other typical parameters.  Howver I encounter an CORS error for cross platform issues.   THe web page is embedded into a page available for inserted web pages on an application site so I have no control of the site or parts of the page outside the section I am adding.  The chorme defugger lists the following when it tries to do the fetch . 


A cross-origin resource sharing (CORS) request was blocked because of invalid or missing response headers of the request or the associated preflight request.  To fix this issue, ensure the response to the CORS request and/or the associated preflight request are not missing headers and use valid header values.  Note that if an opaque response is sufficient, the request's mode can be set to no-cors to fetch the resource with CORS disabled; that way CORS headers are not required but the response content is inaccessible (opaque).

1 request
Request Status Preflight Request (if problematic) Header Problem Invalid Value (if available)

yahrzeit blocked Access-Control-Allow-Origin Missing Header clude'

I am somewhat out of my league on this one.   I have successfully loaded the HebCal Yz form that returns an observatin date from values entered on the form.  Just dumped the code into a section of my blank HTML code section with the Hebcal HTML and it worked.  But inserting equivalent  JS to the CURL  calls does not.  Anyone who has implemented this type of API cal for JavaScxript on a web page please respond.

Answer
Michael J. Radwin 1 month ago

Thank you for using the Hebcal developer APIs. We apologize for the missing CORS header on our Yahrzeit + Anniversary web API. This was indeed a misconfiguration on our end.

This error is now fixed on our end. You should be able to access this API and your browser will receive the correct 

Access-Control-Allow-Origin header.

0
Completed

Building a calendar for approx 30 individuals

marsbonnie 1 month ago updated by Michael J. Radwin 1 month ago 1

We have a community minyan and want to build a database as described in the Header.

So I don't have to reinvent the wheel perhaps the methodology is available.

I want some sort of login protection and the capability for individuals to add and edit their dagtes

Answer
Michael J. Radwin 1 month ago

Hi, thanks for using Hebcal.

You are welcome to use the free Yahrzeit + Anniversary calendar located at https://www.hebcal.com/yahrzeit

This webiste was designed for individuals, not minyanim, so it's quite limited in its features and offers only a few options for customization. We definitely don't have all of the the features you described. For example, there is no login protection - only an "unlisted link" mechanism that permits anyone who has the link to edit the page. At this time, we don't have plans to add additional features like logins, nor do we have any capability to offer any further customization of the current product.

Feel free to use our existing tool as it is, or consider a commercial solution like ShulCloud for your minyan.

Shana Tova and G'mar Chatima Tova! 

0
Under review

fasting days are not included in the calendar

Jxxxxxxx 2 months ago updated by Michael J. Radwin 1 month ago 1

added the calendar to my outlook but the fasting days are not included

Image 322

0
Under review

Urgent suggestion

themantisgroup 2 months ago updated by Michael J. Radwin 2 months ago 1

I wanted to share the Oct 2024 calendar with my boss to show the Yom Tov dates. If you click on sukkot it says Yom Tov is like the sabbath and “work” is not permitted.  Please include that statement for when you click on EACH one of the Yom tovim.

0
Fixed

is 5785 a leap year? Vayakhel-Pekudei is both separate weeks and a double in the selections on the Torah tab

James Lund 2 months ago updated by Michael J. Radwin 2 months ago 3

I wanted to know if 5785 is a leap year. 

I tried checking the first double portion to see if it was doubled. It was on March 22. But, then if I select Vayakhel as in a leap year, it comes up on the 22 of March, and Pekudei comes up on the 29th. I can't figure out which is correct.

Answer
Michael J. Radwin 2 months ago

Thanks for the feedback. We see how this was confusing.

The page was giving the date and linking to the Vayakhel (single parsha) for 2025. We have corrected it so it now more clearly displays the following:

Parashat Vayakhel-Pekudei is the 22nd and 23rd weekly Torah portion in the annual Jewish cycle of Torah reading. Next read on14 Mar 2026 / 25 Adar 5786.

0
Fixed

Weekday diaspora 5785 spreadsheet inaccuracy

smgrossman68 2 months ago updated by Michael J. Radwin 2 months ago 1

The weekday diaspora 5785 spreadsheet inaccurately shows Breishit as the weekday reading for the week between Rosh Hashanah and Yom Kippur, when it should be Vezot Habracha. It is also unclear as a result of this what the Monday reading before Sukkot should be. Please fix this, our daily minyan depends on this amazing tool!

Answer
Michael J. Radwin 2 months ago

Thank you for using Hebcal and thanks for contacting us about this error in the weekday leyning spreadsheets.

Another user reported this error and we fixed the spreadsheets on Friday right before Shabbat. If you check again, you will see the following corrected readings, which concur with the conservative Luach Hashana 5785 published by Rabbi Miles Cohen

Date Parashah Weekday Aliyah Reading
7-Oct-24 Vezot Haberakhah 1 Deuteronomy 33:1-33:7
7-Oct-24 Vezot Haberakhah 2 Deuteronomy 33:8-33:12
7-Oct-24 Vezot Haberakhah 3 Deuteronomy 33:13-33:17
10-Oct-24 Vezot Haberakhah 1 Deuteronomy 33:1-33:7
10-Oct-24 Vezot Haberakhah 2 Deuteronomy 33:8-33:12
10-Oct-24 Vezot Haberakhah 3 Deuteronomy 33:13-33:17
14-Oct-24 Vezot Haberakhah 1 Deuteronomy 33:1-33:7
14-Oct-24 Vezot Haberakhah 2 Deuteronomy 33:8-33:12
14-Oct-24 Vezot Haberakhah 3 Deuteronomy 33:13-33:17


Image 316

Image 317

0
Answered

Year Parameter Default

norma 2 months ago updated by Michael J. Radwin 2 months ago 1

What is the default range of data of the API response for the Jewish Calendar API if I don't set the year parameter?

It used to pull for me the current Hebrew Year, and now I see it's pulling this coming Hebrew year (5785)

Image 313

Answer
Michael J. Radwin 2 months ago

If you set &yt=H (which it appears you are doing) but you don't want to specify a Hebrew year explicitly, you should consider using &year=now for the current Hebrew year.


If you don't specify year= (or start= and end=), I believe the API will default to the current Hebrew year from 1 Tishrei - 15 Av, and the following Hebrew year starting on the 16th of Av.

0
Fixed

Incorrect Rosh Hashanah Day 2 Haftorah Reading Reference

Brenda2 2 months ago updated by Michael J. Radwin 2 months ago 3

For the Rosh Hashanah Day 2 Haftorah Reading:


The reference is shown as Haftarah: Jeremiah 31:1-19 · 19 p’sukim

This is incorrect.  The correct reference is Jeremiah 31:2-20, which I have cross-referenced against Sefaria.org,  Etz Hayim, Lev Shalem, and other Machzorim.  

The Haftorah starts with Ko amar Adonai matza chein bamidbar 

and ends ...racheim arachamenu n'um Adonai.

This corresponds with Jeremiah 31:2-20.

Thank you for all you do!