Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.2.4 build 3060 - 10 December 2019.
    Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

    See the Wiki for downloading either version.

    Cumulus processing an extra template

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

    Moderator: daj

    Post Reply
    cohort
    Posts: 10
    Joined: Tue 24 Dec 2013 1:23 pm
    Weather Station: Fine Offset WH1080
    Operating System: Windows 7
    Location: York
    Contact:

    Cumulus processing an extra template

    Post by cohort » Mon 02 Dec 2019 6:22 pm

    I am looking forward to adding much more to the standard templates but first of all I REALLY need to know EXACTLY how to add another page to what we all have as standard. Can somebody please put me out of my misery and give me a blow-by-blow account of what webtag command I should put into the template I wish to create so that Cumulus 1.9.4 will recognise it as yet another file that it needs to process. Is there more to it that that? Do I need to to edit the RealtimeTags txt? I have had a look at all sorts of topics on the forum to do with webtags and, so far, nothing that comes close to this one really simple definition. Please spell it out as an exact sample so that I can get my head around it and then I will be able to switch on a lightbulb and get going with several other projects.Thanks for any help
    Image

    Phil23
    Posts: 347
    Joined: Sat 16 Jul 2016 11:59 pm
    Weather Station: Davis Vantage Pro2 Plus
    Operating System: Win7 Pro
    Location: Australia

    Re: Cumulus processing an extra template

    Post by Phil23 » Mon 02 Dec 2019 9:30 pm

    Simplest thing to do to start with is go to the C:\CumulusMX\Web directory & copy say the TodayT.htm file & call it something like today-yesterdayT.htm.

    Then Setup the Extra webfile settings to process & upload it.
    Capture.JPG
    Then when I'm editing the local copy of the xxxxT.htm I turn on the option for realtime uploads, so that when I make a change to the template it is reflected on the website a few seconds after saving.

    From there on it's just experimenting with your template & tags.

    Cheers

    Phil.
    You do not have the required permissions to view the files attached to this post.
    Image

    cohort
    Posts: 10
    Joined: Tue 24 Dec 2013 1:23 pm
    Weather Station: Fine Offset WH1080
    Operating System: Windows 7
    Location: York
    Contact:

    Re: Cumulus processing an extra template

    Post by cohort » Tue 03 Dec 2019 10:57 am

    Hi Phi
    I am not running Cumulus MX yet but still with Cumulus 1.9.4, but possibly that only clouds my understanding of what you are saying. not necessarily the end result. However, I have an observations page created locally so I put a Process/Realtime/FTP instruction in Cumulus to look at observationsT.htm(which I had copied and created from observations.htm) then sat back to see if anything happened. So far, no reaction....
    Image

    User avatar
    beteljuice
    Posts: 2792
    Joined: Tue 09 Dec 2008 1:37 pm
    Weather Station: None !
    Operating System: ex XP SP3 - now W10 laptop grr
    Location: Dudley, West Midlands, UK

    Re: Cumulus processing an extra template

    Post by beteljuice » Tue 03 Dec 2019 12:14 pm

    ... copied and created from observations.htm
    ... but did you put any <#webtags> in it to be processed ?

    ... and as always - a link please :) so we can :geek:
    Image
    ......................Imagine, what you will KNOW tomorrow !

    cohort
    Posts: 10
    Joined: Tue 24 Dec 2013 1:23 pm
    Weather Station: Fine Offset WH1080
    Operating System: Windows 7
    Location: York
    Contact:

    Re: Cumulus processing an extra template

    Post by cohort » Tue 03 Dec 2019 1:56 pm

    http://the9libraries.org.uk/observations.htm

    I have manually uploaded the file so that you can see it but it has obviously not been processed. I am thankful that you mentioned the webtags as that was the whole thrust of my request in the first instance. What exactly would I have to add to the observations template to trigger it being processed? I read loads of comments about this and that to do with webtags and I half get it but nowhere do I see any absolutely clear idea of what to do when you want to add an extra template to the standard set. I only need to "get " that guidance once and I will be no doubt liberated from my complete mystification. The long way round is for me to spend hours and hours absorbing the collective wisdom of the Wiki but there is nothing quite like a shortcut of an example to enable me to hit the jackpot :lol:

    any help would be huge thanks Steve
    Image

    User avatar
    PaulMy
    Posts: 2010
    Joined: Sun 28 Sep 2008 11:54 pm
    Weather Station: Davis Vantage Pro 2+ w/Envoy USB
    Operating System: Windows-8
    Location: Komoka, ON Canada
    Contact:

    Re: Cumulus processing an extra template

    Post by PaulMy » Tue 03 Dec 2019 4:56 pm

    Attached is my Observation template file with all the webtags - with thanks and credit to Ace2. Put that in your C:\Cumulus\web folder then add it to the extra files to be processed and uploaded by Cumulus.

    http://www.komokaweather.com/weather/obe.htm

    Enjoy,
    Paul
    You do not have the required permissions to view the files attached to this post.

    cohort
    Posts: 10
    Joined: Tue 24 Dec 2013 1:23 pm
    Weather Station: Fine Offset WH1080
    Operating System: Windows 7
    Location: York
    Contact:

    Re: Cumulus processing an extra template

    Post by cohort » Wed 04 Dec 2019 3:33 pm

    Hi Paul, well that piece of magic worked well !! Still not entirely sure, however........ Had a good study of the webtags in your unzipped file and came to the guess that <#location> had a lot to do with it but that is likely to be way wide of the mark. Anyway, I have now tidied up the template produced by Cumulus as you can see below

    http://the9libraries.org.uk/observations.htm

    Navigation bar now fixed and I have got the the centre panel to decrease in width and move to the centre. Thanks a million. Wistfully, I would still like a better understanding of how it got to that state as there are other templates I would like to add in due course
    Image

    User avatar
    PaulMy
    Posts: 2010
    Joined: Sun 28 Sep 2008 11:54 pm
    Weather Station: Davis Vantage Pro 2+ w/Envoy USB
    Operating System: Windows-8
    Location: Komoka, ON Canada
    Contact:

    Re: Cumulus processing an extra template

    Post by PaulMy » Wed 04 Dec 2019 4:12 pm

    Looks like you've done well.
    <#location> The station location (as you entered during setup)
    is one of many webtags in Cumulus https://cumuluswiki.wxforum.net/a/Webtags

    I am not one to give you a lesson on coding as that is beyond me, but following examples and trial and error is my motto.

    My first attempts to try to get an understanding was to create a couple of pages from my Cumulus data about 10 years ago borrowing some basic codes from the Cumulus standard T.htm files and that got me -
    http://www.komokaweather.com/weather/KomokaWeather.html
    http://www.komokaweather.com/weather/Ko ... mpare.html

    Haven't progressed much since but at least a basic understanding now.

    Enjoy,
    Paul
    You do not have the required permissions to view the files attached to this post.

    cohort
    Posts: 10
    Joined: Tue 24 Dec 2013 1:23 pm
    Weather Station: Fine Offset WH1080
    Operating System: Windows 7
    Location: York
    Contact:

    Re: Cumulus processing an extra template

    Post by cohort » Thu 05 Dec 2019 2:02 pm

    Hi Paul,
    Any progress I have made is partly down to you for several responses so a big thankyou. I will start studying webtags as from today
    Image

    Post Reply