-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Liturgy of the Hours and Weeks of the Psalter #44
Comments
Padre Cedano I'm glad you are taking this project into consideration! I'm glad to be of service. |
Thanks for answering. I still don't know how to incorporate the perpetual calendar into the application. I can think of two possibilities:
The interesting thing about the second possibility is that it would allow me to decide all complex situations dynamically. To give an example: in the Liturgy of the hours, depending on the type of celebration, the psalms are taken from Sunday I, or from Common, or from the current week of the Psalter, and according to the time, festivity, etc the norms change ... for example, in some celebrations the Complementary Psalmody for the Middle Hour is used. Complex situations also occur with regard to the Readings of Mass, to the liturgical forms to be used (Preface, etc.). And the same with those celebrations that have first vespers, vigil mass, etc. My idea is that the application is capable of determining all content is needed for one given date and putting together an SQL query that obtains all the elements of the liturgy of that day based on the rules that apply for that day. All the content of the liturgy is organized in tables: Psalms, Antiphons, Hymns, Mass Readings, etc. and the idea is to have a kind of Query Builder that will obtain the index of each element applying the liturgical norms. It's not an easy task, but the code in this project is very inspiring and paves the way for what I want to achieve quite a bit. |
The only limit to using the application logic from Another thing to consider is that the application logic in As regards getting the celebration for a single day or for the current day, it should be easy enough by searching and filtering by date. Take for example Of course creating a Date object in Java will be slightly different than creating a Date object in PHP. In any case, I believe that the best solution for you would be to gather the JSON data from the API endpoint and cache it locally. For example, the App can work in offline mode but requires internet access the first time data is requested for a given year, that way the app can cache the calendar locally. If the calendar for a given year is not cached locally, you can give a message explaining that internet access will be required just once to cache the data for that year. As regards having more data than you need in the JSON calendar data, I don't think that's a big problem: just use what you need, and don't use what you don't need. It could be a problem if there wasn't enough data. As for example, it is currently missing the data for the Liturgy of the Hours. I will look into that soon I hope... |
I also wonder, are you only wanting to use the Calendar data for the Universal calendar? or will you take into account a specific national calendar? For now, the data for national calendars is hard-coded into If you have data for a national calendar that you would like to add to this project, let me know and we can work on it together. For example, if you have a Spanish Missal on hand, we can compare the Sanctorale from the Missal with that of the Universal calendar and implement any differences into |
I am starting to implement a So far I have, for the weeks of ordinary time, and the weeks of Advent, Lent and Easter: Psalter Week = Week of (Ordinary Time / Advent / Lent / Easter) modulus 4 (and 0 == 4). I don't have a paper breviary on hand right now seeing I am traveling, would you be able to tell me whether the Week of the Psalter is needed for any other liturgical days / celebrations? |
I have added an indication of the Psalter Week to the fullcalendar example, let me know if it is missing in places where it is needed: https://johnromanodorazio.com/LiturgicalCalendar-staging/examples/fullcalendar/examples/month-view.html |
I'm not seeing the Psalter on the fullcalendar view. Was it removed, or am I just looking in the wrong place on the site linked in the previous comment? |
Oh my you're right. I'll have to look into that. I'm having a harder time working on these projects ever since, in my office, they have blocked access to any outside servers via SSH. I'm currently making another request to get my server unblocked, here's to hoping the request will be successful... |
Thanks for this wonderful job. I am moving my application Liturgia+ to offline mode and would like to include a precalculated annual calendar taken from your API. But since the application incorporates the Liturgy of the Hours, I want to know if you plan to include the week of the psalter for each day.
One of the most delicate points for an application to work with a perpetual calendar is the part of the liturgy of the hours, especially the rules to decide the psalms, antiphons, office readings in two cycles (biennial) etc. Do you have something projected on this?
The text was updated successfully, but these errors were encountered: