(Le français suit)
Hi,
Starting Thursday March 25th 2010, a new tag will be added in the
citypages XML files that can be found under this directory:
http://dd.weatheroffice.ec.gc.ca/citypage_weather/xml/
The tag is '<iconCode format="gif"/>'.
At first it will be empty and not documented, but eventually a value
will be given, and documentation will be posted. This tag will contain
the identification codes for the icons used on the corresponding Weather
Office page.
An announcement will be made on this mailing list when the data will be
included in the XML files. Documentation will be released at a later date.
Please find in attachment a sample of the new and the current files.
These files correspond to:
http://dd.weatheroffice.ec.gc.ca/citypage_weather/xml/MB/s0000011_e.xml
If you have a script or an application that automatically ingests the
citypages XML files, you are invited to test it with this sample. Code
with proper XML processing should not be affected by this addition.
Contact me if you experience any problem with this change.
Best regards,
--
Miguel Tremblay
National coordinator, commercial data services
Canadian meteorological centre (CMC)
Environment Canada
http://www.ec.gc.ca/
2121 Trans-Canada N. Suite 201 Phone: 514-421-4729
Dorval, Québec Fax: 514-421-4679
CANADA H9P 1J3 email: miguel.tremblay(a)ec.gc.ca
====================================
Bonjour,
À partir du jeudi 25 mars 2010, une nouvelle étiquette sera ajoutée dans
les fichiers XML pour les villes qui se trouvent sous ce répertoire:
http://dd.weatheroffice.ec.gc.ca/citypage_weather/xml/
L'étiquette est '<iconCode format="gif"/>'.
Dans un premier temps, elle sera vide et non documentée mais,
éventuellement, une valeur sera inscrite et la documentation publiée.
Cette étiquette contiendra les codes d'identification pour l'icône
utilisée sur la page correspondante du site météo d'Environnement Canada.
Une annonce sera faite sur cette liste de diffusion lorsque
l'information sera ajoutée dans les fichiers XML. La documentation sera
publiée par la suite.
Vous pourrez trouver en pièce jointe un échantillon du nouveau et du
fichier courant. Ces fichiers correspondent à ceux que l'on peut trouver
à cette adresse:
http://dd.weatheroffice.ec.gc.ca/citypage_weather/xml/MB/s0000011_e.xml
Si vous avez un script ou une application qui ingère automatique les
fichiers XML pour les villes, vous êtes invité à les tester avec cet
échantillon. Le code avec un traitement XML approprié ne devrait pas
être affecté par cette addition.
Contactez-moi si vous éprouvez des difficultés avec cette modification.
Cordialement,
--
Miguel Tremblay
Coordonnateur national des services commerciaux de données
Centre météorologique canadien (CMC)
Environnement Canada
http://www.ec.gc.ca/
2121 Trans-Canada N. Suite 201 Téléphone: 514-421-4729
Dorval, Québec Fax: 514-421-4679
CANADA H9P 1J3 courriel: miguel.tremblay(a)ec.gc.ca