Changeset 30716 in osm for applications


Ignore:
Timestamp:
2014-10-13T21:35:14+02:00 (10 years ago)
Author:
donvip
Message:

[josm_tag2link] fix #josm10608 - add more french sources (modified patch from pyrog and FrViPoFm)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/tag2link/resources/tag2link_sources.xml

    r28549 r30716  
    22<!--
    33//    JOSM tag2link plugin.
    4 //    Copyright (C) 2011 Don-vip & FrViPofm
     4//    Copyright (C) 2011-2014 Don-vip & FrViPofm
    55//
    66//    This program is free software: you can redistribute it and/or modify
     
    4545    <src name="WHC">
    4646        <rule>
    47             <condition k="ref:whc" v="[0-9-]+" />
    48             <link name="View UNESCO sheet" href="http://whc.unesco.org/%lang(en,fr):en%/list/%v%" />
     47            <condition k="ref:whc" v="([0-9]+)(?:-.*)?" />
     48            <link name="View UNESCO sheet" href="http://whc.unesco.org/%lang(en,fr):en%/list/%v.1%" />
    4949        </rule>
    5050    </src>
     
    101101        <rule>
    102102            <condition k="ref:(FR:)?CEF" v="[A-Z0-9_]{8}" />
    103             <link name="View %name% sheet of church" href="http://www.messesinfo.catholique.fr/public/fiche.php?valcode=%v%" />
     103            <link name="View %name% sheet of church" href="http://egliseinfo.catholique.fr/#!lieu:%v%" />
    104104        </rule>
    105105    </src>
     
    139139    </src>
    140140
    141     <src name="Education Nationale" country-code="FR">
     141    <src name="Éducation Nationale" country-code="FR">
    142142        <rule>
    143143            <condition k="ref:(FR:)?UAI" />
    144             <link name="View UAI sheet of school/college" href="http://www.education.gouv.fr/bce/avancee/fiche.php?NUMERO_UAI=%v%&amp;type_info=UAI_all" />
     144            <link name="View UAI sheet of school/college" href="http://www.education.gouv.fr/pid24302/annuaire-resultat-recherche.html?lycee_name=%v%" />
    145145        </rule>
    146146    </src>
    147147
    148     <!-- social facility --> 
     148    <!-- social facility -->
    149149    <src name="FINESS" country-code="FR">
    150150        <rule>
    151             <condition k="ref:(FR:)?FINESS" v="[A-Z0-9-]{9}" />
     151            <condition k="ref:(FR:)?FINESS" v="[A-Z0-9-]{8,9}" />
    152152            <link name="View %name% sheet of hospital/home" href="http://finess.sante.gouv.fr/finess/jsp/actionDetailEtablissement.do?noFiness=%v%" />
    153153        </rule>
    154154    </src>
    155    
     155
     156    <src name="NAF" country-code="FR">
     157        <rule>
     158            <condition k="ref:FR:NAF" v="[A-Z0-9-]{5}" />
     159            <link name="View explanation of %name% code" href="http://www.rouen.cci.fr/outils/ape/Naf_liste.asp?param=2&amp;code=%v%" />
     160        </rule>
     161    </src>
     162
     163    <src name="SIRET" country-code="FR">
     164        <rule>
     165            <condition k="ref:FR:SIRET" v="(\p{Digit}{9})([0-9-]{5})" />
     166            <link name="Get identification card (pdf) for this establishment" href="http://avis-situation-sirene.insee.fr/avisitu/AvisPdf.do?nic=%v.2%&amp;siren=%v.1%" />
     167        </rule>
     168    </src>
     169
     170    <src name="La Poste" country-code="FR">
     171        <rule>
     172            <condition k="ref:FR:LaPoste" v="[0-9]{5}[A-Z]" />
     173            <link name="View %name% page of this post office" href="http://www.laposte.fr/particulier/outils/trouver-un-bureau-de-poste/bureau-detail/%v%/%v%" />
     174        </rule>
     175    </src>
     176
    156177</tag2link>
Note: See TracChangeset for help on using the changeset viewer.