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

indexT.htm Forecast Icons

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

User avatar
Buford T. Justice
Posts: 423
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ecowitt GW1002
Operating System: Windows 11 Pro
Location: USA

indexT.htm Forecast Icons

Post by Buford T. Justice »

I have been trying to figure out a way to get the NWS forecast icons into the indexT.htm page. I tried it with Saratoga, but there is just too much code and too many dependencies. I have the animated icons saved to a folder, but I cannot just get the forecast like it is seen here...

http://forecast.weather.gov/MapClick.ph ... TextType=2

I just want the icons with the descriptions; not the full text part. Is there a way to do this easily?

I want to try to get the icons and text under each one between the Cumulus Forecast and the Conditions at local time 21:50 on 29 December 2012.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: indexT.htm Forecast Icons

Post by steve »

Presumably NWS allow this, so do they not give instructions for including it on your web site? Perhaps Ken could advise.
Steve
User avatar
Buford T. Justice
Posts: 423
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ecowitt GW1002
Operating System: Windows 11 Pro
Location: USA

Re: indexT.htm Forecast Icons

Post by Buford T. Justice »

I think I got it!

http://tinyurl.com/WS62694

EDIT...

BUT... I don't like it there. I think I will just make a separate forecast page and link to it at the bottom or by clicking on the Cumulus forecast.
Last edited by Buford T. Justice on Sun 30 Dec 2012 5:55 pm, edited 1 time in total.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: indexT.htm Forecast Icons

Post by steve »

That just gives me a blank page :(
Steve
User avatar
Buford T. Justice
Posts: 423
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ecowitt GW1002
Operating System: Windows 11 Pro
Location: USA

Re: indexT.htm Forecast Icons

Post by Buford T. Justice »

Sorry.

Here is how it turned out before I decided I didn't like it...

http://www.n-a-c.biz/WS62694/1/index1.php

Here is how it looks now with the ability to click on the Cumulus forecast or the forecast link at the bottom of each page...

http://www.n-a-c.biz/WS62694/1/index.htm
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: indexT.htm Forecast Icons

Post by steve »

New Year's Day looks a bit odd (offset from the rest), but I guess that's a one-off as normally there are only two lines of text.
Steve
ronwright418
Posts: 90
Joined: Thu 06 Sep 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: indexT.htm Forecast Icons

Post by ronwright418 »

Buford,
That really looks great! :clap: I was planning to do something similar, but hate to re-invent the wheel. Mind if I take advantage or your labors and use your code?
Ron
Ron Wright (ronwright418)
Image
KevinF
Posts: 71
Joined: Sat 14 Apr 2012 5:01 pm
Weather Station: WMR200
Operating System: XP SP3
Location: Lancashire

Re: indexT.htm Forecast Icons

Post by KevinF »

I must admit...I like that addition too.
tobyspond
Posts: 252
Joined: Fri 24 Jun 2011 5:57 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 10
Location: Lamoine, Maine, USA

Re: indexT.htm Forecast Icons

Post by tobyspond »

The script is available here: http://saratoga-weather.org/scripts-car ... dvforecast

You will need PHP on your web host to use the script.

Kerry
ronwright418
Posts: 90
Joined: Thu 06 Sep 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: indexT.htm Forecast Icons

Post by ronwright418 »

Thanks Kerry. I like your layout too (but I don't want to copy it).
Ron
Ron Wright (ronwright418)
Image
tobyspond
Posts: 252
Joined: Fri 24 Jun 2011 5:57 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 10
Location: Lamoine, Maine, USA

Re: indexT.htm Forecast Icons

Post by tobyspond »

Hi Ron,

Thanks for the compliment. I spent a lot of time looking at different weather websites, noting what I liked and did not like. I also visited the many template sites until I found a template I liked and could work with and I modified the template until I got it looking reasonably decent at least in my mind. My site has undergone several iterations before this current version as my skills and understanding improved.

I'm using the standalone Cumulus script for my index page which is also available at saratoga-weather.org. It was not difficult to implement.

Kerry
User avatar
Buford T. Justice
Posts: 423
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ecowitt GW1002
Operating System: Windows 11 Pro
Location: USA

Re: indexT.htm Forecast Icons

Post by Buford T. Justice »

Which one looks great? The first one with it on the main index page or the second one with it's own forecast page?

I don't mind sharing the code at all as I didn't create it, but I did a bit of modifying of it to suit my needs. There wasn't enough room on the first to put a thank you for the code, but the second one has the proper thank yous.
tobyspond
Posts: 252
Joined: Fri 24 Jun 2011 5:57 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 10
Location: Lamoine, Maine, USA

Re: indexT.htm Forecast Icons

Post by tobyspond »

I like the second one - the separate page. I think it's too much information on the index page if the text forecast is there. Another way to do it is to put just the icons on the first page and have a link that either goes to a forecast page or a popup window with the text forecast. Just a thought.

Kerry
ronwright418
Posts: 90
Joined: Thu 06 Sep 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: indexT.htm Forecast Icons

Post by ronwright418 »

I like to see the icons on the main page as long as the display is as clean as possible. That way people can get a quick look and go about their day. A link to a detailed page is good also, but it needs to be obvious. It has been my experience that many people will never think to click on the forecast in your second example, so would not know the information is there. (Like parents using a school Web page and complaining that they didn't get all the information.)

Ron
Ron Wright (ronwright418)
Image
User avatar
Buford T. Justice
Posts: 423
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ecowitt GW1002
Operating System: Windows 11 Pro
Location: USA

Re: indexT.htm Forecast Icons

Post by Buford T. Justice »

I am sitting here playing with a couple of ideas of combining the two in the right way. I'll post back later when I am done.
Post Reply