We have 60 guests and no members online
jsWeather offers a solution for preparing generally available weather data and displaying it in a user-friendly way. For this, the easy and safe to use weather application interface (API) from "OpenWeatherMap" is used.
OpenWeatherMap is a commercial online service that provides an interface for retrieving weather data, weather forecasts, and historical weather data for web application and mobile device developers. Some of the available data can be accessed after a registration for free.
With the use of OpenWeatherMap three program developments have been realized:
Weather in New York27th April, 2024 - 10:21
Clear Sky
Humidity: 50 %
Wind: 11.5 mph South-West
Pressure: 1,035 hPa
Visibility: 32,808 ft
|
jsWeather is a lightweight and versatile Joomla module that displays weather information for any location, including information such as, humidity, barometric pressure, wind, visibility. It was developed using the latest current version of openWeatherMap as weather data source. Key features of jsWeather include:
|
28th April, 2024
Light Rain
6°C
Precipitation: 82%
Wind: 18.0 km/h W
Visibility: 10,000 m
Pressure: 1,005 hPa
|
29th April, 2024
Broken Clouds
15°C
Precipitation: 0%
Wind: 20.4 km/h S
Visibility: 10,000 m
Pressure: 1,015 hPa
|
30th April, 2024
Overcast Clouds
17°C
Precipitation: 0%
Wind: 18.7 km/h S
Visibility: 10,000 m
Pressure: 1,011 hPa
|
1st May, 2024
Overcast Clouds
19°C
Precipitation: 0%
Wind: 12.1 km/h E
Visibility: 10,000 m
Pressure: 1,009 hPa
|
2nd May, 2024
Overcast Clouds
15°C
Precipitation: 80%
Wind: 10.0 km/h SE
Visibility: 10,000 m
Pressure: 1,005 hPa
|
|
The necessary prerequisite is the installation of "jphpx " and the jsWeather Module. With version 1.2. jsWeather also provides all the necessary components for an implementation:
With version 1.1.5 you may use owfont, which is a symbol font for Open Weather Map API. owfont is designed to match to weather condition codes returned by OpenWeatherMap API. It uses the response code as class name (prefixed with owf) and displays the related weather icon.
When using geolocation servers, an attempt is made to deliver the geographic coordinates via the website visitor's Internet address. However, this location allocation can only be as accurate as the respective data provided by the internet providers. IP-based geolocation services can be expected to provide 55 to 80 percent accuracy for a user's region or state.
Weather data are never "precise" they always relate to a more or less large region. It is therefore quite possible that e.g. rain is displayed although there is no rain in sight at the selected location.
If you get a "400" error when entering a valid location, you should enter the place name in lower case and then try the request again. If this also leads to the same error, enter the geographic coordinates of the location.
jsWeather is free software (like Joomla!) - however you must follow the GPL license terms to use it. More about GPL and free software can be found at GNU Org.
To download jsWeather click the "download" image:
jsWeather module version 1.2 for Joomla!
Any questions? Visit the Support Forum or send an email to the developer, our webmaster.
The data for this application is provided via a web service provided by "OpenWeathermap". With my web application "jsWeather" this data is processed and displayed in the above format.
OpenWeatherMap is a commercial online service that provides an interface for retrieving weather data, weather forecasts, and historical weather data for web application and mobile device developers. Some of the available data can be accessed for free after successful registration .