Daily Reading Calendar

On rare occasions the Daily Readings and Monthly Readings may conflict. Choose the listing on the Monthly Reading Calendar.

load($xml);
$output = “”;

//get elements from “
$channel=$xmlDoc->getElementsByTagName(‘channel’)->item(0);
$channel_title = $channel->getElementsByTagName(‘title’)->item(0)->nodeValue;
$channel_link = $channel->getElementsByTagName(‘link’)->item(0)->nodeValue;
$channel_desc = $channel->getElementsByTagName(‘description’)->item(0)->nodeValue;

//output elements from “
$output .= “

“;
$output .= $channel_desc;
$output .= “

“;

//get and output “” elements
$x=$xmlDoc->getElementsByTagName(‘item’);
for ($i=0; $i<=3; $i++) { $item_title=$x->item($i)->getElementsByTagName(‘title’)->item(0)->nodeValue;
$item_link=$x->item($i)->getElementsByTagName(‘link’)->item(0)->nodeValue;
$item_desc=$x->item($i)->getElementsByTagName(‘description’)->item(0)->nodeValue;
if($item_title == “Homepage Icon” ) {
$output .= “

“;
} else {

$output .= “

” . $item_title . ”  View reading

“;

}
}

echo $output;
?>

Daily readings courtesy of the Greek Orthodox Archdiocese.

Monthly Reading Calendar

SunMonTueWedThuFriSat
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1

Monthly Reading Calendar courtesy of the Antiochian Orthodox Christian Archdiocese.