Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
WU-forecast.php
-
- Posts: 28
- Joined: Fri 21 May 2010 5:47 pm
- Weather Station: Davis VP2
- Operating System: Windows 10
- Location: Kvistgård Danmark
- Contact:
WU-forecast.php
Is it possible to include the WU-forecast in a HTML document. I am redesigning my web site and would like to add forecasts, but I´m making the site in HTML. I can see in the PHP file there is a HTML section generating tables, I guess getting that part into my HTML document, will do the trick, but how?
Kenneth
Kenneth
Kenneth
http://www.kvistgaardvejr.dk/
http://www.kvistgaardvejr.dk/
-
- Posts: 28
- Joined: Fri 21 May 2010 5:47 pm
- Weather Station: Davis VP2
- Operating System: Windows 10
- Location: Kvistgård Danmark
- Contact:
Re: WU-forecast.php
Trainman wrote:Is it possible to include the WU-forecast in a HTML document. I am redesigning my web site and would like to add forecasts, but I´m making the site in HTML. I can see in the PHP file there is a HTML section generating tables, I guess getting that part into my HTML document, will do the trick, but how?
Kenneth
Sorry should have been posted in the Ajax template thread..
Kenneth
http://www.kvistgaardvejr.dk/
http://www.kvistgaardvejr.dk/
-
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: WU-forecast.php
Kenneth, a PHP script cannot be included into an HTML page/script/template!
First question: Why are you making the site in HTML - you are greatly limiting the possibilities of the site! You can do so much more with PHP... Does your host server not provide PHP?
OK, getting back to the 'WU-forecast.php' script. Other than a few lines of HTML code, did you not noticed all those other lines of code (PHP) that are needed to get the weather data from the Weather Underground web site near you (ie: Espergærde, the closest station to your location), to save the data into a cache file, to remove the unnecessary lines of code from the cache file, to possibly translate the weather information into another language and, finally, to produce a template that can either be 'included' into a PHP page/template or viewed by itself.
I am not trying to be difficult (nor to make your life difficult) but I need you to understand that more than HTML code is required to produce a WeatherUnderground forecast page - without the PHP code, there cannot be a WeatherUnderground forecast page.
First question: Why are you making the site in HTML - you are greatly limiting the possibilities of the site! You can do so much more with PHP... Does your host server not provide PHP?
OK, getting back to the 'WU-forecast.php' script. Other than a few lines of HTML code, did you not noticed all those other lines of code (PHP) that are needed to get the weather data from the Weather Underground web site near you (ie: Espergærde, the closest station to your location), to save the data into a cache file, to remove the unnecessary lines of code from the cache file, to possibly translate the weather information into another language and, finally, to produce a template that can either be 'included' into a PHP page/template or viewed by itself.
I am not trying to be difficult (nor to make your life difficult) but I need you to understand that more than HTML code is required to produce a WeatherUnderground forecast page - without the PHP code, there cannot be a WeatherUnderground forecast page.
- MickinMoulden
- Posts: 499
- Joined: Mon 20 Dec 2010 12:12 pm
- Weather Station: WS-1081 with rain gauge mod
- Operating System: Windows 7 & 1.9.3 b1059
- Location: Palmerston, NT, Australia
- Contact:
Re: WU-forecast.php
I'd do a Google search on "add a weather forecast to my website". And just do a cut and paste.
That's what I did.
WU do do a 1 day forecast you can cut and paste (weather sticker).
That's what I did.
WU do do a 1 day forecast you can cut and paste (weather sticker).
- MickinMoulden
- Posts: 499
- Joined: Mon 20 Dec 2010 12:12 pm
- Weather Station: WS-1081 with rain gauge mod
- Operating System: Windows 7 & 1.9.3 b1059
- Location: Palmerston, NT, Australia
- Contact:
Re: WU-forecast.php
Just checkd your page. I was looking forward to seeing Yowindow, as I've only just starting seeing posts on it, unfortunately it didn't work (work in progress?) Is this like a forecast, to replace the WU forecast that you were after?Trainman wrote:Thank You Ray and Michael for Your input.
-
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: WU-forecast.php
Kenneth, you are using an old link for the YoWindow script - the following following line has been replaced:
Please go to the YoWindow Weather Widget page to get the updated code for YoWindow - the new code renders the image somewhat quicker.
Code: Select all
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="800" height="400">
<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
Code: Select all
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/yowidget3.swf" width="800" height="400">
<param name="movie" value="http://swf.yowindow.com/yowidget3.swf"/>
-
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: WU-forecast.php
Michael, whose pages were you looking at - mine were updated a few hours ago - the page seems to display correctly/properly into all browsers, including Internet Explorer 9 (which I do not support)?MickinMoulden wrote:Just checkd your page.
Michael, have a look at YoWindow starting with the main page and the proceeding to the YoWindow Weather Widget page where you can/will get the code required to place inside your page...MickinMoulden wrote:Is this like a forecast, to replace the WU forecast that you were after?
- MickinMoulden
- Posts: 499
- Joined: Mon 20 Dec 2010 12:12 pm
- Weather Station: WS-1081 with rain gauge mod
- Operating System: Windows 7 & 1.9.3 b1059
- Location: Palmerston, NT, Australia
- Contact:
Re: WU-forecast.php
I replied to Kenneth "Trainman". And I've looked at YoWindow, looking at adding it myself, as it fits in with my theme very well. It seems Kenneth will be ditching the WU forecast option for YoWindow.gemini06720 wrote: Michael, whose pages were you looking at
-
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: WU-forecast.php
Indeed, YoWindow is somewhat more visual and a lot more modern looking than the 'WU-forecast.php' script has been and seems will ever be providing...MickinMoulden wrote:It seems Kenneth will be ditching the WU forecast option for YoWindow.
Michael, as the first page on your site loads, it displays the warning box 'Continue with content filter?' - unless either the 'OK' or the 'Cancel' button is clicked, the page remains frozen at that stage (stops loading/displaying).
- MickinMoulden
- Posts: 499
- Joined: Mon 20 Dec 2010 12:12 pm
- Weather Station: WS-1081 with rain gauge mod
- Operating System: Windows 7 & 1.9.3 b1059
- Location: Palmerston, NT, Australia
- Contact:
Re: WU-forecast.php
That's right (you must of been viewing after 8pm!). I guess I could make the rest of the page load before that warning box. However, while I've got you here, what I would like it to do is countdown (say 5 seconds) before continuing automatically. Any idea's? (Sorry, now off topic - will now implement YoWindow!)gemini06720 wrote:Michael, as the first page on your site loads, it displays the warning box 'Continue with content filter?' - unless either the 'OK' or the 'Cancel' button is clicked, the page remains frozen at that stage (stops loading/displaying).
-
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: WU-forecast.php
Michael, what is different after 8pm (your time, not my time) and why the warning? Michael, this is Internet and not public television!MickinMoulden wrote:That's right (you must of been viewing after 8pm!).
Do you not think you are going a bit 'overboard' with such a warning? If this is a requirement by/from the government of Australia, then that is an infringement on free speech - so far, no government has any control of the Internet, no matter how hard they are/have been trying - the Internet is not one country, the Internet is all of the countries of this 'stupid' planet, thus no one has and/or should have control of the Internet! (I 'smell' a debate coming up )
Just because your site has a few pictures of lightly clad females does not make your site pornographic!
But then, why are lightly clad females needed on a weather site - they are certainly not going to improve the weather in any way...
Simply get that warning (and the script producing the warning) out of your site ... there is no purpose for the warning, none!MickinMoulden wrote:I guess I could make the rest of the page load before that warning box.
- MickinMoulden
- Posts: 499
- Joined: Mon 20 Dec 2010 12:12 pm
- Weather Station: WS-1081 with rain gauge mod
- Operating System: Windows 7 & 1.9.3 b1059
- Location: Palmerston, NT, Australia
- Contact:
Re: WU-forecast.php
Sorry I asked. Feel free not to return.
-
- Posts: 28
- Joined: Fri 21 May 2010 5:47 pm
- Weather Station: Davis VP2
- Operating System: Windows 10
- Location: Kvistgård Danmark
- Contact:
Re: WU-forecast.php
gemini06720 wrote:Kenneth, you are using an old link for the YoWindow script - the following following line has been replaced:Code: Select all
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="800" height="400"> <param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
Please go to the YoWindow Weather Widget page to get the updated code for YoWindow - the new code renders the image somewhat quicker.Code: Select all
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/yowidget3.swf" width="800" height="400"> <param name="movie" value="http://swf.yowindow.com/yowidget3.swf"/>
Thank you I´ll fixed it.
Kenneth
http://www.kvistgaardvejr.dk/
http://www.kvistgaardvejr.dk/
-
- Posts: 484
- Joined: Tue 03 Aug 2010 6:23 am
- Weather Station: WM918
- Operating System: Win Server 2008 R2
- Location: Ferntree Gully, VIC, Oz
- Contact:
Re: WU-forecast.php
You must have upset him Ray - his site has now 'gone with the wind' (It's also one of the problems running web sites at home - IP changes, Dynamic DNS doesn't get updated, web site goes bye-bye or the provider found out )gemini06720 wrote:Simply get that warning (and the script producing the warning) out of your site ... there is no purpose for the warning, none!
Punctuation is the difference between 'Let's eat, grandma' and 'Let's eat grandma'