DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:weather

This is an old revision of the document!


Display Weather Info

Current Weather

Easily display weather info for any location in your wiki. Show many levels of weather info as an image using the wettr.in API. Image should obviously not be fully cached, so for infrequently accessed pages you could use nocache, but it is better to use recache which follows the cachetime setting. All DokuWiki image options are available as can be found at Image and Media Handling.

Above example:

{{ http://www.wttr.in/03589_0_t_p.png?recache|Current Weather}}

Further examples: Current Weather

{{ http://www.wttr.in/06437_1.png?recache|Current Weather}}

Current Weather

{{ http://www.wttr.in/06437_2.png?recache|Current Weather}}
tips/weather.1590590674.txt.gz · Last modified: 2020-05-27 16:44 by trailjeep

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki