This tutorial shows you how to install both plugins, Blaasoft Weather Network and the Web Pack.

This tutorial assumes that you have installed Weather Publisher and that you have an FTP access to an HTTP server.

Setup your FTP access

In this tutorial we're using Filezilla as an FTP client.

Create the remote directories

Create a directory 'weather'. This directory will be the root directory for the two plugins.

Create two subdirectories into weather:

  • wxnetwork will contain files relative to the Blaasoft Weather Network
  • web will contain files relative to the web pack. In the newly created web directory, create a css subdirectory and an img subdirectory.

Configure Weather Publisher FTP connections

From the managers menu open the FTP manager and fill the server name (or IP address), login name, password and the destination directory.

Download and install Weather Network plugin

Download and launch the WeatherNetwork plugin. Then from the plugin manager add the plugin with the Add/Update plugin.

When you see the plugin in the plugin list, select it and click 'Run' to open the plugin.

Let the default destination directory to wxnetwork and click Ok.

Running the plugin creates for you:

  • The derivated variables needed by the widget.
  • The three reports needed by the widget.
  • wxservice::spotReport
  • wxservice::dailyReport
  • wxservice::monthlyReport
  • The presentations that will generate the XML files: These files are:
    • dailydata.xml
    • monthlydata.xml
    • realtime.xml
    • spotdata.xml
  • The three tasks that will publish the presentations.
    • realtime.xml is published every 10 seconds.
    • spotdata.xml is published every 10 minutes.
    • dailydata.xml is published every 1 hour.
    • monthlydata.xml is published every 1 day.
  • After a few seconds you should be able to see in your FTP client the newly created files.

    You should be available to open the XML files in an HTTP browser. In our example the realtime.xml file is available as with the http://xeon.blaasoft.com/wxt520/weather/wxnetwork/realtime.xml url.

    Register your station on your account manager

    • Login to your account on the Blaasoft website
    • In your account manager click 'Weather network manager'
    • Lists all the licenses generated for your account. In the station column, click 'create to create a station associated to your license. You need to enter the following informations to setup your station
      • Station name: the station name will appear in the widget title bar
      • Station enabled: this check box must be checked. If you want to remove your station from the widget, just unselect it.
      • The data URL must match the directory of the files needed by the widget. In this example it is http://xeon.blaasoft.com/wxt520/weather/wxnetwork. The system will check that the URL is OK, by checking the existance of http://xeon.blaasoft.com/wxt520/weather/wxnetwork/realtime.xml.

    Once you have validated your station, launch (if already launched you need to close it and reopen it) the widget. You can access to your Weather station.

    Download and install the web pack plugin

    Go to blaasoft plugins download page to get webpack.jar and click the 'Add/Update' button to install the plugin.

    Then, select the 'Web pack' row in list, and click 'Run'.

    The 'Web Pack' window should appear.

    Select your preferred language (English or French) and units.

    Keep the default values for the 'Presentation folder', 'Action type' and destination directory.

    Then, click 'Ok' to run the plugin.

    The plugin creates for you the presentations in the web presentation folder. It contains HTML and SVG presentations. You can of course edit and modify each of them.

    The css folder contains a style sheet applied to HTML pages.

    The img folder contains the navigation buttons included in HTML pages.

    The plugin creates for you the tasks that publish HTML pages and PNG files to your FTP server.

    After a few minutes you should be able to see in your FTP client the published documents.

    You can now open your favorite browser to see your Weather site.