Healthy Bites

healthy_bites03

Karen White is a registered dietician living in Westborough. She started her education at the University of Maine in Farmington and earned an Associates Degree in Nutrition. Karen then transferred to Framingham State College and earned her Bachelors and Masters in Nutrition. Her work experience includes working as a clinical dietician in various hospitals in the Boston area, teaching courses in nutrition, providing community education on topics in nutrition when needed and management for diet offices in the hospital setting. She currently teaches part-time at Framingham State University and would now like to volunteer her knowledge and time in helping people eat better.

Click on any show listed below for instant viewing online.

Now you can view Westborough TV shows (recorded after January 10, 2014) on any device including iPad, iPhone and Android. For older shows you will need windows media player.

Healthy Bites:

[insert_php]

//Configure
$server = "71.248.188.158/";
date_default_timezone_set('America/New_York');
// End Configure

$client = new SoapClient("http://" . $server . "/CablecastWS/CablecastWS.asmx?WSDL"); // Creates New SOAP client using WSDL file

$searchDate = date("Y-m-d")."T12:00:00";

// Search for all shows that have an event date less than now that are available for VOD
$result = $client->AdvancedShowSearch(array(
'ChannelID' => 1, // This sets the script to search only the pub channel
'searchString' => 'Healthy Bites', // This is Where you change what content you want!
'eventDate' => date("Y-m-d") . "T00:00:00",
'dateComparator' => '<', 'restrictToCategoryID' => 0,
'restrictToProducerID' => 0,
'restrictToProjectID' => 0,
'displayStreamingShowsOnly' => 1,
'searchOtherSites' => 0,));

if(!isset($result->AdvancedShowSearchResult->SiteSearchResult->Shows->ShowInfo)) {
$vods = array();
} else {
$vods = is_array($result->AdvancedShowSearchResult->SiteSearchResult->Shows->ShowInfo) ?
$result->AdvancedShowSearchResult->SiteSearchResult->Shows->ShowInfo :
array($result->AdvancedShowSearchResult->SiteSearchResult->Shows->ShowInfo);
}

if(count($vods) == '0') {
//There is probably something wrong if this shows up.
echo "There are no Shows currently available for on demand viewing.";
} else {
// Prints out a table with time and show title with link to show detial page
echo "

\n";
echo "

\n";

foreach($vods as $vod) {
echo "

\n";
echo "

\n";
echo "

";
echo "

\n";
}

echo "

Show Title Link
" . $vod->Title . " Watch Now

";
}

[/insert_php]

     To search for other shows visit our search page.

Leave a Reply

Your email address will not be published.