Fin
estonia.php ?
  • Envoyé: 14.02.2004, 20:44
    Invité
    rang:
    1
    enregistré depuis:
     décembre 2003
    Status:
    hors ligne
    dernière visite:
    06.03.05
    Messages:
    0
    Hi,
    Is there possible to get Estonia to the list icon_wink
    It seems that at least data of our capital Tallinn is available from MSNBC

    [quote:806b267cf2]http://www.msnbc.com/news/wea_front.asp?pos=&tab=oth&ta=y&czstr=Tallinn%2C+Estonia&action=&inst=n&accid=ENXX0004[/quote]

    I can try to edit some file by my self if I get
    some advise about following:

    $city_version = 1.0;
    $subdiv_id = xxx;
    $country_id = yy;
    $region_id = z;

    Best regards
    Priit
  • Envoyé: 14.02.2004, 21:09
    Invité
    rang:
    1
    enregistré depuis:
     décembre 2003
    Status:
    hors ligne
    dernière visite:
    06.03.05
    Messages:
    0
    Hello Priit,
    Happy to see someone from your country here.
    Here is the estonian package (And it's a "premiere" because it seems that estonia was never included with the weather module) :
    Code
    <?php

    $city_name = 'Estonia';
    $city_version = 1.0;
    $subdiv_id = 255;
    $country_id = 188;
    $region_id = 7;
    $city_data = array();

    $city_data[] = array('accid' => 'ENXX0001', 'name' => 'Kuressaare');
    $city_data[] = array('accid' => 'ENXX0002', 'name' => 'Maardu');
    $city_data[] = array('accid' => 'ENXX0003', 'name' => 'Raasiku');
    $city_data[] = array('accid' => 'ENXX0004', 'name' => 'Tallinn');
    $city_data[] = array('accid' => 'ENXX0005', 'name' => 'Tartu');
    $city_data[] = array('accid' => 'ENXX0007', 'name' => 'Kunda');
    $city_data[] = array('accid' => 'ENXX0008', 'name' => 'Narva');
    $city_data[] = array('accid' => 'ENXX0009', 'name' => 'Ristna');
    $city_data[] = array('accid' => 'ENXX0010', 'name' => 'Turi');
    $city_data[] = array('accid' => 'ENXX0011', 'name' => 'Valke-Maarja');
    $city_data[] = array('accid' => 'ENXX0013', 'name' => 'Pjarnu');
    $city_data[] = array('accid' => 'ENXX0014', 'name' => 'Valga');

    ?>

    Be sure no to include anything after the final ?> (no empty line)
    I hope I didn't mispelled any of the city, sorry if I did !!
    Don't forget to send me any langage package translation if you make one. I will include it in the next version.
    Cheers.
    Jean-Michel
  • Envoyé: 14.02.2004, 21:13
       
    vedrine
    rang:
    Site Admin Site Admin
    enregistré depuis:
     décembre 2003
    Status:
    hors ligne
    dernière visite:
    21.07.08
    Messages:
    261
    Oups !! I forgot to login, so my message appear as guest ("Invité" in french) icon_rolleyes
  • Envoyé: 14.02.2004, 22:06
    Invité
    rang:
    1
    enregistré depuis:
     décembre 2003
    Status:
    hors ligne
    dernière visite:
    06.03.05
    Messages:
    0
    Thanks a lot. I am very exited to try it!

    Priit
  • Envoyé: 14.02.2004, 22:27
    Invité
    rang:
    1
    enregistré depuis:
     décembre 2003
    Status:
    hors ligne
    dernière visite:
    06.03.05
    Messages:
    0
    Yes! It works. I will try to make translation. Dont have experience but it dosent seem difficult. Anyway it takes some time. I will let you know when ready.
    Thanks again
    Priit
Réponse rapide
 
  • Options
Code:
Couleur de la police:  
Taille de la police: