Code |
Context function parse_description($content='') {
Configure::write('debug',2);
require_once('libs/simple_html_dom.php');
$content = "<p data-end="68" data-start="0">There’s been zero centimetres of new snow in the last 24 hours, with 8 cm over the past seven days keeping surfaces in good shape.</p>
<p data-end="259" data-start="218">The alpine base is holding at 175 cm.</p>
<p data-end="432" data-start="261">It’s -3ºC early today. Winds are calm and skies are overcast.</p>
<p data-end="432" data-start="261"><iframe allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share" allowfullscreen="true" frameborder="0" height="748" scrolling="no" src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fphoto.php%3Ffbid%3D1364381295726254%26set%3Da.631379399026451%26type%3D3&show_text=false&width=500" style="border:none;overflow:hidden" width="500"></iframe></p>
<p data-end="432" data-start="261">Conditions are packed and machine groomed, with unlimited visibility across the mountain.</p>
<p data-end="504" data-start="434">There are 13 lifts and 85 runs open, with 52 runs groomed.</p>
<p data-end="572" data-is-last-node="" data-is-only-node="" data-start="506">For more, head <a data-end="571" data-start="521" 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 98