WATERBEAR:Importer lecteurs

De WIKI sur Linux (ADB)
Aller à la navigation Aller à la recherche

But

Cette article concerne l'importation des lecteurs. Nous réglons quelques problèmes PHP et ajoutons quelques options d'importations.


Deux solutions

Dans le registre, le noeud appelé est le suivant:

profiles/defaut/pages/bib/catalogue/imports/choix/lecteur_standard/_parametres/ws_options 

ayant la valeur:

bib_ws.php?module=catalogue/imports/biblio_unimarc_xs&

Il serait plus logique de mettre comme valeur, une faisant reférence au "lecteur":

bib_ws.php?module=catalogue/imports/lecteur_standard&


=


profiles/defaut/plugins/plugins/catalogue/import_export/options/lecteur_standard

=> lecteur_standard
=> chemin_fichier = div
=> nom_fonction = plugins_2_array
=> parametres
=> aide =>
=> formulaire
=> 01 - bibliothèque
=> !!liste_choix
=> nom_plugin = div/get_liste_choix
=> parametres
=> nom_liste = catalogue/catalogage/grilles/exemplaire/bibliotheque
=> ::valeur = system/bib
=> aide = bibliothèque d'inscription
=> ID = bib
=> intitule = bibliothèque
=> type_champ = select
=> 05 - plugin_importe_exe
=> !!liste_choix
=> nom_plugin = div/get_liste_choix
=> parametres
=> nom_liste = catalogue/imports/plugin_importe_exe
=> aide = Si une notice importée contient un exemplaire déjà présent dans la base, faut-il garder celui déjà présent dans la base, ou le remplacer par celui de la notice importée ?
=> ID = plugin_importe_exe
=> intitule = remplacement des exemplaires
=> type_champ = select
=> valeur = garder


Le code à injecter via l'outil d'importation dans le registre est:


[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard","nom":"lecteur_standard","valeur":"","description":"ADB new"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options","nom":"lecteur_standard","valeur":"","description":"ADB new"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard","nom":"chemin_fichier","valeur":"div","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard","nom":"nom_fonction","valeur":"plugins_2_array","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres","nom":"aide","valeur":" ","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres","nom":"formulaire","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire","nom":"01 - biblioth\\u00e8que","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire\\/01 - biblioth\\u00e8que","nom":"!!liste_choix","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire\\/01 - biblioth\\u00e8que\\/!!liste_choix","nom":"nom_plugin","valeur":"div\\/get_liste_choix","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire\\/01 - biblioth\\u00e8que\\/!!liste_choix","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire\\/01 - biblioth\\u00e8que\\/!!liste_choix\\/parametres","nom":"nom_liste","valeur":"catalogue\\/catalogage\\/grilles\\/exemplaire\\/bibliotheque","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire\\/01 - biblioth\\u00e8que","nom":"::valeur","valeur":"system\\/bib","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire\\/01 - biblioth\\u00e8que","nom":"aide","valeur":"biblioth\\u00e8que d\'inscription","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire\\/01 - biblioth\\u00e8que","nom":"ID","valeur":"bib","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire\\/01 - biblioth\\u00e8que","nom":"intitule","valeur":"biblioth\\u00e8que","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire\\/01 - biblioth\\u00e8que","nom":"type_champ","valeur":"select","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire","nom":"05 - plugin_importe_exe","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire\\/05 - plugin_importe_exe","nom":"!!liste_choix","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire\\/05 - plugin_importe_exe\\/!!liste_choix","nom":"nom_plugin","valeur":"div\\/get_liste_choix","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire\\/05 - plugin_importe_exe\\/!!liste_choix","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire\\/05 - plugin_importe_exe\\/!!liste_choix\\/parametres","nom":"nom_liste","valeur":"catalogue\\/imports\\/plugin_importe_exe","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire\\/05 - plugin_importe_exe","nom":"aide","valeur":"Si une notice import\\u00e9e contient un exemplaire d\\u00e9j\\u00e0 pr\\u00e9sent dans la base, faut-il garder celui d\\u00e9j\\u00e0 pr\\u00e9sent dans la base, ou le remplacer par celui de la notice import\\u00e9e ?","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire\\/05 - plugin_importe_exe","nom":"ID","valeur":"plugin_importe_exe","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire\\/05 - plugin_importe_exe","nom":"intitule","valeur":"remplacement des exemplaires","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire\\/05 - plugin_importe_exe","nom":"type_champ","valeur":"select","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/import_export\\/options\\/lecteur_standard\\/parametres\\/formulaire\\/05 - plugin_importe_exe","nom":"valeur","valeur":"garder","description":""}
]


manquant:

profiles/defaut/plugins/plugins/catalogue/marcxml/formatage/ville/acces/cq

=> cq
=> chemin_fichier = catalogue/marcxml
=> nom_fonction = get_datafields
=> parametres
=> champs
=> 001 - champ 200
=> sous-champs
=> 001 - $c
=> code = c
=> tag = 200


Le code à injecter via l'outil d'importation dans le registre est:


[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq","nom":"cq","valeur":"","description":"ADB new"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces","nom":"cq","valeur":"","description":"ADB new"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq","nom":"chemin_fichier","valeur":"catalogue\\/marcxml","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq","nom":"nom_fonction","valeur":"get_datafields","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq\\/parametres","nom":"champs","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq\\/parametres\\/champs","nom":"001 - champ 200","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq\\/parametres\\/champs\\/001 - champ 200","nom":"sous-champs","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq\\/parametres\\/champs\\/001 - champ 200\\/sous-champs","nom":"001 - $c","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq\\/parametres\\/champs\\/001 - champ 200\\/sous-champs\\/001 - $c","nom":"code","valeur":"c","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq\\/parametres\\/champs\\/001 - champ 200","nom":"tag","valeur":"200","description":""}
]




->retour à la personnalisation de Waterbear