Adding new folder to Belchertown skin

81 views
Skip to first unread message

weather list

unread,
Jan 2, 2021, 6:57:56 AM1/2/21
to weewx...@googlegroups.com
I have added a folder to the Belchertown skin containing some html files which are updated daily. The folder has an index.html.tmpl file and adding to the skin.conf [[ToDate]] list creates the folder and generates the index.html page but the HTML files are not updated. How do I configure it so that its contents are automatically uploaded periodically to the HTML_ROOT?

Δημήτρης Βήχος

unread,
Jan 4, 2021, 11:59:35 AM1/4/21
to weewx-user
i was create a file in   seasons  skin (you can do also  it in any skin) with html variants .my settings.i name my file zwntana.html.tmp for example.
after that edit the skin.conf in [CheetahGenerator] section.
put this
[[Zwntana]] 
         [[[index]]] 
         template = zwntana.html.tmpl

save the file. in next weewx upload data see the zwntana.html  file . 

Screenshot_2021-01-04_18-58-38.png


Karen K

unread,
Jan 7, 2021, 8:04:34 AM1/7/21
to weewx-user
I guess the line "index" in between is too much.

Δημήτρης Βήχος

unread,
Jan 7, 2021, 12:35:57 PM1/7/21
to weewx-user
the extra file works fine for me . uploads every five minutes with the rest of skin files
Reply all
Reply to author
Forward
0 new messages