Skip to content

Liturgical-Calendar/examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeFactor

Collection of examples for usage of the Liturgical Calendar API

A few examples of how to render a calendar, create an App, or create a widget, using the data from the Liturgical Calendar API and using different programming languages and web frameworks.

An example of making an AJAX request against the Liturgical Calendar API, and then rendering the results using Fullcalendar.

Translation of the Fullcalendar example

The Fullcalendar example uses JSON files for all translatable strings. Translation status

A simple rendering of a calendar with Liturgical events from the Liturgical Calendar API, using Javascript both to make an AJAX request and to render the HTML of the calendar.

Translation of the Javascript example

The Javascript example uses i18next.js for all translatable strings. Translation status

A simple rendering of a calendar with Liturgical events from the Liturgical Calendar API, using PHP both to make a cURL request and to render the HTML of the calendar.

Translation of the PHP example

The PHP example uses gettext to handle translatable strings. Many of the strings are in common with the API and the Frontend, which makes translation fairly easy through the translation tool (Weblate).

Translation status

Adding examples

Would you like to contribute an example to this repository? Feel free to do so! We would be pleased to showcase yet another way of using / rendering data from the Liturgical Calendar API. Feel free to fork this repo, hack away, and open a Pull Request.