Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Ballina nsw weather V2.0
Moderator: daj
-
pacificblue03
- Posts: 425
- Joined: Sun 13 Jun 2010 12:35 am
- Weather Station: Davis vantage vue
- Operating System: windows 11
- Location: Sydney Australia
Ballina nsw weather V2.0
Hello everyone Antonio here with just a small question for anyone to answer especially steve.
Does the program Cumulus produce a htm or html page?
only asking as i am slowly working on my V 2.0 of my website and was wondering if i made the same page names but in a html format will cumulus be able to recognize those files and or am i able to name them something else?
and one last thing does the css file have to be called
weatherstyle? if not i would like to change it to style.css
Antonio
Does the program Cumulus produce a htm or html page?
only asking as i am slowly working on my V 2.0 of my website and was wondering if i made the same page names but in a html format will cumulus be able to recognize those files and or am i able to name them something else?
and one last thing does the css file have to be called
weatherstyle? if not i would like to change it to style.css
Antonio
-
Synewave
- Posts: 642
- Joined: Mon 25 Jan 2010 1:55 pm
- Weather Station: Watson W-8681
- Operating System: Raspian
- Location: Brighton, UK
- Contact:
Re: Ballina nsw weather V2.0
htm, that's what you've coded as your links!
The stylesheet can be called whatever you want it to be called. Not quite sure why you want to change it though.
The stylesheet can be called whatever you want it to be called. Not quite sure why you want to change it though.
-
pacificblue03
- Posts: 425
- Joined: Sun 13 Jun 2010 12:35 am
- Weather Station: Davis vantage vue
- Operating System: windows 11
- Location: Sydney Australia
Re: Ballina nsw weather V2.0
so if i am correct naming my pages diffrently will work?
Antonio
Below is a preiview of how page index is going ( in early development)
Antonio
Below is a preiview of how page index is going ( in early development)
You do not have the required permissions to view the files attached to this post.
- daj
- Posts: 2041
- Joined: Tue 29 Jul 2008 8:00 pm
- Weather Station: WH1081
- Operating System: Pi & MX
- Location: SW Scotland
- Contact:
Re: Ballina nsw weather V2.0
htm & html are both exactly the same. I think the story goes like this.....Traditionally webservers were running on Linux/Unix machines so had an extension of "html" but then windows came along and could not use four letters in an extension so Microsoft decided to shorten it to "htm"
Luckily the world (and MS) have moved on and we can use both. I always use ".html"
Now on to Cumulus -- if you use the 'standard files' Cumulus will produce these as ".htm". In your new V2 website you will be best to stop using the standard files, and create new ones and ask Cumulus to process these. This means you can call them anything you want.
Just ensure you do not have index.htm and index.html on your website - you should have one or the other as the default home page.
Luckily the world (and MS) have moved on and we can use both. I always use ".html"
Now on to Cumulus -- if you use the 'standard files' Cumulus will produce these as ".htm". In your new V2 website you will be best to stop using the standard files, and create new ones and ask Cumulus to process these. This means you can call them anything you want.
Just ensure you do not have index.htm and index.html on your website - you should have one or the other as the default home page.
-
pacificblue03
- Posts: 425
- Joined: Sun 13 Jun 2010 12:35 am
- Weather Station: Davis vantage vue
- Operating System: windows 11
- Location: Sydney Australia
Re: Ballina nsw weather V2.0
Okay when the time comes i shall ask how i get cumulus to upload to my new pages
Also while naming my new files like the ones now do they need a index (T) in their name?
Antonio.
Also while naming my new files like the ones now do they need a index (T) in their name?
Antonio.
- daj
- Posts: 2041
- Joined: Tue 29 Jul 2008 8:00 pm
- Weather Station: WH1081
- Operating System: Pi & MX
- Location: SW Scotland
- Contact:
Re: Ballina nsw weather V2.0
No, you can call them anything you want.pacificblue03 wrote:Also while naming my new files like the ones now do they need a index (T) in their name?
You then go into the Internet Settings. You tell Cumulus the name of your local file (the one with the webtags in it) and the remote file (what you want it called on the web server). Tick Process and FTP. Cumulus will then read the local file, replace the webtags with data and upload to your webserver as the name you provided in "remote filenames". Do this for each of your website files
Example below...
You do not have the required permissions to view the files attached to this post.
-
pacificblue03
- Posts: 425
- Joined: Sun 13 Jun 2010 12:35 am
- Weather Station: Davis vantage vue
- Operating System: windows 11
- Location: Sydney Australia
Re: Ballina nsw weather V2.0
Fantastic
Also has anyone checked my Preview zip?
if you do tell me if my structure is okay
Antonio.
Also has anyone checked my Preview zip?
if you do tell me if my structure is okay
Antonio.
-
Synewave
- Posts: 642
- Joined: Mon 25 Jan 2010 1:55 pm
- Weather Station: Watson W-8681
- Operating System: Raspian
- Location: Brighton, UK
- Contact:
Re: Ballina nsw weather V2.0
Why not put it online on your website and give the page a name as test.htm for example?pacificblue03 wrote:Fantastic
Also has anyone checked my Preview zip?
if you do tell me if my structure is okay
Antonio.
-
pacificblue03
- Posts: 425
- Joined: Sun 13 Jun 2010 12:35 am
- Weather Station: Davis vantage vue
- Operating System: windows 11
- Location: Sydney Australia
Re: Ballina nsw weather V2.0
ok i will do that now so do i just upload it to my website?
Antonio.
Antonio.
-
pacificblue03
- Posts: 425
- Joined: Sun 13 Jun 2010 12:35 am
- Weather Station: Davis vantage vue
- Operating System: windows 11
- Location: Sydney Australia
Re: Ballina nsw weather V2.0
OK i did it
TEST HERE http://www.ballina-nsw-weather-from-sto ... /test.html
Feedback is essentail
Enjoy V2.0
Antonio
TEST HERE http://www.ballina-nsw-weather-from-sto ... /test.html
Feedback is essentail
Enjoy V2.0
Antonio
- nking
- Posts: 813
- Joined: Thu 17 Dec 2009 2:03 pm
- Weather Station: W-8681
- Operating System: Windows 10
- Location: Hurstpierpoint, West Sussex, UK
- Contact:
Re: Ballina nsw weather V2.0
It looks good except I think the colours used for the data area seem out of place and make the characters difficult to read. I think it would be better to stick with your shades of blue and possibly a shade of yellow for the characters.
-
gemini06720
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: Ballina nsw weather V2.0
Antonio is that what is being taught in school now-a-day?
Just kidding...
I looked at both the 'indexT.htm' and 'weatherstyle.css' files you have uploaded (in the 'Desktop.zip' file) and they are both good - I did not find any error nor missing closing element - but, being picky-me I would give you just a passing mark for the proper indentation of the lines. It is so important to write clear and concise code, not just for oneself but for others that would like to look at the code...
I also looked at the source code of the 'test.html' file you have online. Just before the '</head>' element, you have some CSS code that should be moved into the 'weatherstyle.css' file.
Further down the code, you are using an increasingly complicated way of producing and displaying the appropriate image for the forecast. If I was you (which I am not), I would use the forecast number (produced by the '<#forecastnumber>' Webtag) and numbered images thus reducing the script to three lines: Obviously, the image names (with commas and spaces, which is not very good Web page programming) would have to be replaced by single of double digits numbers.
The colour of the text used to display the weather information in the table (containing the 'Temperature and Humidity', the 'Rainfall', the 'Wind' and the 'Pressure' should be something other than black as black is very difficult to read on the background colours you have chosen.
You are slowly getting there...
Just kidding...
I looked at both the 'indexT.htm' and 'weatherstyle.css' files you have uploaded (in the 'Desktop.zip' file) and they are both good - I did not find any error nor missing closing element - but, being picky-me I would give you just a passing mark for the proper indentation of the lines. It is so important to write clear and concise code, not just for oneself but for others that would like to look at the code...
I also looked at the source code of the 'test.html' file you have online. Just before the '</head>' element, you have some CSS code that should be moved into the 'weatherstyle.css' file.
Further down the code, you are using an increasingly complicated way of producing and displaying the appropriate image for the forecast. If I was you (which I am not), I would use the forecast number (produced by the '<#forecastnumber>' Webtag) and numbered images thus reducing the script to three lines:
Code: Select all
<script type="text/javascript">
var imagen = <#forecastnumber>;
document.write('<img src="images/'+imagen+'.png"/>');
</script>
Note: I could not test the scrip as my Cumulus does not process the files such as 'indexT.htm', etc.
The colour of the text used to display the weather information in the table (containing the 'Temperature and Humidity', the 'Rainfall', the 'Wind' and the 'Pressure' should be something other than black as black is very difficult to read on the background colours you have chosen.
You are slowly getting there...
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Ballina nsw weather V2.0
All that gemini says ........
We have mentioned most of these techniques before
There is no need for JavaScript for the forecast at all ! - as outlined here: https://cumulus.hosiene.co.uk/viewtopic.php?f=14&t=1657
(Plus I did already say say there is no such forecast as 'Exceptional Weather' [It is a pre-fix])
Because your 'Force' graphics are the same names as the data, a similar simple html line will replace all your code.
NB: if your images are all the same size it is good coding practise to declare the width= and height= values so that page layout is maintained whilst images are loading.
In terms of checking your page for syntax etc. you can go to these pages and either enter your url everytime, or put a clickable banner on your page which can automatically parse your html and css and give the results.
html: http://validator.w3.org/#validate_by_uri
css: http://jigsaw.w3.org/css-validator/
We have mentioned most of these techniques before
There is no need for JavaScript for the forecast at all ! - as outlined here: https://cumulus.hosiene.co.uk/viewtopic.php?f=14&t=1657
(Plus I did already say say there is no such forecast as 'Exceptional Weather' [It is a pre-fix])
Because your 'Force' graphics are the same names as the data, a similar simple html line will replace all your code.
Code: Select all
<img src = "images/<#beaufort>.jpg" alt="<#beaufort> - <#beaudesc>" title="<#beaufort> - <#beaudesc>" />In terms of checking your page for syntax etc. you can go to these pages and either enter your url everytime, or put a clickable banner on your page which can automatically parse your html and css and give the results.
html: http://validator.w3.org/#validate_by_uri
css: http://jigsaw.w3.org/css-validator/
Last edited by beteljuice on Fri 26 Nov 2010 11:25 pm, edited 1 time in total.
......................Imagine, what you will KNOW tomorrow !
-
pacificblue03
- Posts: 425
- Joined: Sun 13 Jun 2010 12:35 am
- Weather Station: Davis vantage vue
- Operating System: windows 11
- Location: Sydney Australia
Re: Ballina nsw weather V2.0
So im guessing somewhere in cumulus there is a listing of the forecast numbers somewhere? and if so this means i just rename the images to 1 . 2 .5 etc?gemini06720 wrote:Antonio is that what is being taught in school now-a-day?![]()
Just kidding...
I looked at both the 'indexT.htm' and 'weatherstyle.css' files you have uploaded (in the 'Desktop.zip' file) and they are both good - I did not find any error nor missing closing element - but, being picky-me I would give you just a passing mark for the proper indentation of the lines. It is so important to write clear and concise code, not just for oneself but for others that would like to look at the code...![]()
I also looked at the source code of the 'test.html' file you have online. Just before the '</head>' element, you have some CSS code that should be moved into the 'weatherstyle.css' file.
Further down the code, you are using an increasingly complicated way of producing and displaying the appropriate image for the forecast. If I was you (which I am not), I would use the forecast number (produced by the '<#forecastnumber>' Webtag) and numbered images thus reducing the script to three lines:Obviously, the image names (with commas and spaces, which is not very good Web page programming) would have to be replaced by single of double digits numbers.Code: Select all
<script type="text/javascript"> var imagen = <#forecastnumber>; document.write('<img src="images/'+imagen+'.png"/>'); </script> Note: I could not test the scrip as my Cumulus does not process the files such as 'indexT.htm', etc.
The colour of the text used to display the weather information in the table (containing the 'Temperature and Humidity', the 'Rainfall', the 'Wind' and the 'Pressure' should be something other than black as black is very difficult to read on the background colours you have chosen.
You are slowly getting there...
For the data in the table i am going to make it white like the other data, for that line you were talking about moving --which one? ---
Beetlejuice thanks very much for the link to css validating but i have already been using validator . org on w3schools.
i think someone asked if this is being taught in class the answer to that is no.. i have set out a project like this for a while and now it is time to make it happen.
i must say CSS is slowly but surely becoming my best friend.
Antonio.
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Ballina nsw weather V2.0
Read the topic link I gave. (Wiki too, but it only mentions for string.ini and not the full possible number sequence)
Together with the Link I gave, which points out the 'exceptions'
0 (zero) = Not available / Not Cumulus
-1 (neg one) = Exceptionally Fine
-26 (neg 26) = Exceptionally Bad
The 'normal' numbers are:
1=Settled fine
2=Fine weather
3=Becoming fine
4=Fine, becoming less settled
5=Fine, possible showers
6=Fairly fine, improving
7=Fairly fine, possible showers early
8=Fairly fine, showery later
9=Showery early, improving
10=Changeable, mending
11=Fairly fine, showers likely
12=Rather unsettled clearing later
13=Unsettled, probably improving
14=Showery, bright intervals
15=Showery, becoming less settled
16=Changeable, some precipitation
17=Unsettled, short fine intervals
18=Unsettled, precipitation later
19=Unsettled, some precipitation
20=Mostly very unsettled
21=Occasional precipitation, worsening
22=Precipitation at times, very unsettled
23=Precipitation at frequent intervals
24=Precipitation, very unsettled
25=Stormy, may improve
26=Stormy, much precipitation
Together with the Link I gave, which points out the 'exceptions'
0 (zero) = Not available / Not Cumulus
-1 (neg one) = Exceptionally Fine
-26 (neg 26) = Exceptionally Bad
The 'normal' numbers are:
1=Settled fine
2=Fine weather
3=Becoming fine
4=Fine, becoming less settled
5=Fine, possible showers
6=Fairly fine, improving
7=Fairly fine, possible showers early
8=Fairly fine, showery later
9=Showery early, improving
10=Changeable, mending
11=Fairly fine, showers likely
12=Rather unsettled clearing later
13=Unsettled, probably improving
14=Showery, bright intervals
15=Showery, becoming less settled
16=Changeable, some precipitation
17=Unsettled, short fine intervals
18=Unsettled, precipitation later
19=Unsettled, some precipitation
20=Mostly very unsettled
21=Occasional precipitation, worsening
22=Precipitation at times, very unsettled
23=Precipitation at frequent intervals
24=Precipitation, very unsettled
25=Stormy, may improve
26=Stormy, much precipitation
......................Imagine, what you will KNOW tomorrow !