Page 1 of 1

Yesterday webtag

Posted: Mon 03 Dec 2012 7:06 pm
by simonvfr
Thanks Steve for the <#yesterday> webtag, which I requested only a short while ago. Brilliant to have it included in the very next beta build. This is astonishingly good service. I have donated again - your support for and development of Cumulus is without peer!


I already have the tag in action, using the format parameters as you suggested: http://www.longley.fr/weather/yesterday.htm

Re: Yesterday webtag

Posted: Mon 03 Dec 2012 7:55 pm
by steve
simonvfr wrote:I already have the tag in action
That was quick - well done!

Re: Yesterday webtag

Posted: Tue 04 Dec 2012 8:32 am
by sfws
<#yesterday> is useful for those with midnight rollovers,
but if you have 9am or 10am rollover, it is wrong in the period between midnight and rollover hour, so a yesterday tag that worked like <#metdate> would be more helpful ?

Re: Yesterday webtag

Posted: Tue 04 Dec 2012 8:40 am
by steve
Yes, that did occur to me, but I forgot to add it; I'll do that.

Re: Yesterday webtag

Posted: Tue 04 Dec 2012 11:54 am
by kc2kzz
How did you get the day of the week to show up? Mine only display's 12/3/2012.

Re: Yesterday webtag

Posted: Tue 04 Dec 2012 11:57 am
by steve
kc2kzz wrote:How did you get the day of the week to show up? Mine only display's 12/3/2012.
Use the 'format' parameter; see the last section of the web tags help page, or the wiki, here: http://wiki.sandaysoft.com/a/Webtags#Ti ... _Parameter

Re: Yesterday webtag

Posted: Tue 04 Dec 2012 3:07 pm
by kc2kzz
I see, thanks!

Re: Yesterday webtag

Posted: Wed 05 Dec 2012 5:53 pm
by avoorpool
Hi Steve,

I implemented the <#yesterday> tag as well, but only see () after 'Yesterday's Date'...
Is the tag 'activated' after the first rollover time (midnight tonight)..???

Thanks,

Arthur

Re: Yesterday webtag

Posted: Wed 05 Dec 2012 6:07 pm
by steve
avoorpool wrote:I implemented the <#yesterday> tag as well, but only see () after 'Yesterday's Date'...
Is the tag 'activated' after the first rollover time (midnight tonight)..???
No, it should work straight away. Make sure you've got the 'case' correct, it has to be <#yesterday> all lower case. If you can't work out what the problem is, zip up the template and attach it.

Edit: according to your web site, you're still using build 1053?

Re: Yesterday webtag

Posted: Wed 05 Dec 2012 6:19 pm
by avoorpool
Hi Steve,

Thanks for the quick reply.

I've attached the yesterdayT.htm file as well as the todayT.htm file (for comparisson).
Today's added time & date shows correct.
Yesterday only shows () (see attachements.

Thanks,

Arthur

Re: Yesterday webtag

Posted: Wed 05 Dec 2012 6:22 pm
by steve
Your template is correct. The problem is that you're apparently not using the build of Cumulus which introduced the web tag (1054).

Re: Yesterday webtag

Posted: Wed 05 Dec 2012 7:08 pm
by avoorpool
Hi Steve,

Oops :bash: :oops:

You're always 'too fast' with new builds :lol:
I try to keep up with them, but haven't checked lately.
My appology.

Will update right away!!!

Cheers,

Arthur

metdateyesterday webtag

Posted: Sat 29 Dec 2012 3:59 pm
by sfws
Steve
Back in build 1055 on 9 December 2012, you introduced web tag <#metdateyesterday> as promised earlier in this thread.
metdate webtags.JPG
Has anybody been using it?
I've just run my test page (as first mentioned in https://cumulus.hosiene.co.uk/viewtopic.p ... 3&start=11, but attached again in the zip) on your current build 1057 and it includes that new web tag and other more recent new tags. I have included a screen extract above with the two metdate tags.
test.zip
My current session of running Cumulus, is short, rollovers were done based on logged data. So I may not be doing a valid test, but it looks like the newer tag could be processing the wrong date?

Re: Yesterday webtag

Posted: Sat 29 Dec 2012 4:01 pm
by steve
Yes, it's a copy and paste error.

Re: Yesterday webtag build 1058

Posted: Tue 01 Jan 2013 2:37 pm
by sfws
metdate webtags build 1058.JPG
OK in latest build.