Author Topic: The Stillwater Extreme Weather Videos Page  (Read 1674 times)

0 Members and 1 Guest are viewing this topic.

Offline Bunty

  • Forecaster
  • *****
  • Posts: 2434
  • Stillwater, home of Oklahoma State University
    • Welcome to Stillwater Weather
The Stillwater Extreme Weather Videos Page
« on: April 25, 2009, 05:47:36 PM »
I thought I would create a new feature for my PWS site.  It's a page compiling links to videos made of extreme weather in and near Stillwater.  It's at:  http://stillwaterweather.com/stwvideos.php  If this is a good idea, maybe some of you living in areas of severe weather would also like to make a page for your site.

« Last Edit: April 25, 2009, 07:44:41 PM by Bunty »

Also the 2nd home page using modified AltDashboard 6.95 at http://stillwaterweather.com/2ndhome.php

Offline wxkpt

  • Kingsport, TN Weather
  • Senior Contributor
  • ****
  • Posts: 284
  • When The Weather Gets Tough.. Get With The Weather
    • Kingsport, TN Live and Local weather
Re: The Stillwater Extreme Weather Videos Page
« Reply #1 on: April 25, 2009, 06:23:36 PM »
I like the idea  :lol:

Oh and also have some errors on the page thought I would let ya know

Quote
['; print_r($weather); echo ']'; /* format the result */ function format_result($input) { return strtolower(str_replace(array(' ', '(', ')'), array('-', '-', ''), $input)); } /* helper: does regex */ function get_match($regex,$content) { preg_match($regex,$content,$matches); return $matches[1]; } /* gets the xml data from Alexa */ function get_data($url) { $ch = curl_init(); $timeout = 5; curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout); $xml = curl_exec($ch); curl_close($ch); return $xml; } ?>

Offline Bunty

  • Forecaster
  • *****
  • Posts: 2434
  • Stillwater, home of Oklahoma State University
    • Welcome to Stillwater Weather
Re: The Stillwater Extreme Weather Videos Page
« Reply #2 on: April 25, 2009, 08:00:44 PM »
Oops.  Thanks about the error.  I was absent mindedly running php on an html page.  It's fixed.

Also the 2nd home page using modified AltDashboard 6.95 at http://stillwaterweather.com/2ndhome.php