Wicri:ExplorPubmed/Modèles/Paramètres, include : Différence entre versions

De Wicri Outils
imported>Jacques Ducloy
(Mise en œuvre)
imported>Jacques Ducloy
(Génération)
Ligne 14 : Ligne 14 :
 
</source>
 
</source>
 
===Génération===
 
===Génération===
 +
 +
<source lanq="sh">
 +
MediaWikiExportCommand -c fileBegin > $EXPLOR_AREA/exportInclude.xml
 +
(
 +
</source>
 +
 
<source  dilib:file="%areaCode/bin/AreaGenerWikiTemplateInclude.sh">
 
<source  dilib:file="%areaCode/bin/AreaGenerWikiTemplateInclude.sh">
ExplorGenerTemplateInclude -l 15 -g org  -t $DILIB/Data/Wicri/Sante/printIssnSante.dict  \
+
ExplorGenerTemplateInclude -p -l 15 -g org  -t $DILIB/Data/Wicri/Sante/printIssnSante.dict  \
 
           -i AffVille  -g ville \
 
           -i AffVille  -g ville \
 
           -i AffPays    -g pays \
 
           -i AffPays    -g pays \
Ligne 27 : Ligne 33 :
 
           -i MeshFr    -g MeshFr  \
 
           -i MeshFr    -g MeshFr  \
 
           -l 15                  \
 
           -l 15                  \
           -i AbsEn    -g abstract  > $EXPLOR_AREA/exportInclude.xml
+
           -i AbsEn    -g abstract   
 +
</source>
 +
 
 +
<source lanq="sh">
 +
) >> $EXPLOR_AREA/exportInclude.xml
 +
 
 +
MediaWikiExportCommand -c fileEnd >> $EXPLOR_AREA/exportInclude.xml
 +
 
 
</source>
 
</source>
  

Version du 23 juillet 2020 à 11:25

Voir aussi :

Mise en œuvre

Définition EXPLOR_AREA

EXPLOR_AREA=$WICRI_ROOT/%wikiPath/explor/%areaGenericName.storage/%areaCode
export EXPLOR_AREA
export LC_ALL='C'

Génération

MediaWikiExportCommand -c fileBegin > $EXPLOR_AREA/exportInclude.xml
 (
ExplorGenerTemplateInclude -p -l 15 -g org  -t $DILIB/Data/Wicri/Sante/printIssnSante.dict   \
          -i AffVille   -g ville \
          -i AffPays    -g pays \
          -i Author     -g auteurs \
          -i ISSN       -g ISSN \
          -i KwdEn      -g KwdEn \
          -i Title      -g title \
          -i AffRegion  -g region \
          -l 20                   \
          -i Mesh       -g Mesh   \
          -i MeshFr     -g MeshFr   \
          -l 15                  \
          -i AbsEn    -g abstract
 ) >> $EXPLOR_AREA/exportInclude.xml

MediaWikiExportCommand -c fileEnd >> $EXPLOR_AREA/exportInclude.xml

Voir aussi

Cette page est générée à partir de