From df58eb7d5f2ad097d2a8ffd7268a8378f76045c7 Mon Sep 17 00:00:00 2001
From: "Michael J. Radwin"
Date: Thu, 28 Nov 2024 10:14:45 -0800
Subject: [PATCH] Add new Yizkor perpetual iCalendar feed
---
gen-static-ical.sh | 8 ++++++++
package.json | 10 +++++-----
views/ical.ejs | 15 +++++++++++++++
3 files changed, 28 insertions(+), 5 deletions(-)
diff --git a/gen-static-ical.sh b/gen-static-ical.sh
index 49d6d4b4..1c3b3108 100755
--- a/gen-static-ical.sh
+++ b/gen-static-ical.sh
@@ -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
diff --git a/package.json b/package.json
index f44fbc75..41780807 100644
--- a/package.json
+++ b/package.json
@@ -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",
@@ -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",
@@ -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",
diff --git a/views/ical.ejs b/views/ical.ejs
index 85b5580d..37c1efcf 100644
--- a/views/ical.ejs
+++ b/views/ical.ejs
@@ -132,6 +132,21 @@ application. Subscribers to these feeds receive perpetual updates.
years: 10,
parent: 'holidays',
}) -%>
+<%- await include('partials/ical-accordion-item.ejs', {
+ name: 'Yizkor', id: 'yikzor-diaspora',
+ emoji: 'π―οΈ',
+ summary: `Ashkenazi Jewish memorial prayer service for the dead recited in synagogue during four holidays yearly.
+Diaspora schedule.
+
+- Yom Kippur
+- Shmini Atzeret
+- Pesach: 8th day
+- Shavuot: 2nd day
+
`,
+ feedLength: 4,
+ years: 10,
+ parent: 'holidays',
+}) -%>
<%- await include('partials/ical-accordion-item.ejs', {
name: 'Yom Kippur Katan', id: 'yom-kippur-katan',
summary: `ΧΧΦΉΧ ΧΦΌΦ΄Χ€ΦΌΧΦΌΧ¨ Χ§ΦΈΧΦΈΧ is a minor day of atonement occurring monthly on the day preceding each Rosh Chodesh.