Piggybacking on this old thread, I'm really not enjoying the ordeal of
trying to get the forecast service up and running. The Wiki really isn't
clear, and I don't think I'm actually as stoopid as I'm feeling right now.
Example ..
The ForecastVariables search list extension
The forecast extension includes a search list extension called
ForecastVariables. This defines a variable called $forecast that you can
use to embed fine-grained forecast information anywhere in a template, and
that is used extensively in the forecast forecast_*.inc files.
To use the $forecast variable in a template, the ForecastVariables search
list extension must be enabled within the skin for that template. For
example, to enable ForecastVariables in the Standard skin, modify
skins/Standard/skin.conf:
[CheetahGenerator]
search_list_extension = user.forecast.ForecastVariables
...
Right, so I add that line, but the ellipsis below seems to indicate that
there is more to add. Where? And what? It isn't clear.
[CheetahGenerator]
search_list_extensions = user.forecast.ForecastVariables
[[ToDate]]
[[[forecast]]]
template = index.html.tmpl
[[[table]]]
template = single-table.html.tmpl
[[[multitable]]]
template = multiple-tables.html.tmpl
[[[strip]]]
template = single-strip.html.tmpl
[[[stripvertical]]]
template = single-strip-vertical.html.tmpl
[[[multistrip]]]
template = multiple-strips.html.tmpl
[[[periods]]]
template = forecast-periods.html.tmpl
[[[zambretti]]]
template = zambretti.html.tmpl
[[[tides]]]
template = tides.html.tmpl
[[[tidesgraphic]]]
template = tides-graphic.html.tmpl
[[[iconic]]]
template = iconic.html.tmpl
[[[iconichorizontal]]]
template = iconic-horizontal.html.tmpl
[[[compact]]]
template = compact.html.tmpl
So how mpuch of that must I include? If I include it all, syslog warns me
of a duplicate line where 'ToDate' is, and weewx fails to update my page.
Basically, I just want either a forecast section on my standard page, or
else a link on the page pointing to forecast. I have my WU api but no
idea where to go from here.
--More--(82%)
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.