I've noticed the PHP Webtags script has not been updated since Dec 2011. I was wondering if there is a newer script that can be used or if this script is just abandoned? My site uses PHP, so it would be difficult to convert to another script.
- Jared
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
Updated PHP Webtags?
Moderator: daj
-
duke
Re: Updated PHP Webtags?
You can just add as many of the webtags that Cumulus produces as you require them. Just follow the same format. If you alter the '.ini' Cumulus will produce a file called 'webtags'txt' which lists all the current webtags.
- SpaceWalker
- Posts: 67
- Joined: Sun 04 Mar 2012 2:54 am
- Weather Station: Davis Vantage
- Operating System: Windows XP
- Location: Eastern-Canada
- Contact:
Re: Updated PHP Webtags?
Duke, I might be wrong, but I think the line 'ListWebTags=1' must be added under the '[Station]' header of the 'cumulus.ini' file, such as:
Code: Select all
[Station]
ListWebTags=1
...
R_o_B
There are no Time and Movement if there is no Space.
There are no Movement and Space without Time.
There are no Space and Time without Movement.
But if one of the three exists also the other two exist.
There are no Time and Movement if there is no Space.
There are no Movement and Space without Time.
There are no Space and Time without Movement.
But if one of the three exists also the other two exist.
-
duke
Re: Updated PHP Webtags?
You are correct and I did state in my post:
If you alter the '.ini' Cumulus will produce a file called 'webtags'txt'
- GraemeT
- Posts: 312
- Joined: Wed 21 Oct 2009 11:19 am
- Weather Station: La Crosse WS-2355 & WS-2306
- Operating System: Windoze 7, 10, 11
- Location: Bayswater, Australia
- Contact:
Re: Updated PHP Webtags?
I have built an up to date cumuluswebtags.php which contains all webtags generated by Cumulus v1.9.4 b1085.
Here is the link to it: http://weather.gktnet.com/public/weathe ... ebtags.txt
Just save as cumuluswebtags.php and it's ready to use.
For those who wish to convert the file WebTags.txt themselves, here is a Dreamweaver Regular expression to do it:
Save as filename.dwr and then load in DW's search box.
Cheers.
Here is the link to it: http://weather.gktnet.com/public/weathe ... ebtags.txt
Just save as cumuluswebtags.php and it's ready to use.
For those who wish to convert the file WebTags.txt themselves, here is a Dreamweaver Regular expression to do it:
Code: Select all
<?xml version="1.0"?>
<dwquery>
<queryparams matchcase="false" ignorewhitespace="false" useregexp="true" wholeword="false" />
<find>
<qtext qname="(\w+)" qraw="true"></qtext>
</find>
<replace action="replaceText" param1="$$1 = '<#$1>';" param2=""/>
</dwquery>
Cheers.
Cheers,
Graeme.
Graeme.
-
BCJKiwi
- Posts: 1259
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: Updated PHP Webtags?
Remember to remove the wind direction and speed tags unless you really need them - they each contain multiple entries making the tag file significantly larger.
