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

Add a new webtag

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

Moderator: daj

Post Reply
milos.jirik
Posts: 18
Joined: Wed 19 May 2010 5:02 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Nova Paka, Czech Republic, Central Europe
Contact:

Add a new webtag

Post by milos.jirik »

Hi Steve,

is it possible to add to the next edition of Cumulus new web tag <# RCapptemp> to display the current apparent temperature with an decimal point instead of comma?
Thank you

Milos
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: Add a new webtag

Post by steve »

Can I ask what you want it for? It's just that there are usually ways that you can do it for yourself, if using javascript or PHP, for example.
Steve
milos.jirik
Posts: 18
Joined: Wed 19 May 2010 5:02 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Nova Paka, Czech Republic, Central Europe
Contact:

Re: Add a new webtag

Post by milos.jirik »

Hi Steve,

in analogy to tags <#RCdew>, <#RCapptempTH> and <#RCapptempTL> I intend to use this tag for further expansion of web pages and other calculations in PHP. It is very difficult to re-insert this parameter to various websites and always bypassing this tag by script.
Thank you again.

Milos
User avatar
William Grimsley
Posts: 833
Joined: Thu 22 Sep 2011 5:22 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7 Home Premium 64-bit
Location: Latitude: 50.70189285 Longitude: -3.30849957
Contact:

Re: Add a new webtag

Post by William Grimsley »

milos.jirik wrote:Hi Steve,

is it possible to add to the next edition of Cumulus new web tag <# RCapptemp> to display the current apparent temperature with an decimal point instead of comma?
Thank you

Milos
I thought apparent temperature was displayed as a decimal... :?:
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: Add a new webtag

Post by steve »

Some parts of the world use a comma as their decimal separator, so Cumulus automatically puts commas in values that have decimal parts. But for some purposes (e.g. for javascript and PHP etc) the commas have to be converted to decimal points.
Steve
User avatar
William Grimsley
Posts: 833
Joined: Thu 22 Sep 2011 5:22 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7 Home Premium 64-bit
Location: Latitude: 50.70189285 Longitude: -3.30849957
Contact:

Re: Add a new webtag

Post by William Grimsley »

steve wrote:Some parts of the world use a comma as their decimal separator, so Cumulus automatically puts commas in values that have decimal parts. But for some purposes (e.g. for javascript and PHP etc) the commas have to be converted to decimal points.
Oh right. Is that Windows language settings?
User avatar
PaulMy
Posts: 3834
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Add a new webtag

Post by PaulMy »

Oh right. Is that Windows language settings?
To avoid endless unnecessary posting please read the Wiki or help before posting as it says above.

Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
William Grimsley
Posts: 833
Joined: Thu 22 Sep 2011 5:22 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7 Home Premium 64-bit
Location: Latitude: 50.70189285 Longitude: -3.30849957
Contact:

Re: Add a new webtag

Post by William Grimsley »

PaulMy wrote:
Oh right. Is that Windows language settings?
To avoid endless unnecessary posting please read the Wiki or help before posting as it says above.

Paul
Ok. Where did anyone say about the Wiki before this post?
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: Add a new webtag

Post by steve »

milos.jirik wrote:I intend to use this tag for further expansion of web pages and other calculations in PHP.
So can you not replace the comma in your PHP? As "BT" has done in his Sager forecast scripts - using str_replace(), for example.
Steve
duke

Re: Add a new webtag

Post by duke »

Wiki
I think the suggestion was to make use of it.........William.
User avatar
William Grimsley
Posts: 833
Joined: Thu 22 Sep 2011 5:22 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7 Home Premium 64-bit
Location: Latitude: 50.70189285 Longitude: -3.30849957
Contact:

Re: Add a new webtag

Post by William Grimsley »

duke wrote:
Wiki
I think the suggestion was to make use of it.........William.
Ok. Well, this issue isn't to do with me.
User avatar
PaulMy
Posts: 3834
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Add a new webtag

Post by PaulMy »

William Grimsley wrote:
duke wrote:
Wiki
I think the suggestion was to make use of it.........William.
Ok. Well, this issue isn't to do with me.
YES William the issue is directly to do and about YOU.

And sorry to get this off track for the OP.
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
milos.jirik
Posts: 18
Joined: Wed 19 May 2010 5:02 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Nova Paka, Czech Republic, Central Europe
Contact:

Re: Add a new webtag

Post by milos.jirik »

Hi Steve,

solutions like "BT" - using str_replace(), is not the right way. Thank you for all your effort and help, I will solve the problem differently.

Milos
Post Reply