Blog
Adding Shabbat Times and the Parasha to Your Synagogue Website
Free widgets, calendar feeds and getting candle-lighting times right for your city.
A congregant writes to the synagogue office on a Friday morning in March: the website says candles at 5:42, but her phone app says 6:41. The clocks changed last weekend, and the website's times were typed in by hand in January. It is a small mistake with real consequences: a family that follows the website lights an hour early, and a family that trusts it on Saturday night makes Havdalah before Shabbat is over. Getting the times right automatically is one of the easiest improvements a synagogue can make to its website.
This guide is for rabbis, cantors, administrators and volunteer webmasters. It explains the free tools available, including widgets and calendar feeds, how candle-lighting customs differ between cities, the different opinions on when Shabbat ends, how to credit the data, and how to test before you publish. In Hebrew, candle lighting is hadlakat nerot (הדלקת נרות), and every congregation wants its members to know the time.
What members want to see
Most synagogue websites benefit from a small box on the home page with:
- This Friday's candle-lighting time for your city.
- Havdalah time on Saturday night.
- This week's Torah portion, with a link to a summary or the text.
- Upcoming holidays and fast days, with their times.
- Special Shabbatot, such as Shabbat Shuva or Shabbat HaGadol, and the coming new month.
Many congregations also want a full calendar that members can add to their phones, and a printable schedule for the bulletin.
Widgets
The simplest solution is a widget: a small piece of code, usually one or two lines, that you paste into your website and that shows the current times automatically. This site offers free widgets for Shabbat times, the weekly portion and the Jewish calendar. You choose your city and options, copy the code, and paste it into your website's editor. The widget updates every week by itself.
Other free services offer similar widgets. Whichever you use, check:
- That it uses your exact city or coordinates, not a nearby big city.
- That you can set your community's candle-lighting custom (see below).
- That it shows both Diaspora and Israel readings correctly for your location; in some weeks the Torah portion in Israel differs from the one read abroad.
- That it fits your website's design and works on phones.
Calendar feeds
A calendar feed lets members subscribe to the Jewish calendar in Google Calendar, Apple Calendar or Outlook, so that candle-lighting times and holidays appear on their phones next to their other appointments. Feeds use a standard format called iCalendar. Our calendar feeds page explains how to create one for your city, and our calendar shows the year at a glance.
A congregation can also publish its own feed of services and events. Many synagogue management systems produce one; combining it with a Shabbat-times feed gives members everything in one place.
Candle lighting: city customs
The standard custom in many communities is to light candles eighteen minutes before sunset on Friday. But communities have their own customs, and members expect the synagogue to follow its own:
- Jerusalem: many follow the custom of lighting forty minutes before sunset.
- Haifa and some other Israeli communities: thirty minutes before sunset.
- Some diaspora communities light twenty minutes or more before sunset, by long local custom.
- Individual congregations sometimes set their own time, especially in summer, when many hold an early Shabbat with services and candles before sunset.
Ask your rabbi what your community's custom is, and set the widget accordingly. Our Shabbat times pages show the times for many cities with their local customs, and zmanim shows the full set of daily times.
When Shabbat ends: the havdalah opinions
Shabbat ends when three small stars are visible, and authorities have defined that moment in different ways. Common options in calendars include:
- When the sun is 8.5 degrees below the horizon, often around 40 to 50 minutes after sunset in mid-latitudes, followed in many communities.
- A fixed number of minutes after sunset, such as 42 or 50 minutes.
- 72 minutes after sunset, following the opinion of Rabbeinu Tam, kept by many Hasidic and some other communities.
Reform and some other congregations may list Havdalah at a time they choose for community programs. Whatever your community's practice, say which opinion you follow on the website, so that members are not confused when their apps differ. Again, ask your rabbi.
Special cases to test
Before you publish, test the widget or feed for unusual weeks:
- Daylight saving time changes, in spring and autumn.
- Festivals that begin on Friday or end on Saturday night, when candle lighting for the second day of a festival comes after nightfall, not before sunset.
- Fast days, such as Yom Kippur and Tisha B'Av, with their beginning and ending times.
- High latitudes: in northern cities in summer, the sun may barely set, and some times cannot be calculated in the usual way. Communities in Scandinavia, Scotland and Canada have special customs; ask your rabbi.
- The Torah portion in weeks when Israel and the Diaspora read different portions, after a festival day that falls on Shabbat.
Check the times against a printed calendar from a trusted source for a few dates across the year.
Accessibility and print
Remember the members who will not use the website. Many older members still rely on a printed calendar or the weekly bulletin, so print the times for the month ahead, in a large clear font. Post them on the notice board in the lobby. Make sure the website widget can be read by screen readers and enlarged on a phone, with enough contrast for people with weak eyesight. And when you send a printed annual calendar, add a note that times are calculated for your city and may differ slightly from those of a neighboring town.
Credit and data
Much of the Jewish calendar data on the web, including the data behind many widgets, comes from open sources. If you use them directly, follow their licence. For example, Hebcal's calendar data and code are offered under open licences that require credit; a short line such as "Times courtesy of Hebcal.com" meets that requirement. This site credits every data source it uses on our sources page.
Beyond the times
A synagogue website that shows the week's portion can link to a summary, the text and a short teaching by the rabbi. Our weekly portion pages include the readings and haftarot. A Friday email that repeats the candle-lighting time, the portion, the service schedule and a short word of Torah is one of the best-read messages a congregation sends.
Small details like these say something about a community: that it cares about getting Shabbat right, and that it wants every member, including those just beginning, to light candles on time. For more ideas for your congregation, see our clergy desk and the glossary entry havdalah.
Sources
- Shulchan Aruch, Orach Chaim 261 and 263, on the beginning of Shabbat and candle lighting, and 293 on its end.
- Mishnah Berurah 261, on the times of nightfall.
- Hebcal.com, documentation of its calendar data, candle-lighting options and licences.
- RFC 5545, the iCalendar standard.