Here is an example of a processed Cumulus.xml file
Code: Select all
</item>
<item name="AirLinkP1_1hrOut">
<value/>
<unit>?m</unit>
<image/>
<class>dynamic</class>
<description>Last hour average particulate matter of 2.5 ?m.. or less.. count</description>
</item>
<item name="AirLinkPm2p5Out">
<value>40.7</value>
<unit>?m</unit>
<image/>
<class>dynamic</class>
<description>Currentparticulate matter of 2.5 ?m.. or less.. count</description>
</item>
And here is part of the HTML that's is calling the tables ..
The NOW tables are showing Data correctly
The 1hrs 3hrs and 24hr are all blank.
Code: Select all
<table id="CM2Weather-Table">
<tr>
<th colspan="4">Air Quality</th>
</tr>
<tr>
<th></th><th>PM1</th><th>PM2.5</th><th>PM10</th>
</tr>
<tr>
<td>Now</td>
<td><span class="ajax" id="AirLinkPm1Out"></span></td>
<td><span class="ajax" id="AirLinkPm2p5Out"></span></td>
<td><span class="ajax" id="AirLinkPm10Out"></span></td>
</tr>
<tr>
<td>1 hour</td>
<td></td>
<td><span class="ajax" id="AirLinkPm2p5_1hrOut"></span></td>
<td><span class="ajax" id="AirLinkPm10_1hrOut"></span></td>
</tr>
<tr>
<td>3 hour</td>
<td></td>
<td><span class="ajax" id="AirLinkPm2p5_3hrOut"></span></td>
<td><span class="ajax" id="AirLinkPm10_3hrOut"></span></td>
</tr>
<tr>
<td>24 hour</td>
<td></td>
<td><span class="ajax" id="AirLinkPm2p5_24hrOut"></span></td>
<td><span class="ajax" id="AirLinkPm10_24hrOut"></span></td>
</tr>
<td>Confidence</td>
<td><span class="ajax" id="AirLinkPct_1hrOut"></span></td>
<td><span class="ajax" id="AirLinkPct_3hrOut"></span></td>
<td><span class="ajax" id="AirLinkPct_24hrOut"></span></td>
</tr>
</table>
I have check and I can see what I have done wrong?
I've not added all the XML file or all the HTML, but just a few examples...
The NOW data works but none of the others are shown.
And when the XML is processed it's also stopping the formatting to ?m rather than the correct UOM.
Thanks Steve