Skip to content

Commit

Permalink
Add new Yizkor perpetual iCalendar feed
Browse files Browse the repository at this point in the history
  • Loading branch information
mjradwin committed Nov 28, 2024
1 parent 1148408 commit df58eb7
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 5 deletions.
8 changes: 8 additions & 0 deletions gen-static-ical.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,14 @@ FILE="rambam1"
fetch_urls $FILE "start=${START}&end=${END5}&v=1&dr1=on&relcalid=13cb480b-a4a0-4667-8ec5-25819a2e37a1&lg=en&utm_source=ical&utm_medium=icalendar&utm_campaign=ical-${FILE}&publishedTTL=PT14D&title=Daily+Rambam&caldesc=Daily+study+of+Maimonides+Mishneh+Torah+legal+code"
compress_file $FILE

FILE="yizkor-diaspora"
fetch_urls $FILE "start=${START}&end=${END10}&v=1&yzkr=on&relcalid=64acac8c-a02f-4433-b7ef-f3a5e02d26cc&lg=en&utm_source=ical&utm_medium=icalendar&utm_campaign=ical-${FILE}&publishedTTL=PT14D&title=Yizkor+%28Diaspora%29&caldesc=Ashkenazi+Jewish+memorial+prayer+service+for+the+dead+recited+in+synagogue+during+four+holidays+yearly"
compress_file $FILE

FILE="yizkor-il"
fetch_urls $FILE "start=${START}&end=${END10}&v=1&yzkr=on&i=on&lg=h&relcalid=21eadc10-9fa6-402c-ac6f-c94d1ee7537e&lg=en&utm_source=ical&utm_medium=icalendar&utm_campaign=ical-${FILE}&publishedTTL=PT14D&title=Yizkor+%28Israel%29&caldesc=Ashkenazi+Jewish+memorial+prayer+service+for+the+dead+recited+in+synagogue+during+four+holidays+yearly"
compress_file $FILE

FILE="chofetz-chaim"
remove_file $FILE
node dist/chofetzChaim.js
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"bootstrap5-autocomplete": "^1.1.33",
"csv-parse": "^5.5.6",
"csv-parse": "^5.6.0",
"eslint": "^9.15.0",
"eslint-plugin-n": "^17.13.2",
"eslint-plugin-n": "^17.14.0",
"globals": "^15.12.0",
"rollup": "^4.27.3"
"rollup": "^4.27.4"
},
"dependencies": {
"@hebcal/core": "^5.8.2",
Expand All @@ -55,7 +55,7 @@
"@hebcal/locales": "^5.0.2",
"@hebcal/rest-api": "^6.0.2",
"@hebcal/triennial": "^6.0.1",
"better-sqlite3": "^11.5.0",
"better-sqlite3": "^11.6.0",
"dayjs": "^1.11.13",
"ejs": "^3.1.10",
"emoji-flag": "^1.1.0",
Expand All @@ -77,7 +77,7 @@
"koa-send": "^5.0.1",
"koa-static": "^5.0.0",
"koa-timeout-v2": "^1.0.0",
"maxmind": "^4.3.22",
"maxmind": "^4.3.23",
"murmurhash3": "^0.5.0",
"mysql2": "^3.11.4",
"nodemailer": "^6.9.16",
Expand Down
15 changes: 15 additions & 0 deletions views/ical.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,21 @@ application. Subscribers to these feeds receive perpetual updates.</p>
years: 10,
parent: 'holidays',
}) -%>
<%- await include('partials/ical-accordion-item.ejs', {
name: 'Yizkor', id: 'yikzor-diaspora',
emoji: '🕯️',
summary: `<p>Ashkenazi Jewish memorial prayer service for the dead recited in synagogue during four holidays yearly.
Diaspora schedule.</p>
<ul>
<li>Yom Kippur</li>
<li>Shmini Atzeret</li>
<li>Pesach: 8th day</li>
<li>Shavuot: 2nd day</li>
</ul>`,
feedLength: 4,
years: 10,
parent: 'holidays',
}) -%>
<%- await include('partials/ical-accordion-item.ejs', {
name: 'Yom Kippur Katan', id: 'yom-kippur-katan',
summary: `<p><span lang="he" dir="rtl">יוֹם כִּפּוּר קָטָן</span> is a minor day of atonement occurring monthly on the day preceding each Rosh Chodesh.</p>
Expand Down

0 comments on commit df58eb7

Please sign in to comment.