Php webtags: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
{{AddOnBanner|name=PHP Webtags|type=Web templates, PHP|author=David Jamieson|contact='DAJ' via the forum|updated=29 Dec 2011|version=1.18}}
Cumulus automatically preparesprocesses a number of Webtemplate pages by usinginto HTML templateweb filespages. These template files contain [[webtags]] which Cumulus replaces with actual values from your weather station.
 
If you adopt PHP Hypertext Processing on your web site, you could [[Customised_templates|customise]] those standard template pages by simply using PHP script to add extra content after the template has been processed by Cumulus.
For those using PHP on their website it is possible to have Cumulus process one single file and place all the [[webtags]] values into a file of PHP variables. You can include this file in all your PHP webfiles and use the variables as you would in PHP.
 
ForIt is more efficient for those using PHP on their website it is possible to have Cumulus process one single file and place all the [[webtags]] values into a file of PHP variables. You can include this file in all your PHP webfilesweb files and use the variables as you would in PHP. In this case your customised pages would replace any reference to a Cumulus web tag <#xxyyzz> by a PHP variable $xxyyzz.
The PHP file contains all current [[webtags]] produced by Cumulus. (480 webtags as per [[version 1.9.2]]b1026)
 
The PHP file contains all current [[webtags]] produced by Cumulus. (480 webtags as per [[versionv 1.9.2]]b1026)4 b.1099.
 
A similar project is available for [[xml webtags|XML webtags]] (Current unmaintained)
5,838

edits