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">A special weather statement has been put in place for BC Interior highways today.</p>
<p dir="ltr">Environment Canada warned of the potential for flurries at high elevations.</p>
<p dir="ltr">The Coquihalla and Hwy 3 were both named in the statement.</p>
<p dir="ltr"><img alt="<who> Photo credit: DriveBC </who> Hwy 3 (left) and the Coquihalla this morning." src="/files/files/images/hwyandcoq.png" style="margin: 5px;" /></p>
<p dir="ltr">“A Pacific frontal system will move across BC today,” the forecaster said in a public bulletin.</p>
<p dir="ltr">“Meanwhile, snow levels will remain at or below mountain pass levels in southern BC today. Snowfall accumulations are possible but will vary depending on the location.”</p>
<p dir="ltr">It added: “Weather in the mountains can change suddenly resulting in hazardous driving conditions.”</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 98