Hop Weather
Current Version: 2.1.1- EE2
- EE3
- EE4
- EE5
- EE6
-
Installation
- Unzip the folder to a temporary location on your local hard drive.
- FTP the files from their local folders to the same locations in your EE install’s /system/user/addons/ folder on the server.
- Navigate to Add-ons in your EE control panel and install the add-on. That’s it!
-
Usage
Visit https://w1.weather.gov/xml/current_obs/ to find an airport code for the location you want weather conditions for.
Then, add the this tag to your template, and a short weather update from http://www.weather.gov/ will output in HTML:
{exp:hop_weather airport_code="KDCA"}
or
{exp:hop_weather airport_code="KDCA"} <span>{weather_string}</span> <span>{temp_f}</span> <span>{temp_f_round}</span> <span><img src="{icon_url}" /></span> {/exp:hop_weather}
The results are cached for 300 seconds.
Alternatively, if you want to show the upcoming three-day forecast, use the forecast parameter, along with longitude long and latitude lat:
{exp:hop_weather forecast="yes" long="-77.03" lat="38.89"}
-
Updating
Updating is easy:
- Download a new version from this website, and extract on your hard drive.
- Upload the new files to their appropriate locations.
-
Uninstalling
- Navigate to the Add-Ons > Modules tab in your EE control panel and uninstall the module.
- Remove the add-on directory from your EE system folder on the server.
-
Version History
Last updated: 4 years ago
2.1.1 - 2018-12-17
Change weather.gov request from http to https
2.1.0 - 2018-11-14
Add new tag with support for 3 days forecast (EE3/4 only)
1.0 - 2015-09-22
Initial release