Lectionary for Pleroma: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== | == The next ten years == | ||
<p> </p> | |||
<html> <!-- 163 lines of code figured out between November 10th and 12th. I learned a lot! --> | |||
<div id="SundayTable" style="margin-left:4em"></div> | |||
<div id="DebugDiv"></div> | |||
<script type="text/javascript"> | |||
//---------------------------------------------------------- | |||
// | |||
// Global variables | |||
// | |||
// | |||
// 11 elements in each row. | |||
// | |||
// First pattern to add to table: PleromaPattern[7] -- Eucharist Prayers | |||
// Second pattern to add: PleromaPattern[8] -- headings | |||
const FixedPattern = [ | |||
["9 Oct","16 Oct","23 Oct","30 Oct", "6 Nov","13 Nov","20 Nov","Sunday" ], | |||
["15 Oct","22 Oct","29 Oct", "5 Nov","12 Nov","19 Nov","26 Nov","Monday" ], | |||
["14 Oct","21 Oct","28 Oct", "4 Nov","11 Nov","18 Nov","25 Nov","Tuesday" ], | |||
["13 Oct","20 Oct","27 Oct", "3 Nov","10 Nov","17 Nov","24 Nov","Wednesday"], | |||
["12 Oct","19 Oct","26 Oct", "2 Nov", "9 Nov","16 Nov","23 Nov","Thursday" ], | |||
["11 Oct","18 Oct","25 Oct", "1 Nov", "8 Nov","15 Nov","22 Nov","Friday" ], | |||
["10 Oct","17 Oct","24 Oct","31 Oct", "7 Nov","14 Nov","21 Nov","Saturday" ] | |||
] | |||
const Headings = [ | |||
[" "," ","P1 – III" , "P2 – IV" , "P3 – I" , "P4 – II", "P5 – III", "P6 – IV", "EP I" ," "], | |||
["year","cycle","Week 28","Week 29","Week 39","Week 31","Week 32","Week 33","Christ the King", "Christmas Day"] | |||
]; | |||
const DerivedArray = []; | |||
var TodayDate = new Date(); | |||
var ThisYear = TodayDate.getFullYear(); | |||
var DbgDv = document.getElementById("DebugDiv"); | |||
var SundayTable = document.getElementById("SundayTable"); | |||
// create elements <table> and a <tbody> | |||
var tbl = document.createElement("table"); | |||
var tblBody = document.createElement("tbody"); | |||
//------------------------------------------------ | |||
function DebugLine(msg){ | |||
var tmpstr = DbgDv.innerHTML + "<br>" + msg; | |||
DbgDv.innerHTML = tmpstr; | |||
} | |||
//------------------------------------------- | |||
function CompletePatternFor(aYear){ | |||
var Scaffold = []; | |||
var XmasStr = "December 25, "+aYear; | |||
const XmasInYear = new Date(XmasStr); | |||
var DoWx = XmasInYear.getDay(); | |||
// copy pattern from fixed array to derived array | |||
Scaffold.push(aYear.toString()); | |||
const cycle = ["A","B","C"]; | |||
// year A = 2023 | |||
firstremainder = aYear % 2023; | |||
ABCindex = firstremainder % 3; | |||
Scaffold.push(cycle[ABCindex]); | |||
for (var j = 0; j<=7; j++) { | |||
Scaffold.push(FixedPattern[DoWx][j]); | |||
} | |||
// console.log(Scaffold); | |||
DerivedArray.push(Scaffold); | |||
// console.log(DerivedArray); | |||
} | |||
//------------------------------------------- | |||
function MakeHeadings() { | |||
for (var j = 0; j <= 1; j++) { | |||
var row = document.createElement("tr"); | |||
for (var k = 0; k <= 9; k++) { | |||
var cell = document.createElement("td"); | |||
var cellText = document.createTextNode("\u00A0" + Headings[j][k] + "\u00A0"); | |||
cell.appendChild(cellText); | |||
cell.setAttribute("style", "padding:2.8px 5.6px;"); | |||
if (k <= 1) { | |||
cell.setAttribute("style", "background:#a2d2ff"); | |||
} | |||
if (1 < k) { | |||
if (k <= 7) { | |||
cell.setAttribute("style", "background:#b6e2d3"); | |||
} | |||
} | |||
if (k == 8) { | |||
cell.setAttribute("style", "background:#ffee93"); | |||
} | |||
if (k == 9) { | |||
cell.setAttribute("style", "background:#ea9ab2"); | |||
} | |||
row.appendChild(cell); | |||
row.setAttribute("align","center"); | |||
row.setAttribute("style","font-weight:bold; background:#EAECF0;"); | |||
} | |||
tblBody.appendChild(row); | |||
} | |||
} | |||
//------------------------------------------- | |||
function AddDataRows(){ | |||
for (var j = 0; j <= 9; j++) { | |||
var row = document.createElement("tr"); | |||
for (var k = 0; k <= 9; k++) { | |||
var cell = document.createElement("td"); | |||
var cellText = document.createTextNode(DerivedArray[j][k]); | |||
cell.appendChild(cellText); | |||
cell.setAttribute("style", "padding:2.8px 5.6px;"); | |||
if (1 < k) { | |||
if (k <= 7) { | |||
cell.setAttribute("style", "background:#c6e2e9"); | |||
} | |||
} | |||
if (k <= 1) { | |||
cell.setAttribute("style", "background:#bde0fe"); | |||
} | |||
if (k == 8) { | |||
cell.setAttribute("style", "background:#fffacd"); | |||
} | |||
if (k == 9) { | |||
cell.setAttribute("style", "background:#eac4d5"); | |||
} | |||
row.appendChild(cell); | |||
} | |||
row.setAttribute("align","center"); | |||
row.setAttribute("style","background:#F8F9FA"); | |||
tblBody.appendChild(row); | |||
} | |||
// console.log(row); | |||
} | |||
//------------------------------------------- | |||
function CreateSundayTable() { | |||
MakeHeadings(); | |||
AddDataRows(); | |||
// append the <tbody> inside the <table> | |||
tbl.appendChild(tblBody); | |||
// put <table> in the <body> | |||
SundayTable.appendChild(tbl); | |||
tbl.setAttribute("border", "1"); | |||
tbl.setAttribute("style", "padding:5px; border-collapse:collapse; border-spacing:0px; border-width:1px") | |||
} | |||
//------------------------- Main script ----------------------------------- | |||
// | |||
// Calculate three vital pieces of information: year, cycle, Xmas DoW | |||
// | |||
// | |||
for (var x = 0; x <= 9; x++){ | |||
var SetYear = ThisYear + x; | |||
CompletePatternFor(SetYear); | |||
} | |||
CreateSundayTable(); | |||
// | |||
</script> | |||
</html> | |||
=== Year A === | === Year A === |
Revision as of 19:49, 12 November 2024
The next ten years
Year A
Twenty-Eighth Sunday in Ordinary Time A
Isa 25:6-10a | He will destroy death forever. |
Ps 23:1-3a, 3b-4, 5, 6 | Indeed, goodness and mercy will pursue me |
Phil 4:10-14, 19-20 | My God will fully supply whatever you need, in accord with his glorious riches in Christ Jesus. |
Matt 22:1-14 or 22:1-10 | "Then the king said to his attendants, |
Twenty Ninth Sunday in Ordinary Time A
Isa 45:1, 4-6 |
Thus says the LORD to his anointed, Cyrus, |
Ps 96:1+3, 4-5, 7-8, 9+10ac |
Say among the nations: The LORD is king, |
1 Thess 1:1-5b |
Grace to you and peace. |
Matt 22:15-21 |
Give to Caesar what belongs to Caesar |
Thirtieth Sunday in Ordinary Time A
Exod 22:21-27 |
If he cries out to me, I will hear him; for I am compassionate. |
[Ps 18:1-2, 3+6b, 46+50ab] |
R. I love you, Lord, my strength. |
[ Thess 1:5c-10] |
[You] await his Son from heaven, |
[Matt 22:34-40] |
You shall love the Lord, your God,
|
Thirty-First Sunday in Ordinary Time A
Mal 1:14b-2:2b, 8-10 |
A great King am I, says the LORD of hosts, |
Ps 131:1, 2, 3 |
R. In you, Lord, I have found my peace. |
1 Thess 2:7b-9, 13 |
We were gentle among you, as a nursing mother cares for her children. [...] |
Matt 23:1-12 |
You have but one teacher, and you are all [brothers and sisters to each other]. |
Thirty-Second Sunday in Ordinary Time A
Wis 6:12-16 |
For taking thought of wisdom is the perfection of prudence, |
Ps 63:1, 2-3, 4-5, 6-7 |
R. My soul is thirsting for you, O Lord my God. |
1 Thess 4:13-18 or 4:13-14 |
Indeed, we tell you this, on the word of the Lord, |
Matt 25:1-13 |
Therefore, stay awake, |
Thirty-Third Sunday in Ordinary Time A
Prov 31:10-13, 16-18, 20, 26, 28-31 ++ |
When one finds a worthy wife, |
Ps 128:1-2, 3, 4-5 |
R. Blessed are those who fear the Lord. |
1 Thess 5:1-6 |
Concerning times and seasons, brothers and sisters, |
Jn 15:4a, 5b |
Remain in me as I remain in you, says the Lord. |
Matt 24:36; 25:14-30 ++ |
Since you were faithful in small matters, |
Solemnity of Christ, the King -- A
Solemnity of Christ, the King -- A
Ezek 34:11-12, 15-17 |
I myself will look after and tend my sheep. |
Ps 23: 1-3a, 3b-4, 5, 6 |
R. The Lord is my shepherd; there is nothing I shall want. |
1 Cor 15:20-26, 28 |
For just as in Adam all die, |
Mark 11:9-10 |
Blessed is he who comes in the name of the Lord! |
Matt 25:31-46 |
'Amen, I say to you, whatever you did |
Year B
28th Sunday in Ordinary Time B III
[Wis 7:7-11] |
|
[Ps 90:12-13, 14-15, 16-17] |
|
[Heb 4:12-13] |
|
[Mark 10:17-30 or 10:17-27] |
|
Twenty Ninth Sunday in Ordinary Time -- B IV
[Isa 53:4, 10-11 ++] |
|
[Ps 33:4-5, 18-19, 20+22] |
|
[Heb 4:14-16] |
|
[Mark 10:35-45 or 10:42-45] |
|
Thirtieth Sunday in Ordinary Time -- B I
[Jer 31:7-9] |
Shout with joy for Jacob, |
[Ps 126:1-2a, 2b-3, 4-5, 6] |
The Lord has done great things for us; we are filled with joy. |
[Heb 5:1-6] |
Every high priest is taken from among men |
[Mark 10:46b-52] |
Bartimeus Jesus said to him in reply, "What do you want me to do for you?" |
Thirty-First Sunday in Ordinary Time -- B II
Deut 6:2-6 |
Hear then, Israel, and be careful to observe [all his statutes and commandment], |
Ps 18:1-2, 3+6b, 46+50ab |
R. I love you, Lord, my strength. |
Heb 7:23-28 |
Jesus, because he remains forever, |
Mark 12:28-34 |
When Jesus saw that he answered with understanding, |
Thirty-Second Sunday in Ordinary Time -- B III
1 Kgs 17:10-16 |
the jar of flour did not go empty, |
Ps 146: 6c-7, 8-9a, 9b-10 |
The LORD shall reign forever; |
Heb 9:24-28 |
But now once for all he has appeared at the end of the ages |
Mark 12:38-44 |
A poor widow also came and put in two small coins worth a few cents. |
Thirty-Third Sunday in Ordinary Time -- B IV
[Dan 12:1-3] |
|
[Ps 16:5+8, 9-10, 11] |
|
[Heb 10:11-14, 18] |
|
[Mark 13:24-32] |
|
Solemnity of Christ, the King -- B I
[Dan 7:13-14] |
|
[Ps 93:1ab, 1c-2, 5] |
|
[Rev 1:5-8] |
|
[John 18:33b-37] |
|
Year C
28th Sunday in Ordinary Time C
[2 Kgs 5:14-17] |
|
[Ps 98:1, 2-3ab, 3cd-4] |
|
[2 Tim 2:8-13] |
|
[Luke 17:11-19] |
|
Twenty Ninth Sunday in Ordinary Time -- C
[Exod 17:8-13] |
|
[Ps 121:1-2, 3-4, 5-6, 7-8] |
|
[2 Tim 3:14-4:2] |
|
[Luke 18:1-8] |
|
Thirtieth Sunday in Ordinary Time -- C
[Sir 35:15-17, 20-22] |
|
[Ps 34:1-2, 16-17, 18+22] |
|
[2 Tim 4:6-8, 16-18] |
|
[Luke 18:9-14] |
|
Thirty-First Sunday in Ordinary Time -- C
[Wis 11:22-12:1] |
|
[Ps 145:1-2, 8-9, 10-11, 13cd-14] |
|
[2 Thess 1:11-2:2] |
|
[Luke 19:1-10] |
|
Thirty-Second Sunday in Ordinary Time -- C
[2 Macc 7:1-2, 9-14 ++] |
|
[Ps 17:1, 5-6, 8+15] |
|
[2 Thess 2:16-3:5] |
|
[Luke 20:27-38 or 20:27, 34-38] |
|
Thirty-Third Sunday in Ordinary Time -- C
[Mal 3:19-20a] |
|
[Ps 98:5-6, 7-8, 9] |
|
[2 Thess 3:7-12] |
|
[Luke 21:5-19] |
|
Solemnity of Christ, the King -- C
[2 Sam 5:1-3] | David, a shepherd, anointed as King of Israel |
Ps 122:1-2, 3-4a, 4b-5, 6-7, 8-9 | Let us go rejoicing to the house of the Lord |
[Col 1:12-20] | "All things were created through him and for him."
"For in him all the fullness was pleased to dwell." |
[Luke 23:35-43] | "This is the King of the Jews."
"Jesus, remember me when you come into Your kingdom." |