Ce tutoriel vous montre comment installer les deux plugins, Blaasoft réseau météo et Web Pack

Ce tutoriel suppose que vous avez installé Weather pulisher et que vous avez l'accès FTP d'un serveur HTTP.

Configurez votre accès FTP

Dans ce tutoriel, nous utilisons Filezilla comme client FTP.

Créez les répertoires distants

Créer un répertoire "weather". Ce répertoire sera le répertoire racine pour les deux plugins.

Créez deux sous-répertoires dans weather:

  • wxnetwork contiendra les fichiers relatifs Blaasoft réseau météo
  • web contiendra les fichiers relatifs au pack web. Dans ce répertoire, créer un sous-répertoire css et un sous-répertoire img.

Configurer les connexions FTP de Weather publisher

Dans le menu gestionnaires ouvrir le gestionnaire FTP et de renseigner le nom du serveur (ou adresse IP), nom de login, mot de passe et le répertoire de destination.

Télécharger et installer le plugin Weather Network

Télécharger et executer le plugin WeatherNetwork. Puis, dans le gestionnaire de plugin ajouter le plugin avec l'outil Ajout / Mise à jour du plugin.

Lorsque vous voyez le plugin dans la liste des plugins, sélectionnez-le et cliquez sur 'Run' pour ouvrir le plugin.

Laisser le répertoire de destination par défaut wxnetwork et cliquer sur OK.

L'exécution du plugin crée pour vous:

  • Les variables dérivées nécessaire au widget.
  • Les trois rapports requis par le widget.
  • wxservice::spotReport
  • wxservice::dailyReport
  • wxservice::monthlyReport
  • Les présentations qui permettront de générer les fichiers XML: Ces fichiers sont:
    • dailydata.xml
    • monthlydata.xml
    • realtime.xml
    • spotdata.xml
  • Les trois tâches qui publieront les présentations.
    • realtime.xml est publié toutes les 10 secondes.
    • spotdata.xml est publié toutes les 10 minutes.
    • dailydata.xml est publié toutes les 1 heure.
    • monthlydata.xml est publié toutes les 1 jour.
  • Après quelques secondes, vous pouvez voir dans votre client FTP les fichiers nouvellement créés.

    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 genarated 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 exisance 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 langage (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.