Liturgia del giorno
Reader Evangelizo
Error : wrong param « content »
NAME
« Reader Evangelizo »
SYNOPSIS
http://feed.evangelizo.org/v2/reader.php [params...]RETURN VALUE
The « Reader Evangelizo » script return a string with the content requested by "type" parameterThe returned string will be encoded as following :
- UTF-8: for any param "lang"
DESCRIPTION
This manual page documents the « Reader Feed v2.0 » for EVANGELIZO.ORG.With the « Reader Evangelizo » you can get all texts provided by evangelizo.org web service. The « Reader Evangelizo » will help you to display daily reading in your website, or saint of the day .. etc
The « Reader Evangelizo » is used as any PHP file on a website, with params like : file.php?param1=1¶m2=2
PARAMETERS
Usage : http://feed.evangelizo.org/v2/reader.php?param1=«value1»¶m2=«value2»br />| date |
Must be formatted like YYYYMMDD. Can not exceed 30 days from today. |
| type |
Inform about what you want to get - « saint » : to get the saint of the day (with link to life) - « feast » : to get the feast of the day, if there is one (with link to explanation) - « liturgic_t » : to get the liturgic title - « reading_lt » : to get the long title of the reading - « reading_st » : to get the short title of the reading - « reading » : to get the text of the reading - « audio » : to get the URL of audio file if exist - « all » : to get all the readings of the day - « comment_t » : to get the title of the commentary - « comment_a » : to get the author of the commentary - « comment_s » : to get the source of the commentary - « comment » : to get the text of the commentary - « xml » : to get all infos of the day in XML format |
| lang |
Tells the language to display and the liturgical calendar to use for Roman Ordinary Calendar : - « AM » : for american-us language and Roman Ordinary Calendar - « AR » : for arabic language and Roman Ordinary Calendar - « DE » : for german language and Roman Ordinary Calendar - « FR » : for french language and Roman Ordinary Calendar - « GR » : for greek (hellenic) language and Roman Ordinary Calendar - « IT » : for italian language and Roman Ordinary Calendar - « MG » : for malagasy language and Roman Ordinary Calendar - « NL » : for dutch language and Roman Ordinary Calendar - « PL » : for polish language and Roman Ordinary Calendar - « PT » : for portuges language and Roman Ordinary Calendar - « SP » : for spanish language and Roman Ordinary Calendar for other catholics calendars forms : - « ARM » : for armenian language and armenian calendar - « BYA » : for arabic language and byzantine calendar - « COA » : for arabic language and copte calendar - « MAA » : for arabic language and maronite calendar - « SYA » : for arabic language and syriac calendar - « TRA » : for american-us language and Roman extraordinary calendar - « TRD » : for german language and Roman extraordinary calendar - « TRF » : for french language and Roman extraordinary calendar - « TRS » : for spanish language and Roman extraordinary calendar |
| content |
Tells the lecture you want to get for Roman calendar Ordinary form : - « FR » : for the first lecture - « PS » : for the psalm - « SR » : for the second lecture - « GSP » : for the gospel for other catholics calendars forms : - « EP » : for the epistle - « GSP » : for the gospel |
EXAMPLES
| type | date | lang | content | url example | ||
| To get the saint of a day | saint | yyyymmdd | Ordinary forms AM, AR, DE, FR, GR, IT, NL, PL, PT, SP Other forms ARM, BYA, MAA, TRF, TRA |
Ordinary forms FR,PS,SR,GSP Other forms EP,GSP |
http://feed.evangelizo.org/v2/reader.php?date=20190427&type=saint&lang=IT | |
| To get the feast of a day | feast | http://feed.evangelizo.org/v2/reader.php?date=20190427&type=feast&lang=AM | ||||
| To get the liturgic title of a day | all | liturgic_t | http://feed.evangelizo.org/v2/reader.php?date=20190427&type=liturgic_t&lang=FR | |||
| To get the long reading title of a day | reading_lt | http://feed.evangelizo.org/v2/reader.php?date=20190427&type=reading_lt&lang=SP&content=FR | ||||
| To get the short reading title of a day | reading_st | http://feed.evangelizo.org/v2/reader.php?date=20190427&type=reading_st&lang=TRF&content=EP | ||||
| To get the text of the reading of a day | reading | http://feed.evangelizo.org/v2/reader.php?date=20190427&type=reading&lang=DE&content=GSP | ||||
| To get the commentary title of a day | comment_t | http://feed.evangelizo.org/v2/reader.php?date=20190427&type=comment_t&lang=PT | ||||
| To get the commentary author of a day | comment_a | http://feed.evangelizo.org/v2/reader.php?date=20190427&type=comment_a&lang=FR | ||||
| To get the commentary source of a day | comment_s | http://feed.evangelizo.org/v2/reader.php?date=20190427&type=comment_s&lang=PL | ||||
| To get the commentary text of a day | comment | http://feed.evangelizo.org/v2/reader.php?date=20190427&type=comment&lang=MAA |
PHP example
$today = date('Ymd');
$url = "http://feed.evangelizo.org/v2/reader.php?date=$today&type=comment&lang=FR";
$h = fopen($url,"r");
while (!feof($h)) {
$str .= fgets($h);
}
print $str;
Javascript example 1
<html>
<head>
<title>Exemple d'affichage de fichier texte</title>
<script language="javascript" type="text/javascript">
function displayTextFile(filePath){
iframe = document.getElementsByName('textDisplay')[0];
iframe.src=filePath;
iframe.style.display="block";
}
</script>
</head>
<body>
<iframe id="textDisplay" name="textDisplay" src="" style="width: 400px; height: 240px; display: none;"></iframe>
<script>
var currentTime = new Date();
var month = currentTime.getMonth() + 1;
var day = currentTime.getDate();
var year = currentTime.getFullYear();
if (day < 10) day = '0'+day;
if (month < 10) month = '0'+month;
displayTextFile('http://feed.evangelizo.org/v2/reader.php?date='+year+month+day+'&type=reading&lang=FR&content=GSP');
</script>
</body>
</html>
PRIMA LETTURA Lettera di san Paolo apostolo agli Efesini 1,15-23.
Fratelli, avendo avuto notizia della vostra fede nel Signore Gesù e dell'amore che avete verso tutti i santi,non cesso di render grazie per voi, ricordandovi nelle mie preghiere,
perché il Dio del Signore nostro Gesù Cristo, il Padre della gloria, vi dia uno spirito di sapienza e di rivelazione per una più profonda conoscenza di lui.
Possa egli davvero illuminare gli occhi della vostra mente per farvi comprendere a quale speranza vi ha chiamati, quale tesoro di gloria racchiude la sua eredità fra i santi
e qual è la straordinaria grandezza della sua potenza verso di noi credenti secondo l'efficacia della sua forza
che egli manifestò in Cristo, quando lo risuscitò dai morti e lo fece sedere alla sua destra nei cieli,
al di sopra di ogni principato e autorità, di ogni potenza e dominazione e di ogni altro nome che si possa nominare non solo nel secolo presente ma anche in quello futuro.
Tutto infatti ha sottomesso ai suoi piedi e lo ha costituito su tutte le cose a capo della Chiesa,
la quale è il suo corpo, la pienezza di colui che si realizza interamente in tutte le cose.
Copyright @ Conferenza Episcopale Italiana [2003 11 05]
Per ricevere il Vangelo ogni mattina per e-mail, iscrivetevi : vangelodelgiorno.org
SALMO Salmi 8,2-3a.4-5.6-7.
O Signore, nostro Dio,quanto è grande il tuo nome su tutta la terra:
sopra i cieli si innalza la tua magnificenza.
Con la bocca dei bimbi e dei lattanti
hai proclamato la tua lode.
Se guardo il tuo cielo, opera delle tue dita,
la luna e le stelle che tu hai fissate,
Che cosa è l'uomo perché te ne ricordi
e il figlio dell'uomo perché te ne curi?
Eppure l'hai fatto poco meno degli angeli,
di gloria e di onore lo hai coronato:
gli hai dato potere sulle opere delle tue mani,
tutto hai posto sotto i suoi piedi.
Copyright @ Conferenza Episcopale Italiana [2003 11 05]
Per ricevere il Vangelo ogni mattina per e-mail, iscrivetevi : vangelodelgiorno.org
SECONDA LETTURA
Copyright @ Conferenza Episcopale Italiana [2003 11 05]
Per ricevere il Vangelo ogni mattina per e-mail, iscrivetevi : vangelodelgiorno.org
Dal Vangelo secondo Luca 12,8-12.
In quel tempo, Gesu disse ai suoi discepoli: "Chiunque mi riconoscerà davanti agli uomini, anche il Figlio dell'uomo lo riconoscerà davanti agli angeli di Dio;ma chi mi rinnegherà davanti agli uomini sarà rinnegato davanti agli angeli di Dio.
Chiunque parlerà contro il Figlio dell'uomo gli sarà perdonato, ma chi bestemmierà lo Spirito Santo non gli sarà perdonato.
Quando vi condurranno davanti alle sinagoghe, ai magistrati e alle autorità, non preoccupatevi come discolparvi o che cosa dire;
perché lo Spirito Santo vi insegnerà in quel momento ciò che bisogna dire".
Copyright @ Conferenza Episcopale Italiana [2003 11 05]
Per ricevere il Vangelo ogni mattina per e-mail, iscrivetevi : vangelodelgiorno.org
Commento al Vangelo
Armatevi di quella pazienza che opera meraviglie nei santi. (...) Riflettiamo, e vedremo che le nostre sofferenze in questa vita non sono proporzionate alla grandezza di quelle di Cristo, alla la gravità dei nostri peccati, all'orrore dei tormenti dell'inferno e alla ricompensa celeste. Anche i nostri Padri si rallegravano nei giorni di umiliazione e negli anni di prove che dava loro il Signore. (...) La pazienza è un diamante: con essa l'anima resiste ad ogni avversità; un rimedio: guarisce ogni ferita; uno scudo: protegge da ogni attacco. Nessuno mai potrà sconfiggerci se abbiamo cominciato a dar battaglia interiormente a noi stessi. (...)Nella costruzione di un edificio si lavora, si taglia e si scolpisce la pietra destinata a un posto importante. Così per noi: siamo spremuti in questo mondo al fine di entrare nel tempio celeste, dove non si sente più risuonare un colpo di martello. La gioia non può venire che dopo la tristezza resa necessaria per pagare le colpe passate, per la perfezione spirituale e per crescere la nostra gloria eterna. O fecondo lavoro. prezioso dolore, benedette lacrime che lo stesso Onnipotente asciughera dagli occhi degli eletti provati! Gesù ha detto che il Regno dei cieli appartiene particolarmente ai perseguitati per la giustizia (Mt 5,10).
vangelodelgiorno.org















