Did you check the locations I mentioned in my post? To repeat:

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.


On Mon, Feb 15, 2021 at 10:05 AM Auchtermuchty Weather <shunrac...@gmail.com>
wrote:

>
> The output files need to have '.txt' and the end, but the links to them
> mustn't include it so they fit the DokuWiki way of doing things.  By
> default they do and I can't find where that code is generated to amend it.
>
>
> On Monday, 15 February 2021 at 14:56:10 UTC tke...@gmail.com wrote:
>
>> 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 <shunr...@gmail.com>
>> 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 weewx-user+...@googlegroups.com.
>>> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/8efe627d-02a3-498b-9148-9552721f6127n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/8efe627d-02a3-498b-9148-9552721f6127n%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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEDzmP_vr0%3DJ_5vLXBCgStXQ-hx6uwTTv2nGkz6rqJ39MQ%40mail.gmail.com.

Reply via email to