Also another observation is the radar graphic doesn't change in the weather web page until I press F5 refresh. If I click the today link it reverts back to the wrong image. If I open a new browser tab and use this: https://weather.ubeaut.work/WEBCAM/radar.jpg? I get the correct radar image. Very strange.
On Thursday, 9 March 2023 at 19:33:07 UTC+11 Greg from Oz wrote: > Hi, > > Is there a way to add the date and time for example to the radar html code? > The reason I ask is because the image is being cached but if the name > changes I should get the latest image. > > This is what I mean....but it doesn't work. > radar_html = '<img src="https://weather.ubeaut.work/WEBCAM/radar.jpg > ?""$current.dateTime">' > > My web site is here: > https://weather.ubeaut.work/index.html > > Thanks > > > On Thursday, 9 March 2023 at 00:06:03 UTC+11 Claudio wrote: > >> Well done! you did a good job >> >> Il giorno lunedì 6 marzo 2023 alle 20:22:15 UTC+1 David Bätge ha scritto: >> >>> Hi all, >>> >>> >>> I just wanted to inform you that a new version is available for the >>> weewx-wdc >>> skin <https://github.com/Daveiano/weewx-wdc> for download >>> <https://github.com/Daveiano/weewx-wdc/releases/download/v3.0.0/weewx-wdc-v3.0.0.zip> >>> . >>> >>> >>> This release includes some big updates and refactoring: >>> >>> - Several Bugfixes and enhancements for weewx-forecast >>> - Show weather data for a specific day - Daily archive >>> - Make diagrams configurable per context (per period) / Refactor >>> diagrams configuration. Diagrams can now be configured per context, eg. >>> day, week or month. Per default, the day and week pages do not include >>> the >>> outTemp min/max/avg diagram anymore. >>> - Make show_min, show_max, show_sum configurable for stat tiles >>> - Support for custom data_bindings >>> - Configurable Icons >>> - Configurable unit for diagrams >>> - Configurable Rounding >>> - Configurable markers for diagrams >>> - Automatic Refresh (via http-equiv="refresh") >>> - Added new climatogram (combined chart consisting of rain as bar >>> and temp as line) for statistics and yearly statistics pages >>> - Update radar_img to allow for raw HTML (for using eg. iFrames as >>> radar maps) >>> >>> >>> Also included is "Support for combining different diagram types" (eg. >>> line and bar). I added an own implementation of chart rendering based >>> directly on D3.js <https://d3js.org/>, which will replace the current nivo >>> library <https://nivo.rocks/> in a future release. The direct usage of >>> D3 allows for really custom implementations, so I am very open to new ideas >>> of visualizations. >>> >>> >>> Please see >>> https://github.com/Daveiano/weewx-wdc/wiki/Configuration#ENABLE_D3_DIAGRAMS >>> for >>> more information if you want to test this out in v3.0.0. >>> >>> >>> Since this release includes a near rewrite of the skin.conf, you likely >>> have to make some changes to it, if you had the skin very heavily >>> customized in a previous version. >>> >>> >>> The wiki <https://github.com/Daveiano/weewx-wdc/wiki> was updated to >>> include information about all the new features and configurations. If you >>> encounter any problem or bug, just let me know! >>> >>> >>> Thank you all for your feedback/contributions to the skin! >>> >>> >>> Changelog/Download: >>> https://github.com/Daveiano/weewx-wdc/releases/tag/v3.0.0 >>> >> -- 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/02de9a07-ae22-45fa-9ca9-3929a775e006n%40googlegroups.com.