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">Another 11 temperature records were broken across British Columbia on Tuesday.</p>
<p dir="ltr">It’s the fifth day in a row that records have been broken in the province amid unseasonably clement weather.</p>
<p dir="ltr">Environment Canada said the records were broken on Tuesday despite “the waning warmth of the ridge” that has influenced the temperature in recent days.</p>
<p dir="ltr"><img alt="<who> Photo credit: NowMedia </who> The sun setting over Kelowna on Tuesday." src="/files/files/images/SnapSh83847.jpg" style="margin: 5px;" /></p>
<p dir="ltr">The new records include:</p>
<ul>
<li aria-level="1" dir="ltr">
<p dir="ltr" role="presentation">Osoyoos: 21.8ºC – old record 18.3ºC, set in 1960</p>
</li>
<li aria-level="1" dir="ltr">
<p dir="ltr" role="presentation">Vernon: 18.3ºC – old record 16.7ºC, set in 1940</p>
</li>
<li aria-level="1" dir="ltr">
<p dir="ltr" role="presentation">Cranbrook: 18.3ºC – old record 17ºC, set in 1999</p>
</li>
<li aria-level="1" dir="ltr">
<p dir="ltr" role="presentation">Lytton: 22.4ºC – old record 22.2ºC, set in 1947</p>
</li>
<li aria-level="1" dir="ltr">
<p dir="ltr" role="presentation">Merritt: 20.2ºC – old record 18.3ºC, set in 1928</p>
</li>
<li aria-level="1" dir="ltr">
<p dir="ltr" role="presentation">Princeton: 20.6ºC – old record (tied) 20.6ºC, set in 1947</p>
</li>
</ul>
<p dir="ltr">Temperature records were also broken on <a href="https://www.kelownanow.com/watercooler/weather/news/Weather/Century_old_weather_record_broken_in_BC_town_as_numerous_benchmarks_set_on_Friday/">Friday</a>, <a href="https://www.kelownanow.com/watercooler/weather/news/Weather/Temp_records_shattered_across_BC_including_Kelowna/">Saturday</a>, <a href="https://www.kelownanow.com/watercooler/weather/news/Weather/Scorching_St_Patrick_s_Day_across_BC_as_dozens_more_temperature_records_broken/">Sunday</a> and <a href="https://www.kelownanow.com/watercooler/weather/news/Weather/Temperature_records_broken_across_BC_for_4th_day_in_a_row/">Monday</a>.</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