File:Web tag templates.zip: Difference between revisions

Sfws uploaded a new version of File:Web tag templates.zip
(Sfws uploaded a new version of File:Web tag templates.zip)
(Sfws uploaded a new version of File:Web tag templates.zip)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Summary ==
== Summary ==
A set of templates to be processed by Cumulus at different frequencies (once for static file, at realtime, standard interval and end of day as identified by file name), assigning web tags to PHP variables.
A set of templates to be processed by Cumulus at different frequencies (once for static file, at realtime, standard interval and end of day as identified by file name), assigning web tags to PHP variables.
Please note there are so many MX releases, and many of them add or alter web  tags, so Sfws finds it hard to maintain these files. The files zipped here are based on files I use for my web site that is currently running from a Raspberry Pi running both MX and the web server, but I only use some of the web tags and so make no guarantee that all the tags work correctly, nor that all web tags are included somewhere.  The intention is that this provides a starting point for you to develop scripts that suit your needs.


For more information see [[Php_webtags|Php web tags page]] that describes the background to these templates and how to set up the process and upload at different intervals.
For more information see [[Php_webtags|Php web tags page]] that describes the background to these templates and how to set up the process and upload at different intervals.
Line 12: Line 15:
# "web_tags_C1RCreal_timeT.cum" contains a subset of above web tags, those that give numerical values. For those who use a locale where decimal commas are used, this provides an alternative set of PHP variables with a RC prefix where any commas are replaced by full stops by a PHP instruction, hence these variables will be recognised as numeric by JavaScript as used for Ajax updates or for plotting charts.
# "web_tags_C1RCreal_timeT.cum" contains a subset of above web tags, those that give numerical values. For those who use a locale where decimal commas are used, this provides an alternative set of PHP variables with a RC prefix where any commas are replaced by full stops by a PHP instruction, hence these variables will be recognised as numeric by JavaScript as used for Ajax updates or for plotting charts.
# "web_tags_MXRCreal_timeT.cum" is an alternative to previous with exactly same set of tags. The only difference is the PHP replacement is not used, instead this template script is making use of feature with MX from version 3.5.4 to replace commas with full stops within the MX code.
# "web_tags_MXRCreal_timeT.cum" is an alternative to previous with exactly same set of tags. The only difference is the PHP replacement is not used, instead this template script is making use of feature with MX from version 3.5.4 to replace commas with full stops within the MX code.
[[Category:User Contributions]][[Category:Cumulus Files]]
5,838

edits