I'm not sure what you're asking. If you're asking how to customize the Javascript, it depends on the skin. For the "Standard" skin, it's in the template itself, index.html.tmpl. Just modify the template. For the "Seasons" skin, it's in seasons.js.
If you're asking how the name of the generated file is set, it's the template name minus the ".tmpl" at the end. So, if you don't want the ".txt" suffix, just rename the NOAA templates. Does that answer your question? On Mon, Feb 15, 2021 at 6:45 AM Auchtermuchty Weather <[email protected]> wrote: > I much prefer the output of NOAATable for making the NOAA reports > available. > > However my template where I want this to appear is creating a Dokuwiki > Page, so if the name in the link ends with '.txt' it looks for a file > ending in '.txt.txt'. > > I have it working with the drop-downs as per the header in the Standard > website by not appending the '.txt' in the Javascript that loads the page. > > What I'd like to do is customise NOAATable so the link is missing the > '.txt' - I'd rather not write my own version of it if possible. > > But I've searched & searched and can't find where & how it's implemented. > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/79992f9a-7079-42bb-bb20-9df8fd088fbdn%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/79992f9a-7079-42bb-bb20-9df8fd088fbdn%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zED6iwNN8ka3vH_oYzWJ2nTYSdK_HQAx%2BeP4WEs2Um_tOw%40mail.gmail.com.
