Code |
Context function parse_description($content='') {
Configure::write('debug',2);
require_once('libs/simple_html_dom.php');
$content = "<p> </p>
<p><meta charset="utf-8" /></p>
<p dir="ltr">As <a href="https://www.kelownanow.com/watercooler/weather/news/Weather/Kelowna_weather_Potential_thunderstorms_high_of_26oC/">forecast this morning</a>, a storm could be coming to Kelowna today.</p>
<p dir="ltr">Environment Canada has now issued a severe thunderstorm watch for the Okanagan Valley.</p>
<p dir="ltr"><img alt="<who> Photo credit: KelownaNow </who> A snap showing the thunderstorm in Kelowna on Friday." src="/files/files/images/wivva.png" style="margin: 5px;" /></p>
<p dir="ltr">Its bulletin warns: “Conditions are favourable for the development of severe thunderstorms that may be capable of producing strong wind gusts and heavy rain.”</p>
<p dir="ltr">The forecaster explained that watches are issued “when conditions are favourable for the development of thunderstorms capable of producing damaging hail, wind or rain.”</p>
"
ApiController::parse_description() - COREpublic_html/app/controllers/api_controller.php, line 1191
ApiController::parse_description() - COREpublic_html/app/controllers/api_controller.php, line 1191
ApiController::rss() - COREpublic_html/app/controllers/api_controller.php, line 1166
Dispatcher::_invoke() - COREcake/dispatcher.php, line 204
Dispatcher::dispatch() - COREcake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 99