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 Libro di Daniele 7,9-10.13-14.
Io continuavo a guardare, quand'ecco furono collocati troni e un vegliardo si assise. La sua veste era candida come la neve e i capelli del suo capo erano candidi come la lana; il suo trono era come vampe di fuoco con le ruote come fuoco ardente.Un fiume di fuoco scendeva dinanzi a lui, mille migliaia lo servivano e diecimila miriadi lo assistevano. La corte sedette e i libri furono aperti.
Guardando ancora nelle visioni notturne, ecco apparire, sulle nubi del cielo, uno, simile ad un figlio di uomo; giunse fino al vegliardo e fu presentato a lui,
che gli diede potere, gloria e regno; tutti i popoli, nazioni e lingue lo servivano; il suo potere è un potere eterno, che non tramonta mai, e il suo regno è tale che non sarà mai distrutto.
Copyright @ Conferenza Episcopale Italiana [2003 11 05]
Per ricevere il Vangelo ogni mattina per e-mail, iscrivetevi : vangelodelgiorno.org
SALMO Salmi 138(137),1-2a.2bc-3.4-5.
Ti rendo grazie, Signore, con tutto il cuore:hai ascoltato le parole della mia bocca.
A te voglio cantare davanti agli angeli,
mi prostro verso il tuo tempio santo.
Rendo grazie al tuo nome
per la tua fedeltà e la tua misericordia.
Nel giorno in cui t'ho invocato, mi hai risposto,
hai accresciuto in me la forza.
Ti loderanno, Signore, tutti i re della terra
quando udranno le parole della tua bocca.
Canteranno le vie del Signore,
perché grande è la gloria del Signore.
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 Giovanni 1,47-51.
In quel tempo, Gesù, visto Natanaèle che gli veniva incontro, disse di lui: «Ecco davvero un Israelita in cui non c'è falsità».Natanaèle gli domandò: «Come mi conosci?». Gli rispose Gesù: «Prima che Filippo ti chiamasse, io ti ho visto quando eri sotto il fico».
Gli replicò Natanaèle: «Rabbì, tu sei il Figlio di Dio, tu sei il re d'Israele!».
Gli rispose Gesù: «Perché ti ho detto che ti avevo visto sotto il fico, credi? Vedrai cose maggiori di queste!».
Poi gli disse: «In verità, in verità vi dico: vedrete il cielo aperto e gli angeli di Dio salire e scendere sul Figlio dell'uomo».
Copyright @ Conferenza Episcopale Italiana [2003 11 05]
Per ricevere il Vangelo ogni mattina per e-mail, iscrivetevi : vangelodelgiorno.org
Commento al Vangelo
Forse che, col pretesto che sono incapace di bere tutto il fiume, mi priverò di prenderne modestamente ciò che mi serve? E che, col pretesto che i miei occhi per costituzione m'impediscono di abbracciare il sole intero, non lo guardo più almeno per quanto mi obbliga a ciò la necessità, o ancora, col pretesto che non posso mangiare tutti i frutti di un frutteto in cui sono entrato, me ne esco con la fame? Lodo e glorifico colui che ci ha fatti, poiché un ordine divino l'ha prescritto: "Ogni vivente lodi il Signore" (Sal 145,10.21) (...)E allora come mai, si dirà, è scritto: "Gli angeli dei piccoli vedono sempre la faccia del Padre mio che è nei cieli" (Mt 18,10)? Gli angeli vedono Dio, non come egli è, ma - loro pure - secondo quanto possono comprenderlo. Poiché Gesù stesso dice: "Non che alcuno abbia visto il Padre, ma solo colui che viene da Dio ha visto il Padre" (Gv 6,46). Gli angeli quindi vedono Dio secondo la loro capacità, gli arcangeli come possono; i Troni e le Dominazioni meglio che le prime categorie, ma restano al di sotto della conoscenza adeguata all'oggetto. Può vedere come si conviene solo il Figlio e lo Spirito Santo. Infatti quest'ultimo "scruta ogni cosa, anche le profondità di Dio" (1 Co 2,10). Perciò, contemporaneamente l'unigenito Figlio e lo Spirito Santo conoscono il Padre adeguatamente, - poiché "nessuno conosce il Padre se non il Figlio e colui al quale il Figlio lo voglia rivelare" (Mt 11,27) -, il Figlio vede Dio e lo rivela con lo Spirito e per mezzo dello Spirito Santo ad ognuno secondo la sua capacità. (...)
Quindi, poiché gli angeli lo ignorano - l'abbiamo detto infatti, l'unigenito, a ciascuno secondo le sue possibilità, rivela con lo Spirito e per lo Spirito Santo -, nessuno arrossisca di confessare la propria ignoranza.
vangelodelgiorno.org