The value of HTML_ROOT is available as $HTML_ROOT.

You'll be OK with the example you gave, but keep in mind that, in general,
HTML_ROOT is relative to WEEWX_ROOT, which is not available.

-tk

On Fri, Jan 3, 2025 at 6:36 AM 'Steeple Ian' via weewx-user <
weewx-user@googlegroups.com> wrote:

> A quick question. Is it possible to generate path information with Cheetah?
>
> For instance I have: -
>
> [StdReport]
>
>     # Where the skins reside, relative to WEEWX_ROOT
>     SKIN_ROOT = skins
>
>     # Where the generated reports should go, relative to WEEWX_ROOT
>     HTML_ROOT = /var/www/html/seasons
>
> Could in a .tmpl file I say some think like: -
>
>      $StdReport.html_root
> to returm the path
>
> Or am I being over simplistic?
>
> Thanks,
> Ian
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/weewx-user/9bd90b9d-171e-4757-9025-5b301ebcde74n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/9bd90b9d-171e-4757-9025-5b301ebcde74n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEDNu5X7fd60G7fjevubLSHGdJndgOr4E-wknihJ7Pz%3DEA%40mail.gmail.com.

Reply via email to