DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

Our Privacy Policy

tips:weather

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/03589_1.png?recache|Current Weather}}

Current Weather

{{ http://www.wttr.in/03589_2.png?recache|Current Weather}}
tips/weather.txt · Last modified: 2020-05-27 17:53 by trailjeep