Php webtags: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
== What are web tags for? ==
 
*#Cumulus defines [[webtags|marker tokens called web tags]], thateach canof bethese incorporatedrepresents inan templateitem filesit thatcan it processesreport.
#You write a template file and Cumulus will process it creating HTML, JSON, JavaScript, PHP or whatever type of '''Output file''' you want.
**When '''Cumulus is processing these templates''', whenever those place-holders are encountered Cumulus inserts actual values into its '''output file''' that might be a web page or a script file
#You also define what encoding format Cumulus is to use for this output file, most modern files will use "utf-8", but Cumulus also allows ISO-8859-1 encoding.
**Those inserted values are derived from processing information supplied from your weather station
**When#As '''Cumulus is processing these templates''', it parses the text, copying most text straight to that output file, but whenever those place-holders are encountered Cumulus inserts actual values intoinstead itsof '''output file''' that might be athe web pagetag orinto athat scriptoutput file.
**'''Other content''' from the template file is inserted ''unchanged'' (apart from encoding in format defined by settings) into the '''output file'''.
*#*Those inserted values are derived from processing information supplied from your weather station
 
== Standard web pages ==
5,838

edits

Navigation menu