Shabbat and holidays parasha list in combobox
Hello,
I am using PHP and I need to display the list of shabbat parasha with the holidays of an entire hebrew year in a combobox. can anyone help me find the right code for that
Answer
That b"h I understand that using the API I can get all what I need. the question is how do I use it in PHP. I need an example or sample code that uses the API in PHP.
Thanks for the clarification. You can definitely use this API to get exactly what you want. Just specify nx=off&nh=off&s=on
Tnx you for your answer. but the XML will not help me. I need the relevant parsha list for a specific year. for example. in case the user choose 5779 then I need to know the list of parshas for a leap year or not leap year. is it is inside israel or diaspora etc.
You can get a list of holiday names here:
https://raw.githubusercontent.com/hebcal/dotcom/master/hebcal.com/dist/festival.xml
And you'll find a list of parasha names here:
https://raw.githubusercontent.com/hebcal/dotcom/master/hebcal.com/dist/aliyah.xml
Customer support service by UserEcho
Thanks for the clarification. You can definitely use this API to get exactly what you want. Just specify nx=off&nh=off&s=on
https://www.hebcal.com/home/195/jewish-calendar-rest-api