Code |
Context function parse_description($content='') {
Configure::write('debug',2);
require_once('libs/simple_html_dom.php');
$content = "<p>Residents in northeastern BC experienced a rare weather alert on Canada Day.</p>
<p><meta charset="utf-8" /></p>
<p dir="ltr">A tornado warning was issued shortly before 8:30 pm.</p>
<p dir="ltr">According to the alert, Environment Canada meteorologists were tracking a severe thunderstorm that held the possibility of producing a tornado.</p>
<p>“Damaging winds, large hail and locally intense rainfall are also possible,” the alert said.</p>
<blockquote class="twitter-tweet">
<p dir="ltr" lang="fr">Environment Canada: Tornado warning in effect for Prince George / Environnement Canada: Alerte de tornade en vigueur pour Prince George <a href="https://t.co/6LpnIZty1j">https://t.co/6LpnIZty1j</a></p>
— Alertable Canada (@alertable_ca) <a href="https://twitter.com/alertable_ca/status/1940248932237353259?ref_src=twsrc%5Etfw">July 2, 2025</a></blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<p dir="ltr">People who received the alert, which was targeted to the east of Prince George, were advised to take cover immediately.</p>
<p dir="ltr">Fortunately, the warning only lasted about 11 minutes and there were no reports of a tornado touching down.</p>
<p dir="ltr">However, several residents in the area managed to capture pictures of the menacing weather that was in the area Tuesday night.</p>
<p>As of Wednesday afternoon, Prince George remains under a severe thunderstorm watch.</p>
<p>Below are a few pictures shared online by residents in and around Prince George.</p>
<blockquote class="twitter-tweet">
<p dir="ltr" lang="en">Rare tornado warning for Prince George, BC.<br />
<br />
Radar doesn’t indicate rotation.<a href="https://twitter.com/hashtag/bcstorm?src=hash&ref_src=twsrc%5Etfw">#bcstorm</a> <a href="https://twitter.com/hashtag/bcwx?src=hash&ref_src=twsrc%5Etfw">#bcwx</a> <a href="https://t.co/BQtXIw6zLt">pic.twitter.com/BQtXIw6zLt</a></p>
— Justin M🇨🇦 (@JustinMWeather) <a href="https://twitter.com/JustinMWeather/status/1940249949901660203?ref_src=twsrc%5Etfw">July 2, 2025</a></blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<p dir="ltr"><img alt="<who> Photo Credit: Jordana Sarson" src="/files/files/images/Jordana%20Sarson.jpg" style="margin: 5px;" /></p>
<p dir="ltr"><img alt="<who> Photo Credit: Tayho1977 via X </who> Aleza Lake is about 67 kilometres, or a 54 minute driver, northeast of Prince George." src="/files/files/images/Tayho1977%20via%20X.jpg" style="margin: 5px;" /></p>
<p dir="ltr"><img alt="<who> Photo Credit: Dani Skwarchuk" src="/files/files/images/Dani%20Skwarchuk.jpeg" style="margin: 5px;" /></p>
<p><iframe allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share" allowfullscreen="true" frameborder="0" height="476" scrolling="no" src="https://www.facebook.com/plugins/video.php?height=476&href=https%3A%2F%2Fwww.facebook.com%2F607211732085249%2Fvideos%2F686769461029336%2F%3Fidorvanity%3D568037503308918&show_text=false&width=267&t=0" style="border:none;overflow:hidden" width="267"></iframe></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