Code |
Context function parse_description($content='') {
Configure::write('debug',2);
require_once('libs/simple_html_dom.php');
$content = "<p><meta charset="utf-8" /></p>
<p dir="ltr">Although the official start of fall is less than a week away, the majority of British Columbia continues to enjoy summer-like heat.</p>
<p dir="ltr">Forecasts around the province are calling for a shift this weekend, just in time for autumn to begin on Monday, but records are being broken in the meantime.</p>
<p dir="ltr">According to Environment Canada, six BC communities saw record-high temperatures for Sept. 16 on Tuesday.</p>
<p dir="ltr">All of those records were broken on the coast or Vancouver Island.</p>
<p><img alt="<who>Photo Credit: Wikipedia</who>White Rock hit 29°C on Tuesday to break a daily temperature record previously set in 1967." src="/files/files/images/whiterock.jpg" style="margin: 5px;" /></p>
<p dir="ltr">Here’s a list of record-high temperatures that were registered by Environment Canada on Tuesday:</p>
<ul dir="ltr">
<li role="presentation"><strong>Bella Bella (26.5°C)</strong> - old record of 25.8°C set in 1995</li>
<li role="presentation"><strong>Malahat (25.4°C)</strong> - old record of 25.2°C set in 1995</li>
<li role="presentation"><strong>Port Hardy (24.6°C)</strong> - old record of 22.1°C set in 2000</li>
<li role="presentation"><strong>Prince Rupert (24.3°C)</strong> - old record of 23.3°C set in 1954</li>
<li role="presentation"><strong>Sechelt (26.9°C)</strong> - old record of 26°C set in 1981</li>
<li role="presentation"><strong>White Rock (29°C)</strong> - old record of 28.9°C set in 1967</li>
</ul>
"
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