Page 1 of 1

Conditions at local time xx:xx not getting updated

Posted: Wed 26 Feb 2014 2:15 am
by tul9033
I've updated my webtags to the following and time is not updating when the page refreshes. The data is being updated, but the time stays the same unless I manually update the page.

<p>The weather station in use is the <#stationtype>, and the data below updates in <span id="refresh_in"></span> seconds. The meteorological day used at this station ends at
<#rollovertime>.</p>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
</table>
<p>Forecast: <span id="forecast"></span></p>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<caption>Conditions at local time <#time format="h:nnam/pm"> on <#date format="dddddd"></caption>

Re: Conditions at local time xx:xx not getting updated

Posted: Wed 26 Feb 2014 2:52 am
by beteljuice
tul9033 wrote:I've updated my webtags to the following and time is not updating when the page refreshes. The data is being updated, but the time stays the same unless I manually update the page.

<p>The weather station in use is the <#stationtype>, and the data below updates in <span id="refresh_in"></span> seconds. The meteorological day used at this station ends at
<#rollovertime>.</p>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
</table>
<p>Forecast: <span id="forecast"></span></p>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<caption>Conditions at local time <#time format="h:nnam/pm"> on <#date format="dddddd"></caption>
This is not basic Cumulus template !

These <span id="forecast"></span>
are presumeably somebodies Ajax update routine, but ...
<caption>Conditions at local time <#time format="h:nnam/pm"> on <#date format="dddddd"></caption>
Is 'pure' Cumulus, so will only update when Cumulus has uploaded a new page (and the browser is refreshed)
I would have thought that you would have a <span id= ... </span> for time / date.