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 Secondo libro di Samuele 7,4-5a.12-14a.16.
In quei giorni, la parola del Signore fu rivolta a Natan:«Và e riferisci al mio servo Davide: Dice il Signore: Forse tu mi costruirai una casa, perché io vi abiti?
Quando i tuoi giorni saranno compiuti e tu giacerai con i tuoi padri, io assicurerò dopo di te la discendenza uscita dalle tue viscere, e renderò stabile il suo regno.
Egli edificherà una casa al mio nome e io renderò stabile per sempre il trono del suo regno.
Io gli sarò padre ed egli mi sarà figlio.
La tua casa e il tuo regno saranno saldi per sempre davanti a me e il tuo trono sarà reso stabile per sempre».
Copyright @ Conferenza Episcopale Italiana [2003 11 05]
Per ricevere il Vangelo ogni mattina per e-mail, iscrivetevi : vangelodelgiorno.org
SALMO Salmi 89(88),2-3.4-5.27.29.
Canterò senza fine le grazie del Signore,con la mia bocca annunzierò la tua fedeltà nei secoli,
perché hai detto: «La mia grazia rimane per sempre»;
la tua fedeltà è fondata nei cieli.
Ho stretto un'alleanza con il mio eletto,
ho giurato a Davide mio servo:
stabilirò per sempre la tua discendenza,
ti darò un trono che duri nei secoli.
Egli mi invocherà: Tu sei mio padre,
mio Dio e roccia della mia salvezza.
Gli conserverò sempre la mia grazia,
la mia alleanza gli sarà fedele.
Copyright @ Conferenza Episcopale Italiana [2003 11 05]
Per ricevere il Vangelo ogni mattina per e-mail, iscrivetevi : vangelodelgiorno.org
SECONDA LETTURA Lettera di san Paolo apostolo ai Romani 4,13.16-18.22.
Fratelli, non in virtù della legge fu data ad Abramo o alla sua discendenza la promessa di diventare erede del mondo, ma in virtù della giustizia che viene dalla fede;Eredi quindi si diventa per la fede, perché ciò sia per grazia e così la promessa sia sicura per tutta la discendenza, non soltanto per quella che deriva dalla legge, ma anche per quella che deriva dalla fede di Abramo, il quale è padre di tutti noi.
Infatti sta scritto: Ti ho costituito padre di molti popoli; (è nostro padre) davanti al Dio nel quale credette, che dà vita ai morti e chiama all'esistenza le cose che ancora non esistono.
Egli ebbe fede sperando contro ogni speranza e così divenne padre di molti popoli, come gli era stato detto: "Così sarà la tua discendenza."
Ecco perché gli fu accreditato come giustizia.
Copyright @ Conferenza Episcopale Italiana [2003 11 05]
Per ricevere il Vangelo ogni mattina per e-mail, iscrivetevi : vangelodelgiorno.org
Dal Vangelo secondo Matteo 1,16.18-21.24a.
Giacobbe generò Giuseppe, lo sposo di Maria, dalla quale è nato Gesù chiamato Cristo.Ecco come avvenne la nascita di Gesù Cristo: sua madre Maria, essendo promessa sposa di Giuseppe, prima che andassero a vivere insieme si trovò incinta per opera dello Spirito Santo.
Giuseppe suo sposo, che era giusto e non voleva ripudiarla, decise di licenziarla in segreto.
Mentre però stava pensando a queste cose, ecco che gli apparve in sogno un angelo del Signore e gli disse: «Giuseppe, figlio di Davide, non temere di prendere con te Maria, tua sposa, perché quel che è generato in lei viene dallo Spirito Santo.
Essa partorirà un figlio e tu lo chiamerai Gesù: egli infatti salverà il suo popolo dai suoi peccati».
Destatosi dal sonno, Giuseppe fece come gli aveva ordinato l'angelo del Signore.
Copyright @ Conferenza Episcopale Italiana [2003 11 05]
Per ricevere il Vangelo ogni mattina per e-mail, iscrivetevi : vangelodelgiorno.org
Commento al Vangelo
Giuseppe era il custode, l’amministratore e il difensore legittimo e naturale della casa divina di cui era il capo. Egli ha assunto questi incarichi lungo tutta la sua vita mortale. Si è applicato a custodire con un sovrano amore e una sollecitudine quotidiana la sua Sposa e il divino Bambino; ha guadagnato regolarmente con il suo lavoro quanto era necessario all’uno e all’altra per il cibo e il vestito; ha preservato dalla morte il Bambino minacciato dalla gelosia di un re(...); nelle difficoltà dei viaggi e nelle pene dell’esilio, costantemente è stato il compagno, l’aiuto e il sostegno della Vergine e di Gesù.Ora, la divina casa che Giuseppe governava con l’autorità di padre, conteneva le primizie della Chiesa nascente. Come la Vergine santissima è la madre di Gesù Cristo, così lei è anche la madre di tutti i cristiani che Ella ha generato al Calvario, in mezzo alle sofferenze supreme del Redentore; anche Gesù Cristo è come il primogenito tra i cristiani che, mediante l’adozione e la redenzione, sono i suoi fratelli (Rm 8,29).
Per tali motivi questo beato Patriarca considera che gli sia stata affidata in modo particolare la moltitudine dei cristiani che compongono la Chiesa, cioè questa immensa famiglia sparsa per tutta la terra e sulla quale, perché è lo sposo di Maria e il padre di Gesù Cristo, egli possiede un’autorità paterna. È quindi naturale e degno del beato Giuseppe che, come provvedeva un tempo per tutti i bisogni della famiglia di Nazaret e la circondava santamente della sua protezione, egli copra ora del suo patrocinio celeste e difenda la Chiesa di Gesù Cristo.
vangelodelgiorno.org