Chapel

" $channel=$xmlDoc->channel; $channel_title = $channel->title; $channel_link = $channel->link; $channel_desc = $channel->description; //get "" elements foreach ($channel->item as $node) { $item_title = $node->title; $item_link = $node->link; $item_desc = $node->description; if($item_title == "Homepage Icon") { $oc_image .= ''; } else { if(substr($item_desc,0,26) == "Saints Feasts and Readings") $oc_saints .= '

' . $item_title . '

'; else $oc_readings .= '

' . $item_title . '

'; } } //output elements from Item $output .= "
" . $oc_image . "
"; $output .= "
"; $output .= "
"; $output .= "

" . $channel_title . "

"; $output .= "

" .$channel_desc ."

" ; $output .= "
"; $output .= "

" . $oc_readings . "

"; $output .= "

" . $oc_saints . "

"; //output elements from "" $output .= "
Visit the Online Chapel for more daily readings, hymns, a monthly calendar of saints and feasts, and more.
"; $output .= "
"; } return $output; ?>
More in this category: About Us »
Top