Hi
I have finally worked out how to get some XML data displayed on my pages. I can display the max and min temps for the previous day - which I have done in Fahrenheit, but I wanted deg C. I have looked up and down the XML data file and dont seem to be able to locate a Maxtempyest for Celsius.
I am also confused by similar sounding tags which seem to have different values. Is there a definitive list of tag names and what they actually mean!
Hi, I am currently working on that for Brian. Hopefully he likes my new design. Its rather easy to read and everythings should be in there. I should soon have it to brian and hopefully he will like what I have done and use it. Its taking ages for me to do it, because its not by anymeans a small job to get it all catagorised.
Hi
you can add more tags to the xml file (the raw file)…just as long as you keep the same system
(there should be tags for max/min in the different units (i think!)
Hi
you can add more tags to the xml file (the raw file)....just as long as you keep the same system :)
(there should be tags for max/min in the different units (i think!)
Hmm, but how does the data get into the XML file, I have looked at the HTM equivalent - where the data is separated by %.
I am sure that just calling a tag wont magically create that value. Oddly there is a monthly max temp in celsius.
Even odder my min temp for last month was 0 deg C yet WD is saying that the coldest day last month was 46.2F ??? Any ideas on either of these issues.
I know that if I display obviously incorrect data any number of people will be challenging me.!
Hi… back from holiday and keen to bottom this out…
I understand the format of the HTML page with the tags, what I am not sure is how my new tag (monthlyminimumCelsius for example) relates to the data in WD.
There must be something wrong with the current monthly min C tag as it always shows as 0c the Fahrenheit version is also wrong at (32).
Hi
I want to use which is showing as 0 deg C (the farenheit equivalent is also showing 0)… But my WD data is showing a minimum temperature of 13.6 on the 7th August…
I also want to display the max and min temps for yesterday (in deg C) there doesnt appear to be a tag for that - hence my earlier questions about adding a new one
hi
that tag uses the graph data files, and so you must have a default reading there, or wd is reading the start of the default graph data
i will make some changes and then we can see if that fixes it
(i will upload a new beta 10.15q now)
there are custom tags for yesterdays values…try using those
%maxtempyest%…Yesterday’s max temperature
%maxtempyestt%…Time of yesterday’s max temperature
%mintempyest%…Yesterday’s min temperature
they are in the units that you are using in wd though …
Hi
I want to use which is showing as 0 deg C (the farenheit equivalent is also showing 0)... But my WD data is showing a minimum temperature of 13.6 on the 7th August...
I also want to display the max and min temps for yesterday (in deg C) there doesnt appear to be a tag for that - hence my earlier questions about adding a new one
Hi,
maybe it’s easier to rename the file “owntemplate.txt” to wxlocal(anynumber). Read then the wx(anynumber) file and you’ll get something like this.
33.2…Maximum temperature so far for the month
33.2.Maximum temperature so far for the month, celsius always
14.4…Minimum temperature so far for the month
14.4.Minimum temperature so far for the month, celsius always
Hi Brian - after some delay tried that with no effect.
I still have as 0 deg, when WD tells me elsewhere the minimum temp for the month was much higher.
Whats is the difference between and which has a value of 14.6 are they both supposed to show the minimum temp in deg C for the month (which is what I want)
you could use the other one…
the former is derived by looking at the data in the current data file…which must have a temperature spike in it, or similar
ok - I’ll try that… thanks for all your help on this protracted thread. As you know I am new to this, but have some ideas that eventually I will get up on the web. Thanks