Code |
Context function parse_description($content='') {
Configure::write('debug',2);
require_once('libs/simple_html_dom.php');
$content = "<p data-end="261" data-start="54">The resort is reporting 9 centimetres of new snow in the last 24 hours, including six cm overnight.</p>
<p data-end="261" data-start="54">Over the past seven days, snowfall has reached 17 cm, giving the slopes a nice refresh.</p>
<p data-end="305" data-start="263">The alpine base has climbed to 180 cm.</p>
<p data-end="305" data-start="263"><iframe allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share" allowfullscreen="true" frameborder="0" height="793" scrolling="no" src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fphoto.php%3Ffbid%3D1365204658977251%26set%3Da.631379399026451%26type%3D3&show_text=false&width=500" style="border:none;overflow:hidden" width="500"></iframe></p>
<p data-end="490" data-start="307">It’s -2ºC early today. Winds are calm and skies are obscure.</p>
<p data-end="490" data-start="307">Conditions are packed and machine groomed, with limited visibility as cloud lingers over the mountain.</p>
<p data-end="562" data-start="492">There are 13 lifts and 85 runs open, with 55 runs groomed.</p>
<p data-end="630" data-is-last-node="" data-is-only-node="" data-start="564">For more, head <a data-end="629" data-start="579" href="https://www.bigwhite.com/daily-snow-report?utm_source=chatgpt.com" rel="noopener" target="_new">here</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