This program has one purpose: to determine and write out the applicable liturgical day under the “traditional” Anglican and Episcopal calendar for the current day (for the server; the viewer might actually be in a different day.) By “traditional” we mean as enumerated in the 1662 (Church of England) and 1928 (Protestant Episcopal Church) prayer books. Both of these prayer books can be downloaded from this website, as can the one used in The Island Chronicles. An example of the use of this script can be seen at the right.
The program can return up to three results:
- The specific Sunday in the church year, which is repeated during the following week unless a major event intervenes (such as Christmas, Epiphany, Ash Wednesday, Ascension Day, etc.)
- The saint’s feast or other holy day, such as Holy Innocents, All Saints, etc. We have restricted these days to those days which have collects, epistles and gospels for the Holy Communion.
- Whether a day is a Rogation or Ember Day.
It also returns the date.
We have opted to present these without any rules of precedence, as these vary between the prayer books listed above.
You can include this script either directly into the web page or as an include, which is the way it’s done at its home site. This copy of the script displays the result in “h3” format, which can be modified by changing the tags at the start and end of the script.
A step-by-step procedure for this is as follows:
- Extract the archive.
- Make sure your web hosting service or location has php installed and working.
- Upload the file ‘calendar.php’ to the location of your choice on your website.
- To place the calendar on a web page, use a php include. The syntax should look something like this: <?php include ‘<Substitute URL of calendar.php as you have uploaded it here>’; ?>
It’s also possible to directly copy and paste the source code of calendar.php into a web page.
Suggestions and error notices can be sent to me at our contact page. If you modify and/or redistribute this code, we ask that attribution to the original code and author be maintained. Additional terms and conditions are detailed with the software.