Page 1 of 1
Observations page
Posted: Wed 12 Mar 2014 8:59 am
by Michael_Wright
Hi I am working on an Observations page for cumulus template not sure if this is correct if not can some one help me out please
Code: Select all
<!-- Observations -->
<table width="100%" border="0" cellpadding="0">
<body>
<th rowspan="2"><abbr title="Temperature, degrees Celsius">Temp<br />°C</abbr></th>
Re: Observations page
Posted: Wed 12 Mar 2014 10:21 am
by SpaceWalker
Not correct!
To gain more knowledge on how to create a proper table (the one found in an HTML template) have a look at the
W3Schools web site, more precisely, the
HTML4 and HTML5 Tutorial pages and the
HTML <table> Tag page.

Re: Observations page
Posted: Wed 12 Mar 2014 11:11 am
by ace2
I pasted my code for you below.
Code: Select all
<p align="center">
<table border="" bordercolor="#678090" style="background-color:#C0DFE2" width="100%" cellpadding="0" cellspacing="0">
<tr>
<TD BGCOLOR="#a2b1bd"><#RecentTS format=ddddd></td>
<TD BGCOLOR="#a2b1bd">temperature °C</td>
<TD BGCOLOR="#a2b1bd">Dew Point
°C</td>
<TD BGCOLOR="#a2b1bd">Humidity %</td>
<TD BGCOLOR="#a2b1bd">Wind Speed
km/h</td>
<TD BGCOLOR="#a2b1bd">Wind Gust
km/h</td>
<TD BGCOLOR="#a2b1bd">Wind Direction</td>
<TD BGCOLOR="#a2b1bd">Barometer mb</td>
<TD BGCOLOR="#a2b1bd">Rain Today
mm</td>
</tr>
If you want, navigate to
http://www.users.on.net/~ace2/templates/
These are all my templates in use, same have changed, but your welcome to use some of my code with in reason.
Re: Observations page
Posted: Fri 14 Mar 2014 9:03 pm
by PaulMy
I hope this is within reason?
http://www.komokaweather.com/weather/obe.htm You can certainly see the cold overnight temps on the 13th. The area set an all time record for low temp breaking the old record of -16c something.
Well done and thanks for sharing,
Paul
Re: Observations page
Posted: Sat 15 Mar 2014 6:02 am
by ace2
God that look familiar!!! Lol......
Hey glad I could help, its good to see someone putting my creation into use...
Re: Observations page
Posted: Sat 15 Mar 2014 8:52 am
by nossis
And for how I did it....
(Took a leaf from 'ace2' book and uploaded my templates files to my site as well)
http://members.iinet.net.au/~nossis/weather/templates/
The observeT.htm file is the one I use. Pilfer and modify to your needs.
Full a more detailed write of how I did it to work half hourly, check this thread
https://cumulus.hosiene.co.uk/viewtopic.p ... 372#p89372
In particular the entry "Tue Dec 24, 2013 6:49 pm"
I have stopped using Cumulus Toolbox to upload and now use a batch file, set as a 'scheduled task' that FTP uploads.
Hope this helps on your journey to getting just what you want.
Re: Observations page
Posted: Sat 15 Mar 2014 10:09 am
by ace2
Sharing is caring!!!!
Also take note, maybe one of my pages has a typo on one of the fields, not sure if I uploaded the corrected templates..
Also Nossis, how did you go about your command line ftp??
My ISP requires a passive connection so dos is out!!!!
Just curious of your ftp script
Re: Observations page
Posted: Sat 15 Mar 2014 11:57 pm
by nossis
Certainly...
Check the folder at my site
http://members.iinet.net.au/~nossis/wea ... tch_files/
(The observe files, the ".txt" and the ".bat", are what your interested in.)
Also check this site for some more info on a basic FTP script
http://www.computerhope.com/issues/ch001249.htm
In a nut shell, the ".bat" file calls the FTP upload script (the ".txt" file) to run from a DOS prompt (command line)
I also put my 9 am upload routine there as well. This uploads the web pages that only need updating on a daily basis. I disabled Cumulus uploading the full set of web pages, still have it upload other pages that are updated every 10 min and the real time stuff.
This lightens my upload for my 'every 10 minutes' routine that Cumulus does.
Lastly, how to schedule it. I have used Task Scheduler for this as it is built into Windows.
I set it to run 2 min past the half hour, (that is 7:02, 7:32, 8:02 etc) 2 min past gives Cumulus some time to upload all its other stuff for its 10min routine.
Check here for some screen shots how to setup Task Scheduler
http://www.thewindowsclub.com/how-to-sc ... -windows-7
List of the FTP commands from DOS
http://technet.microsoft.com/en-us/libr ... 59810.aspx
@Ace2
I think my ISP requires the same (passive), this is working fine for me.
Try adding the command of PASV in your ftp script, just did a quick Google on it, untested. I don't have it in mine and it has been working fine.
Modify and use to suit your needs
Re: Observations page
Posted: Sun 16 Mar 2014 2:18 am
by ace2
Wish I could use the put command!!!
My ISP disconnects the session!!!
I have to use ncftp which is a installed ftp extension..
Written up the script but haven't switched over to it yet.
I have to have a single line command(user/password in one line) As I convert the bat file into a a silent exe so it doesn't interfere with my media centre!!!(minimise dos windows interferes with a player)
Re: Observations page
Posted: Mon 17 Mar 2014 3:58 am
by ace2
Updated all my template files I posted earlier, so now I'm positive no typos are present!!!!
Any questions, please ask, as you can see, most people here will help or even share page codes with you..