création d'un set en fonction du publisher

  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:78099bf990eb6385009a00b293b9c3e2' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonsoir Françoise,</p>\n<p>Attention, car les IHM d\'ORI-OAI (d\'un point de vue général) ont été<br />\noptimisées pour Firefox !!!</p>\n<p>Jacques</p>\n<p>Le 24/01/2011 17:35, Françoise Schortin a écrit :<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Bonjour Yohan et Grégoire,<br />\n><br />\n><br />\n> Je fais une distinction entre IE et Firefox parce qu\'ils n\'ont pas le meme comportement, en ce qui concerne la gestion des fenêtres.<br />\n> En tout cas, chez moi.<br />\n> la gestion d</div>\n</blockquote>\n</div>\n', created = 1507748940, expire = 1507835340, headers = '', serialized = 0 WHERE cid = '4:78099bf990eb6385009a00b293b9c3e2' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:78099bf990eb6385009a00b293b9c3e2' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonsoir Françoise,</p>\n<p>Attention, car les IHM d\'ORI-OAI (d\'un point de vue général) ont été<br />\noptimisées pour Firefox !!!</p>\n<p>Jacques</p>\n<p>Le 24/01/2011 17:35, Françoise Schortin a écrit :<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Bonjour Yohan et Grégoire,<br />\n><br />\n><br />\n> Je fais une distinction entre IE et Firefox parce qu\'ils n\'ont pas le meme comportement, en ce qui concerne la gestion des fenêtres.<br />\n> En tout cas, chez moi.<br />\n> la gestion d</div>\n</blockquote>\n</div>\n', created = 1507748940, expire = 1507835340, headers = '', serialized = 0 WHERE cid = '4:78099bf990eb6385009a00b293b9c3e2' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:66bf859dd7d64152e0b87a56fda7d3d0' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"><!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n <head>\n <meta content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\">\n </head>\n <body text=\"#000000\" bgcolor=\"#ffffff\">\n Bonjour,<br>\n <br>\n Une nouvelle version 1.6.3 du module repository est disponible, elle\n corrige certains problèmes lors de la génération des sets.<br>\n Attention : son utilisation peux nécessiter la modification du\n fichier liusConfig.xml dans le module indexing.<br>\n La doc a été modifiée sur le site ORI-OAI, concernant l\'étape 3 de\n l\'ajout de métadonnées :<br>\n <br>\n <a class=\"moz-txt-link-freetext\" href=\"http://www.ori-oai.org/display/ORIOAIrepository/Utilisation\">http://www.ori-oai.org/display/ORIOAIrepository/Utilisation</a><br>\n <br>\n Elle est disponible ici :<br>\n <br>\n <a class=\"moz-txt-link-freetext\" href=\"https://subversion.cru.fr/ori-oai-repo/tags/1.6.3\">https://subversion.cru.fr/ori-oai-repo/tags/1.6.3</a><br>\n <br>\n Vous pouvez simpement aller dans votre répertoire d\'installation du\n repository (ex. /usr/local/ori/src/ori-oai-repository-svn) et faire\n :<br>\n <br>\n svn switch <a class=\"moz-txt-link-freetext\" href=\"https://subversion.cru.fr/ori-oai-repo/tags/1.6.3\">https://subversion.cru.fr/ori-oai-repo/tags/1.6.3</a><br>\n <b><br>\n </b>Vous pouvez par exemple définir un set basé sur <b>//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(url)</b><br>\n <br>\n Voici brièvement les étapes de configuration pour ce champ xml : <br>\n 1. REPOSITORY :  repository-set.xml <br>\n <br>\n &lt;bean id=\"set-UNR-NPDC\"\n class=\"org.orioai.repository.domain.model.set.OaiSetInfos\"\n init-method=\"init\"&gt;<br>\n ....<br>\n &lt;bean\n class=\"org.orioai.repository.domain.model.set.OaiSetSourceInfos\"&gt;<br>\n                         &lt;property name=\"xpath\"&gt;<br>\n                             &lt;list&gt;<br>\n                                \n&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(url)&lt;/value&gt;<br>\n                             &lt;/list&gt;<br>\n                         &lt;/property&gt;<br>\n &lt;/bean&gt;<br>\n <br>\n 2. VOCABULARY : <br>\n <br>\n &lt;vdex:termIdentifier&gt;1&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 - Sciences\n et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n   &lt;vdex:metadata&gt;<br>\n        \n &lt;orioai:value&gt;<a class=\"moz-txt-link-freetext\" href=\"http://www.univ-lille1.fr\">http://www.univ-lille1.fr</a>&lt;/orioai:value&gt;<br>\n   &lt;/vdex:metadata&gt;<br>\n <br>\n <br>\n 3. INDEXING : configIndexing.xml :<br>\n Comme l\'URL  contient un caractère reservé \":\" , il faut le faire\n remplacer pour que les recherches dans l\'index fonctionnent : <br>\n <br>\n &lt;replacement stringToReplace=\":\" stringReplacement=\"@\"&gt;<br>\n                        \n &lt;metadata&gt;md-ori-oai-id&lt;/metadata&gt;<br>\n                        \n &lt;metadata&gt;md-ori-oai-namespace&lt;/metadata&gt;<br>\n                        \n&lt;metadata&gt;%2F%2Flom%3AlifeCycle%2Flom%3Acontribute%5Blom%3Arole%2Flom%3Avalue%3D%27publisher%27%5D%2Flom%3Aentity%28url%29&lt;/metadata&gt;<br>\n &lt;/replacement&gt;<br>\n <br>\n  4. INDEXING :\n liusConfig.xml :<br>\n <br>\n &lt;!-- LOM --&gt;<br>\n                         &lt;xmlFile\n ns=<a class=\"moz-txt-link-rfc2396E\" href=\"http://ltsc.ieee.org/xsd/LOM\">\"http://ltsc.ieee.org/xsd/LOM\"</a> setBoost=\"2.0\"&gt;<br>\n                                 &lt;indexer\n class=\"org.orioai.indexing.index.indexer.OriOaiXmlFileIndexer\"&gt;<br>\n                                        \n &lt;mime&gt;text/xml&lt;/mime&gt;<br>\n                                 &lt;/indexer&gt;<br>\n                                 &lt;fields&gt;^M<br>\n                                 <br>\n                                 &lt;luceneField\n name=\"%2F%2Flom%3AlifeCycle%2Flom%3Acontribute%5Blom%3Arole%2Flom%3Avalue%3D%27publisher%27%5D%2Flom%3Aentity%28url%29\"\n\n xpathSelect=\"//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(url)\"\n\n type=\"Text\" setBoost=\"1.5\"/&gt;<br>\n <br>\n ET :<br>\n &lt;searchResult&gt;<br>\n                 &lt;fieldsToDisplay setHighlighter=\"true\"&gt;<br>\n                 ...<br>\n                 ...<br>\n <br>\n &lt;luceneField\n name=\"%2F%2Flom%3AlifeCycle%2Flom%3Acontribute%5Blom%3Arole%2Flom%3Avalue%3D%27publisher%27%5D%2Flom%3Aentity%28url%29\"\n\n xpathSelect=\"//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(url)\"\n\nlabel=\"//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(url)\"/&gt;<br>\n <br>\n Cette configuration a été testée et fonctionne, cependant n\'hésitez\n pas à nous recontacter en cas de problème.<br>\n <br>\n Cordialement,<br>\n <br>\n François<br>\n <br>\n -- <br>\n <div class=\"moz-signature\">\n <style type=\"text/css\">a:link, a:visited { color: rgb(102, 102, 102); text-decoration: underline; }a:hover, a:active { color: rgb(102, 102, 102); text-decoration: none; }</style>\n <table width=\"597\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n </table>\n <table width=\"597\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n <tbody>\n <tr>\n <td valign=\"middle\" width=\"150\" align=\"center\"><a\n href=\"http://www.inp-toulouse.fr\"><img\n src=\"cid:<span id=\"919301b5c518c9ff00d1a59ebc883be5\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'919301b5c518c9ff00d1a59ebc883be5\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#112;&#97;&#114;&#116;&#49;&#46;&#48;&#55;&#48;&#48;&#48;&#53;&#48;&#56;&#46;&#48;&#48;&#48;&#49;&#48;&#57;&#48;&#49;&#64;&#101;&#110;&#115;&#101;&#101;&#105;&#104;&#116;&#46;&#102;&#114;\'+\'\">\'+\'&#112;&#97;&#114;&#116;&#49;&#46;&#48;&#55;&#48;&#48;&#48;&#53;&#48;&#56;&#46;&#48;&#48;&#48;&#49;&#48;&#57;&#48;&#49;&#64;&#101;&#110;&#115;&#101;&#101;&#105;&#104;&#116;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\" alt=\"\"\n height=\"46\" width=\"60\" border=\"0\"></a></td>\n <td valign=\"bottom\">\n <div style=\"font-size: 11px; font-family: Arial;\"><font\n color=\"#666666\"><b>François Jannin</b><br>\n DSI - Développement et déploiement d\'applications<br>\n Tél : +33 (0)5 34 32 30 51<br>\n </font></div>\n </td>\n </tr>\n </tbody>\n </table>\n <table width=\"597\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n <tbody>\n <tr>\n <td valign=\"top\">\n <div style=\"text-align: left; font-size: 9px; font-family:\n Arial;\"><font color=\"#666666\"><img alt=\"\"\n src=\"cid:<span id=\"a3d5e92c57484df32761ceb295829e87\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'a3d5e92c57484df32761ceb295829e87\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#112;&#97;&#114;&#116;&#50;&#46;&#48;&#52;&#48;&#51;&#48;&#54;&#48;&#51;&#46;&#48;&#50;&#48;&#50;&#48;&#48;&#48;&#48;&#64;&#101;&#110;&#115;&#101;&#101;&#105;&#104;&#116;&#46;&#102;&#114;\'+\'\">\'+\'&#112;&#97;&#114;&#116;&#50;&#46;&#48;&#52;&#48;&#51;&#48;&#54;&#48;&#51;&#46;&#48;&#50;&#48;&#50;&#48;&#48;&#48;&#48;&#64;&#101;&#110;&#115;&#101;&#101;&#105;&#104;&#116;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\"\n height=\"58\" width=\"597\"></font></div>\n </td>\n </tr>\n </tbody>\n </table>\n <table width=\"597\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n <tbody>\n <tr>\n <td valign=\"top\">\n <div style=\"text-align: right; font-size: 9px;\n font-family: Arial;\"><font color=\"#666666\">INP Toulouse<br>\n 6 allée Emile Monso - BP 34038<br>\n 31029 Toulouse cedex 4<br>\n <a href=\"http://www.inp-toulouse.fr\">http://www.inp-toulouse.fr</a><br>\n </font></div>\n </td>\n </tr>\n </tbody>\n </table>\n <table>\n <div style=\"font-size: 9px; font-family: Arial;\" align=\"left\"><img\n src=\"cid:<span id=\"e390b2fbe7141abbf400b0017fdabd65\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'e390b2fbe7141abbf400b0017fdabd65\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#112;&#97;&#114;&#116;&#51;&#46;&#48;&#50;&#48;&#52;&#48;&#53;&#48;&#56;&#46;&#48;&#53;&#48;&#53;&#48;&#56;&#48;&#54;&#64;&#101;&#110;&#115;&#101;&#101;&#105;&#104;&#116;&#46;&#102;&#114;\'+\'\">\'+\'&#112;&#97;&#114;&#116;&#51;&#46;&#48;&#50;&#48;&#52;&#48;&#53;&#48;&#56;&#46;&#48;&#53;&#48;&#53;&#48;&#56;&#48;&#54;&#64;&#101;&#110;&#115;&#101;&#101;&#105;&#104;&#116;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\" height=\"16\"\n width=\"16\"><font color=\"#cccccc\"> Avant d’imprimer ce\n courriel, demandez-vous si ceci est nécessaire.</font></div>\n </table>\n </div>\n <br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 17:38, françois lefebvre a écrit :\n <div class=\"emailFilter_Toggle\"><div class=\"emailFilter_Author_0\"><blockquote>\n <meta content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\">\n Bon c\'est bien ce que je pensais....<br>\n <br>\n Après avoir allégé l\'URL de moissonnage des caractères spéciaux,\n je me suis occupé de l\'accent et du tiret de mon critère :<br>\n <br>\n &lt;vdex:term validIndex=\"true\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;LILLE1&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 -\n Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n   &lt;vdex:metadata&gt;<br>\n     &lt;orioai:value&gt;<b>Universit*</b>&lt;/orioai:value&gt;<br>\n   &lt;/vdex:metadata&gt;<br>\n &lt;/vdex:term&gt;<br>\n <br>\n <b>&gt;&gt; Comme ceci, ca marche.</b><br>\n <br>\n Mais ca, non :<br>\n <br>\n &lt;vdex:term validIndex=\"true\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;LILLE1&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 -\n Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n   &lt;vdex:metadata&gt;<br>\n     &lt;orioai:value&gt;<b>Universit<big><big><font\n color=\"#cc0000\">é</font></big></big>*</b>&lt;/orioai:value&gt;<br>\n   &lt;/vdex:metadata&gt;<br>\n &lt;/vdex:term&gt;<br>\n <br>\n <br>\n Avec le \"é\" en plus cela ne fonctionne plus.<br>\n Cela risque de faire pareil avec les espaces.<br>\n <br>\n Il me faut trouver un moyen d\'encoder le critère<br>\n Pour info, le html.encode ne fonctionne pas  :\n Universit%C3%83C2%A9+Lille1+-+Sciences+et+Technologies<br>\n <br>\n <br>\n Voilà... si quelqu\'un a une idée....<br>\n <br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 17:14, françois lefebvre a écrit :\n <div class=\"emailFilter_Author_1\"><blockquote>\n <meta content=\"text/html; charset=UTF-8\"\n http-equiv=\"Content-Type\">\n Je complète ce sujet avec les idées de Jacques :<br>\n <br>\n J\'ai remplacé le \"-\" par un espace, ou par \"*\".<br>\n J\'ai toujours un comportement pas logique.<br>\n <br>\n <br>\n <br>\n Autre point :<br>\n <br>\n Si cela vient de l\'URL à utiliser pour me moissonner qui\n comporte des caractères spéciaux :<br>\n <a moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\nhref=\"http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=\">http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=</a><b>set-UNR-NPDC-RPN:Universit%C3%A9%20Lille1%20Sciences%20et%20Technologies</b><br>\n <br>\n <br>\n J\'ai donc comparé mon vocabulaire avec\n \"dewey_100_taxonomie_regexp.xml\" et\n \"search_unit_taxonomie_regexp.xml\".<br>\n <br>\n J\'ai donc fait mon vocabulaire sous cette forme :<br>\n <br>\n &lt;vdex:term validIndex=\"true\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;<b>LILLE1</b>&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 -\n Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n   &lt;vdex:metadata&gt;<br>\n     <b>&lt;orioai:value&gt;Université Lille1 - Sciences et\n Technologies&lt;/orioai:value&gt;</b><br>\n   &lt;/vdex:metadata&gt;<br>\n &lt;/vdex:term&gt;<br>\n <br>\n &lt;/vdex:vdex&gt;<br>\n <br>\n Cela me donne donc une URL sans caractère spécial pour pouvoir\n nous moissonner :<br>\n <a moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\nhref=\"http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=\">http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=</a><b>set-UNR-NPDC-RPN:LILLE1</b><br>\n <br>\n <br>\n J\'ai pris soin dans \"repo-sets.xml\" de modifier :<br>\n <br>\n &lt;property name=\"valueXpath\" value=\"<b>.//vdex:termIdentifier</b>\"/&gt;<br>\n <br>\n par :<br>\n <br>\n &lt;property name=\"valueXpath\" value=\"<b>.//orioai:value</b>\"/&gt;<br>\n <br>\n <br>\n <br>\n Mais cela n\'a pas l\'air de fonctionner non plus :/<br>\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 16:12, françois lefebvre a écrit :\n <div class=\"emailFilter_Author_2\"><blockquote>\n <meta content=\"text/html; charset=UTF-8\"\n http-equiv=\"Content-Type\">\n bonjour,<br>\n <br>\n Pour mieux expliquer ma démarche :<br>\n Je souhaite créer un set pour l\'UNR pour l\'avenir, si nous\n avons trop de ressources, le set sera créé et je pourrai\n appliquer des filtres.<br>\n Mais actuellement, je n\'ai aucun critère à définir.<br>\n Je dois donc faire un critère de sélection bidon pour que le\n set fonctionne tout de même.<br>\n <br>\n Je souhaite donc créer un set UNR ayant comme critère de\n sélection, les ressources ayant comme publisher : Université\n Lille1 - Sciences et Technologies.<br>\n Sachant que toutes mes ressources ont comme publisher cette\n valeur ( écrit en dur à l\'initialisation d\'une ressource ),\n c\'est donc un critère de sélection qui ne va rien filtrer :)<br>\n <br>\n <br>\n Seulement, après avoir défini mon vocabulaire statique :<br>\n <font color=\"#3333ff\">&lt;vdex:term validIndex=\"false\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;<b>Université Lille1 - Sciences\n et Technologies</b>&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 -\n Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n &lt;/vdex:term&gt;</font><br>\n <br>\n <br>\n Et après avoir créé un set dans le fichier repository-sets.xml\n :<br>\n <br>\n <font color=\"#3333ff\">&lt;bean id=\"set-UNR-NPDC\"\n class=\"org.orioai.repository.domain.model.set.OaiSetInfos\"\n init-method=\"init\"&gt;<br>\n         &lt;property name=\"vocabularyId\"\n value=\"set-UNR-NPDC-RPN\"/&gt;<br>\n         &lt;property name=\"rootTag\" value=\"vdex\"/&gt;<br>\n         &lt;property name=\"termXpath\"\n value=\"//vdex:term\"/&gt;<br>\n         &lt;property name=\"valueXpath\"\n value=\".//vdex:termIdentifier\"/&gt;<br>\n         &lt;property name=\"setSpecXpath\"\n value=\"vdex:termIdentifier\"/&gt;<br>\n         &lt;property name=\"setNameXpath\"\n value=\"vdex:caption/vdex:langstring[@language = \'fr\']\"/&gt;<br>\n         &lt;property name=\"vocabularyNameXpath\"\n value=\"//vdex:vocabName/vdex:langstring[@language =\n \'fr\']\"/&gt;<br>\n         &lt;property name=\"vocabularyNameDefault\"\n value=\"UNR-NPDC-RPN\"/&gt;<br>\n       <br>\n         &lt;property name=\"xpathSources\"&gt;<br>\n             &lt;map&gt;<br>\n                 &lt;entry&gt;<br>\n                     &lt;key&gt;<br>\n                         &lt;value&gt;<a\n moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\n href=\"http://ltsc.ieee.org/xsd/LOM\">http://ltsc.ieee.org/xsd/LOM</a>&lt;/value&gt;<br>\n                     &lt;/key&gt;<br>\n                     <br>\n                     &lt;bean\n class=\"org.orioai.repository.domain.model.set.OaiSetSourceInfos\"&gt;<br>\n                         &lt;property name=\"xpath\"&gt;<br>\n                             &lt;list&gt;<br>\n                                 <b>&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(name)&lt;/value&gt;<br>\n                                \n&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(fname)&lt;/value&gt;<br>\n                                \n&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(organization)&lt;/value&gt;</b><br>\n                             &lt;/list&gt;<br>\n                         &lt;/property&gt;  <br>\n                     &lt;/bean&gt;<br>\n                   <br>\n                 &lt;/entry&gt;<br>\n             &lt;/map&gt;<br>\n         &lt;/property&gt;<br>\n     &lt;/bean&gt;</font>    <br>\n <br>\n <br>\n Quand je teste ce que cela donne, le set ne fonctionne pas :/<br>\n <br>\n Je pense qu\'il y a un souci avec le \"-\" ou l\'accent :/<br>\n <br>\n Comment puis je le coder autrement ?<br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 15:04, Grégoire Neuville a écrit :\n <div class=\"emailFilter_Author_3\"><blockquote>Bonjour, <br>\n <br>\n Le repository à moissonner ne doit pas être configuré comme\n repository local dans le harvester\n (local.repositoryIdentifier) . Je viens de me faire avoir en\n faisant des tests locaux. Mais peut-être n\'est ce pas votre\n cas... <br>\n <br>\n En espérant que ça aide, <br>\n <br>\n Grégoire. <br>\n <br>\n On 23/03/2011 14:52, françois lefebvre wrote: <br>\n <div class=\"emailFilter_Author_4\"><blockquote type=\"cite\">  Bonjour, <br>\n <br>\n Je souhaite créer un set pour moissonnage en fonction du\n publisher ( <br>\n xpath : <br>\n //lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(name)\n\n\n\n <br>\n ). <br>\n <br>\n J\'ai donc : <br>\n - créé un vocabulaire \"set-UNR-NPDC-RPN\" ( + conversion en\n UTF8 ) <br>\n - mes modifs sont prises en compte dans le module après\n avoir cliqué sur <br>\n \"forcer le cache\" <br>\n <br>\n <br>\n - créé un set dans le fichier \"repository-sets.xml\" <br>\n - en faisant un \"ListSets\", j\'ai bien : <br>\n <br>\n <br>\n - j\'ai réindexé tout pour être sûr. <br>\n <br>\n <br>\n <br>\n Mais, aucune ressource ne tombe dans ce set :/ <br>\n Pourtant il devrait y avoir une ressource : ( screenshot\n du module <br>\n indexing ) <br>\n <br>\n <br>\n <br>\n <br>\n Est ce un problème d\'accent dans :\n &lt;orioai:value&gt;Universit*é* Lille1 - <br>\n Sciences et Technologies&lt;/orioai:value&gt;    ?? <br>\n <br>\n <br>\n Merci pour votre aide. <br>\n <br>\n <br>\n -- <br>\n Cordialement. <br>\n <br>\n <br>\n François Lefebvre <br>\n Bibliothèque Universitaire de Lille 1 <br>\n Cité Scientifique - B.P. 30155 <br>\n 59653 VILLENEUVE D\'ASCQ CEDEX <br>\n Tél.: 03.20.33.60.73 <br>\n <br>\n </blockquote></div>\n <br>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </blockquote></div></div>\n <br>\n <br>\n <div class=\"moz-signature\"><br>\n <table>\n </table>\n </div>\n </body>\n</html>\n</div>', created = 1507748942, expire = 1507835342, headers = '', serialized = 0 WHERE cid = '4:66bf859dd7d64152e0b87a56fda7d3d0' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:25c23b5aa582a65cf083862210b8295e' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"><!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n <head>\n <meta content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\">\n </head>\n <body text=\"#000000\" bgcolor=\"#ffffff\">\n Bonjour,<br>\n <br>\n Après analyse du problème, il apparait qu\'à l\'heure actuelle\n l\'affectation d\'un set à une fiche en se servant d\'un champs\n possédant des caractères spéciaux peux poser problème au moment de\n l\'interrogation du module d\'indexation, utilisé par le repository.\n Nous etudions la correction de ce bug et vous ferons part du\n correctif. Cela engendre dans les faits un set vide.<br>\n <br>\n D\'autre part, pour l\'affichage des setspec, il faut que le xpath\n soit un xpath valide, et non simplement le nom d\'un champ indexé\n défini dans liusConfig.xml (etape 3 de la doc).<br>\n Concrètement , entity(name) est une syntaxe propre à l\'indexing qui\n permet d\'extraire la valeur de la VCARD.<br>\n Dans la fiche XML, seul le champ entity existe, mais contient une\n vcard sous forme d\'un seul champ texte, dans votre cas :<br>\n <br>\n &lt;lom:entity&gt;BEGIN:VCARD<br>\n VERSION:3.0<br>\n N:Université Lille1 - Sciences et Technologies;;;;<br>\n FN:Université Lille1 - Sciences et Technologies<br>\n ORG:Université Lille1 - Sciences et Technologies<br>\n URL:<a class=\"moz-txt-link-freetext\" href=\"http://www.univ-lille1.fr\">http://www.univ-lille1.fr</a><br>\n EMAIL;TYPE=INTERNET:<br>\n END:VCARD&lt;/lom:entity&gt;<br>\n <br>\n <br>\n La page <a class=\"moz-txt-link-freetext\" href=\"http://www.ori-oai.org/display/ORIOAIrepository/Utilisation\">http://www.ori-oai.org/display/ORIOAIrepository/Utilisation</a>\n sera trés prochainement mise à jour en fonction de ces éléments,\n pour préciser ces restrictions d\'utilisation dans l\'ajout des\n métadonnées.<br>\n Des evolutions sont à l\'étude afin de pallier à ces restrictions.<br>\n <br>\n <br>\n Pour ce qui est des entité XML qui font planter le vocabulary, c\'est\n parce que ces entités ne sont pas déclarées, il faut donc <br>\n -soit déclarer au début de votre fichier XML les entités nommées et\n les faire correspondre à leur code, par exemple :<br>\n <br>\n &lt;!DOCTYPE speccars [<br>\n &lt;!ENTITY nbsp \"&amp;#160;\"&gt;<br>\n &lt;!ENTITY eacute \"&amp;#233;\"&gt;<br>\n ]&gt;<br>\n <br>\n - soit utiliser les codes décimaux ou hexadécimaux correspondant\n directement dans les balises XML de la fiche :<br>\n <br>\n&lt;orioai:value&gt;Universit&amp;#233;&amp;#160;Lille1&amp;#160;-&amp;#160;Sciences&amp;#160;et&amp;#160;Technologies&lt;/orioai:value&gt;<br>\n <br>\n Je précise que cela n\'est normalement nécessaire que pour les\n caractères reservés. Dans le cas présent cela ne contournera pas le\n bug.<br>\n Pour info, consulter par exemple\n <a class=\"moz-txt-link-freetext\" href=\"http://www.w3schools.com/tags/ref_entities.asp\">http://www.w3schools.com/tags/ref_entities.asp</a><br>\n <br>\n Cordialement,<br>\n <br>\n François<br>\n <br>\n <br>\n Le 24/03/2011 08:50, françois lefebvre a écrit :\n <div class=\"emailFilter_Toggle\"><div class=\"emailFilter_Author_0\"><blockquote>\n <meta content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\">\n Bonjour Jacques,<br>\n <br>\n Cet encodage :\n&lt;orioai:value&gt;Universit&amp;eacute;&amp;nbsp;Lille1&amp;nbsp;-&amp;nbsp;Sciences&amp;nbsp;et&amp;nbsp;Technologies&lt;/orioai:value&gt;<br>\n <br>\n Fait planter le vocabulary :<br>\n <br>\n org.orioai.vocabulary.exceptions.OriVocabularyException: A problem\n occurs while retrieving the vocabulary : set-UNR-NPDC-RPN,\n etc......<br>\n <br>\n <br>\n <br>\n Ce qui est étrange :<br>\n <br>\n Le vocabulaire common_lomfr_educ_activity.xml a par exemple :\n &lt;vdex:termIdentifier&gt;coopérer&lt;/vdex:termIdentifier&gt;<br>\n <br>\n Il y a bien un accent, et lui fonctionne :/<br>\n <br>\n <br>\n J\'ai testé l\'encodage du fichier en UTF8 avec/sans BOM, cela ne\n change rien.<br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 17:49, Jacques Brassart a écrit :\n <div class=\"emailFilter_Author_1\"><blockquote>\n <meta content=\"text/html; charset=UTF-8\"\n http-equiv=\"Content-Type\">\n François,<br>\n <br>\n avec des encodages \"entités HTML\".<br>\n <br>\n ex : \"&amp;gt;\" pour \"&gt;\"<br>\n <br>\n Jacques<br>\n <br>\n Le 23/03/2011 17:38, françois lefebvre a écrit :\n <div class=\"emailFilter_Author_2\"><blockquote>\n <meta content=\"text/html; charset=UTF-8\"\n http-equiv=\"Content-Type\">\n Bon c\'est bien ce que je pensais....<br>\n <br>\n Après avoir allégé l\'URL de moissonnage des caractères\n spéciaux, je me suis occupé de l\'accent et du tiret de mon\n critère :<br>\n <br>\n &lt;vdex:term validIndex=\"true\"&gt;<br>\n  \n &lt;vdex:termIdentifier&gt;LILLE1&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 -\n Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n   &lt;vdex:metadata&gt;<br>\n     &lt;orioai:value&gt;<b>Universit*</b>&lt;/orioai:value&gt;<br>\n   &lt;/vdex:metadata&gt;<br>\n &lt;/vdex:term&gt;<br>\n <br>\n <b>&gt;&gt; Comme ceci, ca marche.</b><br>\n <br>\n Mais ca, non :<br>\n <br>\n &lt;vdex:term validIndex=\"true\"&gt;<br>\n  \n &lt;vdex:termIdentifier&gt;LILLE1&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 -\n Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n   &lt;vdex:metadata&gt;<br>\n     &lt;orioai:value&gt;<b>Universit<big><big><font\n color=\"#cc0000\">é</font></big></big>*</b>&lt;/orioai:value&gt;<br>\n   &lt;/vdex:metadata&gt;<br>\n &lt;/vdex:term&gt;<br>\n <br>\n <br>\n Avec le \"é\" en plus cela ne fonctionne plus.<br>\n Cela risque de faire pareil avec les espaces.<br>\n <br>\n Il me faut trouver un moyen d\'encoder le critère<br>\n Pour info, le html.encode ne fonctionne pas  :\n Universit%C3%83C2%A9+Lille1+-+Sciences+et+Technologies<br>\n <br>\n <br>\n Voilà... si quelqu\'un a une idée....<br>\n <br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 17:14, françois lefebvre a écrit :\n <div class=\"emailFilter_Author_3\"><blockquote>\n <meta content=\"text/html; charset=UTF-8\"\n http-equiv=\"Content-Type\">\n Je complète ce sujet avec les idées de Jacques :<br>\n <br>\n J\'ai remplacé le \"-\" par un espace, ou par \"*\".<br>\n J\'ai toujours un comportement pas logique.<br>\n <br>\n <br>\n <br>\n Autre point :<br>\n <br>\n Si cela vient de l\'URL à utiliser pour me moissonner qui\n comporte des caractères spéciaux :<br>\n <a moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\nhref=\"http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=\">http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=</a><b>set-UNR-NPDC-RPN:Universit%C3%A9%20Lille1%20Sciences%20et%20Technologies</b><br>\n <br>\n <br>\n J\'ai donc comparé mon vocabulaire avec\n \"dewey_100_taxonomie_regexp.xml\" et\n \"search_unit_taxonomie_regexp.xml\".<br>\n <br>\n J\'ai donc fait mon vocabulaire sous cette forme :<br>\n <br>\n &lt;vdex:term validIndex=\"true\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;<b>LILLE1</b>&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 -\n Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n   &lt;vdex:metadata&gt;<br>\n     <b>&lt;orioai:value&gt;Université Lille1 - Sciences et\n Technologies&lt;/orioai:value&gt;</b><br>\n   &lt;/vdex:metadata&gt;<br>\n &lt;/vdex:term&gt;<br>\n <br>\n &lt;/vdex:vdex&gt;<br>\n <br>\n Cela me donne donc une URL sans caractère spécial pour\n pouvoir nous moissonner :<br>\n <a moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\nhref=\"http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=\">http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=</a><b>set-UNR-NPDC-RPN:LILLE1</b><br>\n <br>\n <br>\n J\'ai pris soin dans \"repo-sets.xml\" de modifier :<br>\n <br>\n &lt;property name=\"valueXpath\" value=\"<b>.//vdex:termIdentifier</b>\"/&gt;<br>\n <br>\n par :<br>\n <br>\n &lt;property name=\"valueXpath\" value=\"<b>.//orioai:value</b>\"/&gt;<br>\n <br>\n <br>\n <br>\n Mais cela n\'a pas l\'air de fonctionner non plus :/<br>\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 16:12, françois lefebvre a écrit :\n <div class=\"emailFilter_Author_4\"><blockquote>\n <meta content=\"text/html; charset=UTF-8\"\n http-equiv=\"Content-Type\">\n bonjour,<br>\n <br>\n Pour mieux expliquer ma démarche :<br>\n Je souhaite créer un set pour l\'UNR pour l\'avenir, si nous\n avons trop de ressources, le set sera créé et je pourrai\n appliquer des filtres.<br>\n Mais actuellement, je n\'ai aucun critère à définir.<br>\n Je dois donc faire un critère de sélection bidon pour que\n le set fonctionne tout de même.<br>\n <br>\n Je souhaite donc créer un set UNR ayant comme critère de\n sélection, les ressources ayant comme publisher :\n Université Lille1 - Sciences et Technologies.<br>\n Sachant que toutes mes ressources ont comme publisher\n cette valeur ( écrit en dur à l\'initialisation d\'une\n ressource ), c\'est donc un critère de sélection qui ne va\n rien filtrer :)<br>\n <br>\n <br>\n Seulement, après avoir défini mon vocabulaire statique :<br>\n <font color=\"#3333ff\">&lt;vdex:term validIndex=\"false\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;<b>Université Lille1 -\n Sciences et Technologies</b>&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université\n Lille1 - Sciences et\n Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n &lt;/vdex:term&gt;</font><br>\n <br>\n <br>\n Et après avoir créé un set dans le fichier\n repository-sets.xml :<br>\n <br>\n <font color=\"#3333ff\">&lt;bean id=\"set-UNR-NPDC\"\n class=\"org.orioai.repository.domain.model.set.OaiSetInfos\"\n init-method=\"init\"&gt;<br>\n         &lt;property name=\"vocabularyId\"\n value=\"set-UNR-NPDC-RPN\"/&gt;<br>\n         &lt;property name=\"rootTag\" value=\"vdex\"/&gt;<br>\n         &lt;property name=\"termXpath\"\n value=\"//vdex:term\"/&gt;<br>\n         &lt;property name=\"valueXpath\"\n value=\".//vdex:termIdentifier\"/&gt;<br>\n         &lt;property name=\"setSpecXpath\"\n value=\"vdex:termIdentifier\"/&gt;<br>\n         &lt;property name=\"setNameXpath\"\n value=\"vdex:caption/vdex:langstring[@language =\n \'fr\']\"/&gt;<br>\n         &lt;property name=\"vocabularyNameXpath\"\n value=\"//vdex:vocabName/vdex:langstring[@language =\n \'fr\']\"/&gt;<br>\n         &lt;property name=\"vocabularyNameDefault\"\n value=\"UNR-NPDC-RPN\"/&gt;<br>\n       <br>\n         &lt;property name=\"xpathSources\"&gt;<br>\n             &lt;map&gt;<br>\n                 &lt;entry&gt;<br>\n                     &lt;key&gt;<br>\n                         &lt;value&gt;<a\n moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\n href=\"http://ltsc.ieee.org/xsd/LOM\">http://ltsc.ieee.org/xsd/LOM</a>&lt;/value&gt;<br>\n                     &lt;/key&gt;<br>\n                     <br>\n                     &lt;bean\n class=\"org.orioai.repository.domain.model.set.OaiSetSourceInfos\"&gt;<br>\n                         &lt;property name=\"xpath\"&gt;<br>\n                             &lt;list&gt;<br>\n                                 <b>&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(name)&lt;/value&gt;<br>\n                                \n&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(fname)&lt;/value&gt;<br>\n                                \n&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(organization)&lt;/value&gt;</b><br>\n                             &lt;/list&gt;<br>\n                         &lt;/property&gt;  <br>\n                     &lt;/bean&gt;<br>\n                   <br>\n                 &lt;/entry&gt;<br>\n             &lt;/map&gt;<br>\n         &lt;/property&gt;<br>\n     &lt;/bean&gt;</font>    <br>\n <br>\n <br>\n Quand je teste ce que cela donne, le set ne fonctionne pas\n :/<br>\n <br>\n Je pense qu\'il y a un souci avec le \"-\" ou l\'accent :/<br>\n <br>\n Comment puis je le coder autrement ?<br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 15:04, Grégoire Neuville a écrit :\n <div class=\"emailFilter_Author_5\"><blockquote>Bonjour, <br>\n <br>\n Le repository à moissonner ne doit pas être configuré\n comme repository local dans le harvester\n (local.repositoryIdentifier) . Je viens de me faire\n avoir en faisant des tests locaux. Mais peut-être n\'est\n ce pas votre cas... <br>\n <br>\n En espérant que ça aide, <br>\n <br>\n Grégoire. <br>\n <br>\n On 23/03/2011 14:52, françois lefebvre wrote: <br>\n <div class=\"emailFilter_Author_6\"><blockquote type=\"cite\">  Bonjour, <br>\n <br>\n Je souhaite créer un set pour moissonnage en fonction\n du publisher ( <br>\n xpath : <br>\n //lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(name)\n\n\n\n\n\n <br>\n ). <br>\n <br>\n J\'ai donc : <br>\n - créé un vocabulaire \"set-UNR-NPDC-RPN\" ( +\n conversion en UTF8 ) <br>\n - mes modifs sont prises en compte dans le module\n après avoir cliqué sur <br>\n \"forcer le cache\" <br>\n <br>\n <br>\n - créé un set dans le fichier \"repository-sets.xml\" <br>\n - en faisant un \"ListSets\", j\'ai bien : <br>\n <br>\n <br>\n - j\'ai réindexé tout pour être sûr. <br>\n <br>\n <br>\n <br>\n Mais, aucune ressource ne tombe dans ce set :/ <br>\n Pourtant il devrait y avoir une ressource : (\n screenshot du module <br>\n indexing ) <br>\n <br>\n <br>\n <br>\n <br>\n Est ce un problème d\'accent dans :\n &lt;orioai:value&gt;Universit*é* Lille1 - <br>\n Sciences et Technologies&lt;/orioai:value&gt;    ?? <br>\n <br>\n <br>\n Merci pour votre aide. <br>\n <br>\n <br>\n -- <br>\n Cordialement. <br>\n <br>\n <br>\n François Lefebvre <br>\n Bibliothèque Universitaire de Lille 1 <br>\n Cité Scientifique - B.P. 30155 <br>\n 59653 VILLENEUVE D\'ASCQ CEDEX <br>\n Tél.: 03.20.33.60.73 <br>\n <br>\n </blockquote></div>\n <br>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nJacques Brassart\nUNR Nord-Pas de Calais\nUniversité de Valenciennes et du Hainaut-Cambrésis\nTél : 03 27 51 17 70\n</pre>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </blockquote></div></div>\n <br>\n <br>\n <div class=\"moz-signature\">-- <br>\n <style type=\"text/css\">\n a:link, a:visited {color: #666666; text-decoration: underline;}\n a:hover, a:active {color: #666666; text-decoration: none;}\n </style>\n <table width=\"597\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n </table>\n <table width=\"597\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n <tbody>\n <tr>\n <td valign=\"middle\" width=\"150\" align=\"center\"><a\n href=\"http://www.inp-toulouse.fr\"><img\n src=\"cid:<span id=\"9100882bc513913dc72d7ce5de21ceb0\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'9100882bc513913dc72d7ce5de21ceb0\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#112;&#97;&#114;&#116;&#49;&#46;&#48;&#56;&#48;&#49;&#48;&#52;&#48;&#57;&#46;&#48;&#56;&#48;&#57;&#48;&#54;&#48;&#52;&#64;&#101;&#110;&#115;&#101;&#101;&#105;&#104;&#116;&#46;&#102;&#114;\'+\'\">\'+\'&#112;&#97;&#114;&#116;&#49;&#46;&#48;&#56;&#48;&#49;&#48;&#52;&#48;&#57;&#46;&#48;&#56;&#48;&#57;&#48;&#54;&#48;&#52;&#64;&#101;&#110;&#115;&#101;&#101;&#105;&#104;&#116;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\" alt=\"\"\n height=\"46\" width=\"60\" border=\"0\"></a></td>\n <td valign=\"bottom\">\n <div style=\"font-size: 11px; font-family: Arial;\"><font\n color=\"#666666\"><b>François Jannin</b><br>\n DSI - Développement et déploiement d\'applications<br>\n Tél : +33 (0)5 34 32 30 51<br>\n </font></div>\n </td>\n </tr>\n </tbody>\n </table>\n <table width=\"597\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n <tbody>\n <tr>\n <td valign=\"top\">\n <div style=\"text-align: left; font-size: 9px; font-family:\n Arial;\"><font color=\"#666666\"><img alt=\"\"\n src=\"cid:<span id=\"4a8d885f9defe78bd82caa80c3dc4374\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'4a8d885f9defe78bd82caa80c3dc4374\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#112;&#97;&#114;&#116;&#50;&#46;&#48;&#54;&#48;&#53;&#48;&#51;&#48;&#57;&#46;&#48;&#52;&#48;&#48;&#48;&#53;&#48;&#51;&#64;&#101;&#110;&#115;&#101;&#101;&#105;&#104;&#116;&#46;&#102;&#114;\'+\'\">\'+\'&#112;&#97;&#114;&#116;&#50;&#46;&#48;&#54;&#48;&#53;&#48;&#51;&#48;&#57;&#46;&#48;&#52;&#48;&#48;&#48;&#53;&#48;&#51;&#64;&#101;&#110;&#115;&#101;&#101;&#105;&#104;&#116;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\"\n height=\"58\" width=\"597\"></font></div>\n </td>\n </tr>\n </tbody>\n </table>\n <table width=\"597\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n <tbody>\n <tr>\n <td valign=\"top\">\n <div style=\"text-align: right; font-size: 9px;\n font-family: Arial;\"><font color=\"#666666\">INP Toulouse<br>\n 6 allée Emile Monso - BP 34038<br>\n 31029 Toulouse cedex 4<br>\n <a href=\"http://www.inp-toulouse.fr\">http://www.inp-toulouse.fr</a><br>\n </font></div>\n </td>\n </tr>\n </tbody>\n </table>\n <table>\n <div style=\"font-size: 9px; font-family: Arial;\" align=\"left\"><img\n src=\"cid:<span id=\"da04bb7ea205b8ade3f68b47c686d450\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'da04bb7ea205b8ade3f68b47c686d450\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#112;&#97;&#114;&#116;&#51;&#46;&#48;&#48;&#48;&#48;&#48;&#48;&#48;&#48;&#46;&#48;&#48;&#48;&#56;&#48;&#53;&#48;&#54;&#64;&#101;&#110;&#115;&#101;&#101;&#105;&#104;&#116;&#46;&#102;&#114;\'+\'\">\'+\'&#112;&#97;&#114;&#116;&#51;&#46;&#48;&#48;&#48;&#48;&#48;&#48;&#48;&#48;&#46;&#48;&#48;&#48;&#56;&#48;&#53;&#48;&#54;&#64;&#101;&#110;&#115;&#101;&#101;&#105;&#104;&#116;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\" height=\"16\"\n width=\"16\"><font color=\"#cccccc\"> Avant d’imprimer ce\n courriel, demandez-vous si ceci est nécessaire.</font><br>\n </div>\n </table>\n </div>\n </body>\n</html>\n</div>', created = 1507748944, expire = 1507835344, headers = '', serialized = 0 WHERE cid = '4:25c23b5aa582a65cf083862210b8295e' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:82676e2fb370d1e5d1c34297cfbfd96b' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"><!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n <head>\n <meta content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\">\n </head>\n <body bgcolor=\"#ffffff\" text=\"#000000\">\n Bonjour Jacques,<br>\n <br>\n Cet encodage :\n&lt;orioai:value&gt;Universit&amp;eacute;&amp;nbsp;Lille1&amp;nbsp;-&amp;nbsp;Sciences&amp;nbsp;et&amp;nbsp;Technologies&lt;/orioai:value&gt;<br>\n <br>\n Fait planter le vocabulary :<br>\n <br>\n org.orioai.vocabulary.exceptions.OriVocabularyException: A problem\n occurs while retrieving the vocabulary : set-UNR-NPDC-RPN, etc......<br>\n <br>\n <br>\n <br>\n Ce qui est étrange :<br>\n <br>\n Le vocabulaire common_lomfr_educ_activity.xml a par exemple :\n &lt;vdex:termIdentifier&gt;coopérer&lt;/vdex:termIdentifier&gt;<br>\n <br>\n Il y a bien un accent, et lui fonctionne :/<br>\n <br>\n <br>\n J\'ai testé l\'encodage du fichier en UTF8 avec/sans BOM, cela ne\n change rien.<br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 17:49, Jacques Brassart a écrit :\n <div class=\"emailFilter_Toggle\"><div class=\"emailFilter_Author_0\"><blockquote>\n <meta content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\">\n François,<br>\n <br>\n avec des encodages \"entités HTML\".<br>\n <br>\n ex : \"&amp;gt;\" pour \"&gt;\"<br>\n <br>\n Jacques<br>\n <br>\n Le 23/03/2011 17:38, françois lefebvre a écrit :\n <div class=\"emailFilter_Author_1\"><blockquote>\n <meta content=\"text/html; charset=UTF-8\"\n http-equiv=\"Content-Type\">\n Bon c\'est bien ce que je pensais....<br>\n <br>\n Après avoir allégé l\'URL de moissonnage des caractères spéciaux,\n je me suis occupé de l\'accent et du tiret de mon critère :<br>\n <br>\n &lt;vdex:term validIndex=\"true\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;LILLE1&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 -\n Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n   &lt;vdex:metadata&gt;<br>\n     &lt;orioai:value&gt;<b>Universit*</b>&lt;/orioai:value&gt;<br>\n   &lt;/vdex:metadata&gt;<br>\n &lt;/vdex:term&gt;<br>\n <br>\n <b>&gt;&gt; Comme ceci, ca marche.</b><br>\n <br>\n Mais ca, non :<br>\n <br>\n &lt;vdex:term validIndex=\"true\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;LILLE1&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 -\n Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n   &lt;vdex:metadata&gt;<br>\n     &lt;orioai:value&gt;<b>Universit<big><big><font\n color=\"#cc0000\">é</font></big></big>*</b>&lt;/orioai:value&gt;<br>\n   &lt;/vdex:metadata&gt;<br>\n &lt;/vdex:term&gt;<br>\n <br>\n <br>\n Avec le \"é\" en plus cela ne fonctionne plus.<br>\n Cela risque de faire pareil avec les espaces.<br>\n <br>\n Il me faut trouver un moyen d\'encoder le critère<br>\n Pour info, le html.encode ne fonctionne pas  :\n Universit%C3%83C2%A9+Lille1+-+Sciences+et+Technologies<br>\n <br>\n <br>\n Voilà... si quelqu\'un a une idée....<br>\n <br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 17:14, françois lefebvre a écrit :\n <div class=\"emailFilter_Author_2\"><blockquote>\n <meta content=\"text/html; charset=UTF-8\"\n http-equiv=\"Content-Type\">\n Je complète ce sujet avec les idées de Jacques :<br>\n <br>\n J\'ai remplacé le \"-\" par un espace, ou par \"*\".<br>\n J\'ai toujours un comportement pas logique.<br>\n <br>\n <br>\n <br>\n Autre point :<br>\n <br>\n Si cela vient de l\'URL à utiliser pour me moissonner qui\n comporte des caractères spéciaux :<br>\n <a moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\nhref=\"http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=\">http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=</a><b>set-UNR-NPDC-RPN:Universit%C3%A9%20Lille1%20Sciences%20et%20Technologies</b><br>\n <br>\n <br>\n J\'ai donc comparé mon vocabulaire avec\n \"dewey_100_taxonomie_regexp.xml\" et\n \"search_unit_taxonomie_regexp.xml\".<br>\n <br>\n J\'ai donc fait mon vocabulaire sous cette forme :<br>\n <br>\n &lt;vdex:term validIndex=\"true\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;<b>LILLE1</b>&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 -\n Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n   &lt;vdex:metadata&gt;<br>\n     <b>&lt;orioai:value&gt;Université Lille1 - Sciences et\n Technologies&lt;/orioai:value&gt;</b><br>\n   &lt;/vdex:metadata&gt;<br>\n &lt;/vdex:term&gt;<br>\n <br>\n &lt;/vdex:vdex&gt;<br>\n <br>\n Cela me donne donc une URL sans caractère spécial pour pouvoir\n nous moissonner :<br>\n <a moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\nhref=\"http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=\">http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=</a><b>set-UNR-NPDC-RPN:LILLE1</b><br>\n <br>\n <br>\n J\'ai pris soin dans \"repo-sets.xml\" de modifier :<br>\n <br>\n &lt;property name=\"valueXpath\" value=\"<b>.//vdex:termIdentifier</b>\"/&gt;<br>\n <br>\n par :<br>\n <br>\n &lt;property name=\"valueXpath\" value=\"<b>.//orioai:value</b>\"/&gt;<br>\n <br>\n <br>\n <br>\n Mais cela n\'a pas l\'air de fonctionner non plus :/<br>\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 16:12, françois lefebvre a écrit :\n <div class=\"emailFilter_Author_3\"><blockquote>\n <meta content=\"text/html; charset=UTF-8\"\n http-equiv=\"Content-Type\">\n bonjour,<br>\n <br>\n Pour mieux expliquer ma démarche :<br>\n Je souhaite créer un set pour l\'UNR pour l\'avenir, si nous\n avons trop de ressources, le set sera créé et je pourrai\n appliquer des filtres.<br>\n Mais actuellement, je n\'ai aucun critère à définir.<br>\n Je dois donc faire un critère de sélection bidon pour que le\n set fonctionne tout de même.<br>\n <br>\n Je souhaite donc créer un set UNR ayant comme critère de\n sélection, les ressources ayant comme publisher : Université\n Lille1 - Sciences et Technologies.<br>\n Sachant que toutes mes ressources ont comme publisher cette\n valeur ( écrit en dur à l\'initialisation d\'une ressource ),\n c\'est donc un critère de sélection qui ne va rien filtrer :)<br>\n <br>\n <br>\n Seulement, après avoir défini mon vocabulaire statique :<br>\n <font color=\"#3333ff\">&lt;vdex:term validIndex=\"false\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;<b>Université Lille1 -\n Sciences et Technologies</b>&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1\n - Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n &lt;/vdex:term&gt;</font><br>\n <br>\n <br>\n Et après avoir créé un set dans le fichier\n repository-sets.xml :<br>\n <br>\n <font color=\"#3333ff\">&lt;bean id=\"set-UNR-NPDC\"\n class=\"org.orioai.repository.domain.model.set.OaiSetInfos\"\n init-method=\"init\"&gt;<br>\n         &lt;property name=\"vocabularyId\"\n value=\"set-UNR-NPDC-RPN\"/&gt;<br>\n         &lt;property name=\"rootTag\" value=\"vdex\"/&gt;<br>\n         &lt;property name=\"termXpath\"\n value=\"//vdex:term\"/&gt;<br>\n         &lt;property name=\"valueXpath\"\n value=\".//vdex:termIdentifier\"/&gt;<br>\n         &lt;property name=\"setSpecXpath\"\n value=\"vdex:termIdentifier\"/&gt;<br>\n         &lt;property name=\"setNameXpath\"\n value=\"vdex:caption/vdex:langstring[@language =\n \'fr\']\"/&gt;<br>\n         &lt;property name=\"vocabularyNameXpath\"\n value=\"//vdex:vocabName/vdex:langstring[@language =\n \'fr\']\"/&gt;<br>\n         &lt;property name=\"vocabularyNameDefault\"\n value=\"UNR-NPDC-RPN\"/&gt;<br>\n       <br>\n         &lt;property name=\"xpathSources\"&gt;<br>\n             &lt;map&gt;<br>\n                 &lt;entry&gt;<br>\n                     &lt;key&gt;<br>\n                         &lt;value&gt;<a\n moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\n href=\"http://ltsc.ieee.org/xsd/LOM\">http://ltsc.ieee.org/xsd/LOM</a>&lt;/value&gt;<br>\n                     &lt;/key&gt;<br>\n                     <br>\n                     &lt;bean\n class=\"org.orioai.repository.domain.model.set.OaiSetSourceInfos\"&gt;<br>\n                         &lt;property name=\"xpath\"&gt;<br>\n                             &lt;list&gt;<br>\n                                 <b>&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(name)&lt;/value&gt;<br>\n                                \n&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(fname)&lt;/value&gt;<br>\n                                \n&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(organization)&lt;/value&gt;</b><br>\n                             &lt;/list&gt;<br>\n                         &lt;/property&gt;  <br>\n                     &lt;/bean&gt;<br>\n                   <br>\n                 &lt;/entry&gt;<br>\n             &lt;/map&gt;<br>\n         &lt;/property&gt;<br>\n     &lt;/bean&gt;</font>    <br>\n <br>\n <br>\n Quand je teste ce que cela donne, le set ne fonctionne pas\n :/<br>\n <br>\n Je pense qu\'il y a un souci avec le \"-\" ou l\'accent :/<br>\n <br>\n Comment puis je le coder autrement ?<br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 15:04, Grégoire Neuville a écrit :\n <div class=\"emailFilter_Author_4\"><blockquote>Bonjour, <br>\n <br>\n Le repository à moissonner ne doit pas être configuré\n comme repository local dans le harvester\n (local.repositoryIdentifier) . Je viens de me faire avoir\n en faisant des tests locaux. Mais peut-être n\'est ce pas\n votre cas... <br>\n <br>\n En espérant que ça aide, <br>\n <br>\n Grégoire. <br>\n <br>\n On 23/03/2011 14:52, françois lefebvre wrote: <br>\n <div class=\"emailFilter_Author_5\"><blockquote type=\"cite\">  Bonjour, <br>\n <br>\n Je souhaite créer un set pour moissonnage en fonction du\n publisher ( <br>\n xpath : <br>\n //lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(name)\n\n\n\n\n <br>\n ). <br>\n <br>\n J\'ai donc : <br>\n - créé un vocabulaire \"set-UNR-NPDC-RPN\" ( + conversion\n en UTF8 ) <br>\n - mes modifs sont prises en compte dans le module après\n avoir cliqué sur <br>\n \"forcer le cache\" <br>\n <br>\n <br>\n - créé un set dans le fichier \"repository-sets.xml\" <br>\n - en faisant un \"ListSets\", j\'ai bien : <br>\n <br>\n <br>\n - j\'ai réindexé tout pour être sûr. <br>\n <br>\n <br>\n <br>\n Mais, aucune ressource ne tombe dans ce set :/ <br>\n Pourtant il devrait y avoir une ressource : ( screenshot\n du module <br>\n indexing ) <br>\n <br>\n <br>\n <br>\n <br>\n Est ce un problème d\'accent dans :\n &lt;orioai:value&gt;Universit*é* Lille1 - <br>\n Sciences et Technologies&lt;/orioai:value&gt;    ?? <br>\n <br>\n <br>\n Merci pour votre aide. <br>\n <br>\n <br>\n -- <br>\n Cordialement. <br>\n <br>\n <br>\n François Lefebvre <br>\n Bibliothèque Universitaire de Lille 1 <br>\n Cité Scientifique - B.P. 30155 <br>\n 59653 VILLENEUVE D\'ASCQ CEDEX <br>\n Tél.: 03.20.33.60.73 <br>\n <br>\n </blockquote></div>\n <br>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nJacques Brassart\nUNR Nord-Pas de Calais\nUniversité de Valenciennes et du Hainaut-Cambrésis\nTél : 03 27 51 17 70\n</pre>\n </blockquote></div></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </body>\n</html>\n</div>', created = 1507748944, expire = 1507835344, headers = '', serialized = 0 WHERE cid = '4:82676e2fb370d1e5d1c34297cfbfd96b' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:440041d0fc472e9a7c72aaf92c604dab' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"><!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n <head>\n <meta content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\">\n </head>\n <body text=\"#000000\" bgcolor=\"#ffffff\">\n François,<br>\n <br>\n avec des encodages \"entités HTML\".<br>\n <br>\n ex : \"&amp;gt;\" pour \"&gt;\"<br>\n <br>\n Jacques<br>\n <br>\n Le 23/03/2011 17:38, françois lefebvre a écrit :\n <div class=\"emailFilter_Toggle\"><div class=\"emailFilter_Author_0\"><blockquote>\n <meta content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\">\n Bon c\'est bien ce que je pensais....<br>\n <br>\n Après avoir allégé l\'URL de moissonnage des caractères spéciaux,\n je me suis occupé de l\'accent et du tiret de mon critère :<br>\n <br>\n &lt;vdex:term validIndex=\"true\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;LILLE1&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 -\n Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n   &lt;vdex:metadata&gt;<br>\n     &lt;orioai:value&gt;<b>Universit*</b>&lt;/orioai:value&gt;<br>\n   &lt;/vdex:metadata&gt;<br>\n &lt;/vdex:term&gt;<br>\n <br>\n <b>&gt;&gt; Comme ceci, ca marche.</b><br>\n <br>\n Mais ca, non :<br>\n <br>\n &lt;vdex:term validIndex=\"true\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;LILLE1&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 -\n Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n   &lt;vdex:metadata&gt;<br>\n     &lt;orioai:value&gt;<b>Universit<big><big><font\n color=\"#cc0000\">é</font></big></big>*</b>&lt;/orioai:value&gt;<br>\n   &lt;/vdex:metadata&gt;<br>\n &lt;/vdex:term&gt;<br>\n <br>\n <br>\n Avec le \"é\" en plus cela ne fonctionne plus.<br>\n Cela risque de faire pareil avec les espaces.<br>\n <br>\n Il me faut trouver un moyen d\'encoder le critère<br>\n Pour info, le html.encode ne fonctionne pas  :\n Universit%C3%83C2%A9+Lille1+-+Sciences+et+Technologies<br>\n <br>\n <br>\n Voilà... si quelqu\'un a une idée....<br>\n <br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 17:14, françois lefebvre a écrit :\n <div class=\"emailFilter_Author_1\"><blockquote>\n <meta content=\"text/html; charset=UTF-8\"\n http-equiv=\"Content-Type\">\n Je complète ce sujet avec les idées de Jacques :<br>\n <br>\n J\'ai remplacé le \"-\" par un espace, ou par \"*\".<br>\n J\'ai toujours un comportement pas logique.<br>\n <br>\n <br>\n <br>\n Autre point :<br>\n <br>\n Si cela vient de l\'URL à utiliser pour me moissonner qui\n comporte des caractères spéciaux :<br>\n <a moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\nhref=\"http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=\">http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=</a><b>set-UNR-NPDC-RPN:Universit%C3%A9%20Lille1%20Sciences%20et%20Technologies</b><br>\n <br>\n <br>\n J\'ai donc comparé mon vocabulaire avec\n \"dewey_100_taxonomie_regexp.xml\" et\n \"search_unit_taxonomie_regexp.xml\".<br>\n <br>\n J\'ai donc fait mon vocabulaire sous cette forme :<br>\n <br>\n &lt;vdex:term validIndex=\"true\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;<b>LILLE1</b>&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 -\n Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n   &lt;vdex:metadata&gt;<br>\n     <b>&lt;orioai:value&gt;Université Lille1 - Sciences et\n Technologies&lt;/orioai:value&gt;</b><br>\n   &lt;/vdex:metadata&gt;<br>\n &lt;/vdex:term&gt;<br>\n <br>\n &lt;/vdex:vdex&gt;<br>\n <br>\n Cela me donne donc une URL sans caractère spécial pour pouvoir\n nous moissonner :<br>\n <a moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\nhref=\"http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=\">http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=</a><b>set-UNR-NPDC-RPN:LILLE1</b><br>\n <br>\n <br>\n J\'ai pris soin dans \"repo-sets.xml\" de modifier :<br>\n <br>\n &lt;property name=\"valueXpath\" value=\"<b>.//vdex:termIdentifier</b>\"/&gt;<br>\n <br>\n par :<br>\n <br>\n &lt;property name=\"valueXpath\" value=\"<b>.//orioai:value</b>\"/&gt;<br>\n <br>\n <br>\n <br>\n Mais cela n\'a pas l\'air de fonctionner non plus :/<br>\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 16:12, françois lefebvre a écrit :\n <div class=\"emailFilter_Author_2\"><blockquote>\n <meta content=\"text/html; charset=UTF-8\"\n http-equiv=\"Content-Type\">\n bonjour,<br>\n <br>\n Pour mieux expliquer ma démarche :<br>\n Je souhaite créer un set pour l\'UNR pour l\'avenir, si nous\n avons trop de ressources, le set sera créé et je pourrai\n appliquer des filtres.<br>\n Mais actuellement, je n\'ai aucun critère à définir.<br>\n Je dois donc faire un critère de sélection bidon pour que le\n set fonctionne tout de même.<br>\n <br>\n Je souhaite donc créer un set UNR ayant comme critère de\n sélection, les ressources ayant comme publisher : Université\n Lille1 - Sciences et Technologies.<br>\n Sachant que toutes mes ressources ont comme publisher cette\n valeur ( écrit en dur à l\'initialisation d\'une ressource ),\n c\'est donc un critère de sélection qui ne va rien filtrer :)<br>\n <br>\n <br>\n Seulement, après avoir défini mon vocabulaire statique :<br>\n <font color=\"#3333ff\">&lt;vdex:term validIndex=\"false\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;<b>Université Lille1 - Sciences\n et Technologies</b>&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 -\n Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n &lt;/vdex:term&gt;</font><br>\n <br>\n <br>\n Et après avoir créé un set dans le fichier repository-sets.xml\n :<br>\n <br>\n <font color=\"#3333ff\">&lt;bean id=\"set-UNR-NPDC\"\n class=\"org.orioai.repository.domain.model.set.OaiSetInfos\"\n init-method=\"init\"&gt;<br>\n         &lt;property name=\"vocabularyId\"\n value=\"set-UNR-NPDC-RPN\"/&gt;<br>\n         &lt;property name=\"rootTag\" value=\"vdex\"/&gt;<br>\n         &lt;property name=\"termXpath\"\n value=\"//vdex:term\"/&gt;<br>\n         &lt;property name=\"valueXpath\"\n value=\".//vdex:termIdentifier\"/&gt;<br>\n         &lt;property name=\"setSpecXpath\"\n value=\"vdex:termIdentifier\"/&gt;<br>\n         &lt;property name=\"setNameXpath\"\n value=\"vdex:caption/vdex:langstring[@language = \'fr\']\"/&gt;<br>\n         &lt;property name=\"vocabularyNameXpath\"\n value=\"//vdex:vocabName/vdex:langstring[@language =\n \'fr\']\"/&gt;<br>\n         &lt;property name=\"vocabularyNameDefault\"\n value=\"UNR-NPDC-RPN\"/&gt;<br>\n       <br>\n         &lt;property name=\"xpathSources\"&gt;<br>\n             &lt;map&gt;<br>\n                 &lt;entry&gt;<br>\n                     &lt;key&gt;<br>\n                         &lt;value&gt;<a\n moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\n href=\"http://ltsc.ieee.org/xsd/LOM\">http://ltsc.ieee.org/xsd/LOM</a>&lt;/value&gt;<br>\n                     &lt;/key&gt;<br>\n                     <br>\n                     &lt;bean\n class=\"org.orioai.repository.domain.model.set.OaiSetSourceInfos\"&gt;<br>\n                         &lt;property name=\"xpath\"&gt;<br>\n                             &lt;list&gt;<br>\n                                 <b>&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(name)&lt;/value&gt;<br>\n                                \n&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(fname)&lt;/value&gt;<br>\n                                \n&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(organization)&lt;/value&gt;</b><br>\n                             &lt;/list&gt;<br>\n                         &lt;/property&gt;  <br>\n                     &lt;/bean&gt;<br>\n                   <br>\n                 &lt;/entry&gt;<br>\n             &lt;/map&gt;<br>\n         &lt;/property&gt;<br>\n     &lt;/bean&gt;</font>    <br>\n <br>\n <br>\n Quand je teste ce que cela donne, le set ne fonctionne pas :/<br>\n <br>\n Je pense qu\'il y a un souci avec le \"-\" ou l\'accent :/<br>\n <br>\n Comment puis je le coder autrement ?<br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 15:04, Grégoire Neuville a écrit :\n <div class=\"emailFilter_Author_3\"><blockquote>Bonjour, <br>\n <br>\n Le repository à moissonner ne doit pas être configuré comme\n repository local dans le harvester\n (local.repositoryIdentifier) . Je viens de me faire avoir en\n faisant des tests locaux. Mais peut-être n\'est ce pas votre\n cas... <br>\n <br>\n En espérant que ça aide, <br>\n <br>\n Grégoire. <br>\n <br>\n On 23/03/2011 14:52, françois lefebvre wrote: <br>\n <div class=\"emailFilter_Author_4\"><blockquote type=\"cite\">  Bonjour, <br>\n <br>\n Je souhaite créer un set pour moissonnage en fonction du\n publisher ( <br>\n xpath : <br>\n //lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(name)\n\n\n\n <br>\n ). <br>\n <br>\n J\'ai donc : <br>\n - créé un vocabulaire \"set-UNR-NPDC-RPN\" ( + conversion en\n UTF8 ) <br>\n - mes modifs sont prises en compte dans le module après\n avoir cliqué sur <br>\n \"forcer le cache\" <br>\n <br>\n <br>\n - créé un set dans le fichier \"repository-sets.xml\" <br>\n - en faisant un \"ListSets\", j\'ai bien : <br>\n <br>\n <br>\n - j\'ai réindexé tout pour être sûr. <br>\n <br>\n <br>\n <br>\n Mais, aucune ressource ne tombe dans ce set :/ <br>\n Pourtant il devrait y avoir une ressource : ( screenshot\n du module <br>\n indexing ) <br>\n <br>\n <br>\n <br>\n <br>\n Est ce un problème d\'accent dans :\n &lt;orioai:value&gt;Universit*é* Lille1 - <br>\n Sciences et Technologies&lt;/orioai:value&gt;    ?? <br>\n <br>\n <br>\n Merci pour votre aide. <br>\n <br>\n <br>\n -- <br>\n Cordialement. <br>\n <br>\n <br>\n François Lefebvre <br>\n Bibliothèque Universitaire de Lille 1 <br>\n Cité Scientifique - B.P. 30155 <br>\n 59653 VILLENEUVE D\'ASCQ CEDEX <br>\n Tél.: 03.20.33.60.73 <br>\n <br>\n </blockquote></div>\n <br>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </blockquote></div></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nJacques Brassart\nUNR Nord-Pas de Calais\nUniversité de Valenciennes et du Hainaut-Cambrésis\nTél : 03 27 51 17 70\n</pre>\n </body>\n</html>\n</div>', created = 1507748944, expire = 1507835344, headers = '', serialized = 0 WHERE cid = '4:440041d0fc472e9a7c72aaf92c604dab' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:4491acddedc5508c4e16e9ac0a6db3c4' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"><!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n <head>\n <meta content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\">\n </head>\n <body bgcolor=\"#ffffff\" text=\"#000000\">\n Bon c\'est bien ce que je pensais....<br>\n <br>\n Après avoir allégé l\'URL de moissonnage des caractères spéciaux, je\n me suis occupé de l\'accent et du tiret de mon critère :<br>\n <br>\n &lt;vdex:term validIndex=\"true\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;LILLE1&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 - Sciences\n et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n   &lt;vdex:metadata&gt;<br>\n     &lt;orioai:value&gt;<b>Universit*</b>&lt;/orioai:value&gt;<br>\n   &lt;/vdex:metadata&gt;<br>\n &lt;/vdex:term&gt;<br>\n <br>\n <b>&gt;&gt; Comme ceci, ca marche.</b><br>\n <br>\n Mais ca, non :<br>\n <br>\n &lt;vdex:term validIndex=\"true\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;LILLE1&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 - Sciences\n et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n   &lt;vdex:metadata&gt;<br>\n     &lt;orioai:value&gt;<b>Universit<big><big><font color=\"#cc0000\">é</font></big></big>*</b>&lt;/orioai:value&gt;<br>\n   &lt;/vdex:metadata&gt;<br>\n &lt;/vdex:term&gt;<br>\n <br>\n <br>\n Avec le \"é\" en plus cela ne fonctionne plus.<br>\n Cela risque de faire pareil avec les espaces.<br>\n <br>\n Il me faut trouver un moyen d\'encoder le critère<br>\n Pour info, le html.encode ne fonctionne pas  :\n Universit%C3%83C2%A9+Lille1+-+Sciences+et+Technologies<br>\n <br>\n <br>\n Voilà... si quelqu\'un a une idée....<br>\n <br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 17:14, françois lefebvre a écrit :\n <div class=\"emailFilter_Toggle\"><div class=\"emailFilter_Author_0\"><blockquote>\n <meta content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\">\n Je complète ce sujet avec les idées de Jacques :<br>\n <br>\n J\'ai remplacé le \"-\" par un espace, ou par \"*\".<br>\n J\'ai toujours un comportement pas logique.<br>\n <br>\n <br>\n <br>\n Autre point :<br>\n <br>\n Si cela vient de l\'URL à utiliser pour me moissonner qui comporte\n des caractères spéciaux :<br>\n <a moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\nhref=\"http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=\">http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=</a><b>set-UNR-NPDC-RPN:Universit%C3%A9%20Lille1%20Sciences%20et%20Technologies</b><br>\n <br>\n <br>\n J\'ai donc comparé mon vocabulaire avec\n \"dewey_100_taxonomie_regexp.xml\" et\n \"search_unit_taxonomie_regexp.xml\".<br>\n <br>\n J\'ai donc fait mon vocabulaire sous cette forme :<br>\n <br>\n &lt;vdex:term validIndex=\"true\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;<b>LILLE1</b>&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 -\n Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n   &lt;vdex:metadata&gt;<br>\n     <b>&lt;orioai:value&gt;Université Lille1 - Sciences et\n Technologies&lt;/orioai:value&gt;</b><br>\n   &lt;/vdex:metadata&gt;<br>\n &lt;/vdex:term&gt;<br>\n <br>\n &lt;/vdex:vdex&gt;<br>\n <br>\n Cela me donne donc une URL sans caractère spécial pour pouvoir\n nous moissonner :<br>\n <a moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\nhref=\"http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=\">http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=</a><b>set-UNR-NPDC-RPN:LILLE1</b><br>\n <br>\n <br>\n J\'ai pris soin dans \"repo-sets.xml\" de modifier :<br>\n <br>\n &lt;property name=\"valueXpath\" value=\"<b>.//vdex:termIdentifier</b>\"/&gt;<br>\n <br>\n par :<br>\n <br>\n &lt;property name=\"valueXpath\" value=\"<b>.//orioai:value</b>\"/&gt;<br>\n <br>\n <br>\n <br>\n Mais cela n\'a pas l\'air de fonctionner non plus :/<br>\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 16:12, françois lefebvre a écrit :\n <div class=\"emailFilter_Author_1\"><blockquote>\n <meta content=\"text/html; charset=UTF-8\"\n http-equiv=\"Content-Type\">\n bonjour,<br>\n <br>\n Pour mieux expliquer ma démarche :<br>\n Je souhaite créer un set pour l\'UNR pour l\'avenir, si nous avons\n trop de ressources, le set sera créé et je pourrai appliquer des\n filtres.<br>\n Mais actuellement, je n\'ai aucun critère à définir.<br>\n Je dois donc faire un critère de sélection bidon pour que le set\n fonctionne tout de même.<br>\n <br>\n Je souhaite donc créer un set UNR ayant comme critère de\n sélection, les ressources ayant comme publisher : Université\n Lille1 - Sciences et Technologies.<br>\n Sachant que toutes mes ressources ont comme publisher cette\n valeur ( écrit en dur à l\'initialisation d\'une ressource ),\n c\'est donc un critère de sélection qui ne va rien filtrer :)<br>\n <br>\n <br>\n Seulement, après avoir défini mon vocabulaire statique :<br>\n <font color=\"#3333ff\">&lt;vdex:term validIndex=\"false\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;<b>Université Lille1 - Sciences\n et Technologies</b>&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 -\n Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n &lt;/vdex:term&gt;</font><br>\n <br>\n <br>\n Et après avoir créé un set dans le fichier repository-sets.xml :<br>\n <br>\n <font color=\"#3333ff\">&lt;bean id=\"set-UNR-NPDC\"\n class=\"org.orioai.repository.domain.model.set.OaiSetInfos\"\n init-method=\"init\"&gt;<br>\n         &lt;property name=\"vocabularyId\"\n value=\"set-UNR-NPDC-RPN\"/&gt;<br>\n         &lt;property name=\"rootTag\" value=\"vdex\"/&gt;<br>\n         &lt;property name=\"termXpath\" value=\"//vdex:term\"/&gt;<br>\n         &lt;property name=\"valueXpath\"\n value=\".//vdex:termIdentifier\"/&gt;<br>\n         &lt;property name=\"setSpecXpath\"\n value=\"vdex:termIdentifier\"/&gt;<br>\n         &lt;property name=\"setNameXpath\"\n value=\"vdex:caption/vdex:langstring[@language = \'fr\']\"/&gt;<br>\n         &lt;property name=\"vocabularyNameXpath\"\n value=\"//vdex:vocabName/vdex:langstring[@language =\n \'fr\']\"/&gt;<br>\n         &lt;property name=\"vocabularyNameDefault\"\n value=\"UNR-NPDC-RPN\"/&gt;<br>\n       <br>\n         &lt;property name=\"xpathSources\"&gt;<br>\n             &lt;map&gt;<br>\n                 &lt;entry&gt;<br>\n                     &lt;key&gt;<br>\n                         &lt;value&gt;<a moz-do-not-send=\"true\"\n class=\"moz-txt-link-freetext\"\n href=\"http://ltsc.ieee.org/xsd/LOM\">http://ltsc.ieee.org/xsd/LOM</a>&lt;/value&gt;<br>\n                     &lt;/key&gt;<br>\n                     <br>\n                     &lt;bean\n class=\"org.orioai.repository.domain.model.set.OaiSetSourceInfos\"&gt;<br>\n                         &lt;property name=\"xpath\"&gt;<br>\n                             &lt;list&gt;<br>\n                                 <b>&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(name)&lt;/value&gt;<br>\n                                \n&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(fname)&lt;/value&gt;<br>\n                                \n&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(organization)&lt;/value&gt;</b><br>\n                             &lt;/list&gt;<br>\n                         &lt;/property&gt;  <br>\n                     &lt;/bean&gt;<br>\n                   <br>\n                 &lt;/entry&gt;<br>\n             &lt;/map&gt;<br>\n         &lt;/property&gt;<br>\n     &lt;/bean&gt;</font>    <br>\n <br>\n <br>\n Quand je teste ce que cela donne, le set ne fonctionne pas :/<br>\n <br>\n Je pense qu\'il y a un souci avec le \"-\" ou l\'accent :/<br>\n <br>\n Comment puis je le coder autrement ?<br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 15:04, Grégoire Neuville a écrit :\n <div class=\"emailFilter_Author_2\"><blockquote>Bonjour, <br>\n <br>\n Le repository à moissonner ne doit pas être configuré comme\n repository local dans le harvester\n (local.repositoryIdentifier) . Je viens de me faire avoir en\n faisant des tests locaux. Mais peut-être n\'est ce pas votre\n cas... <br>\n <br>\n En espérant que ça aide, <br>\n <br>\n Grégoire. <br>\n <br>\n On 23/03/2011 14:52, françois lefebvre wrote: <br>\n <div class=\"emailFilter_Author_3\"><blockquote type=\"cite\">  Bonjour, <br>\n <br>\n Je souhaite créer un set pour moissonnage en fonction du\n publisher ( <br>\n xpath : <br>\n //lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(name)\n\n\n <br>\n ). <br>\n <br>\n J\'ai donc : <br>\n - créé un vocabulaire \"set-UNR-NPDC-RPN\" ( + conversion en\n UTF8 ) <br>\n - mes modifs sont prises en compte dans le module après\n avoir cliqué sur <br>\n \"forcer le cache\" <br>\n <br>\n <br>\n - créé un set dans le fichier \"repository-sets.xml\" <br>\n - en faisant un \"ListSets\", j\'ai bien : <br>\n <br>\n <br>\n - j\'ai réindexé tout pour être sûr. <br>\n <br>\n <br>\n <br>\n Mais, aucune ressource ne tombe dans ce set :/ <br>\n Pourtant il devrait y avoir une ressource : ( screenshot du\n module <br>\n indexing ) <br>\n <br>\n <br>\n <br>\n <br>\n Est ce un problème d\'accent dans :\n &lt;orioai:value&gt;Universit*é* Lille1 - <br>\n Sciences et Technologies&lt;/orioai:value&gt;    ?? <br>\n <br>\n <br>\n Merci pour votre aide. <br>\n <br>\n <br>\n -- <br>\n Cordialement. <br>\n <br>\n <br>\n François Lefebvre <br>\n Bibliothèque Universitaire de Lille 1 <br>\n Cité Scientifique - B.P. 30155 <br>\n 59653 VILLENEUVE D\'ASCQ CEDEX <br>\n Tél.: 03.20.33.60.73 <br>\n <br>\n </blockquote></div>\n <br>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </blockquote></div></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </body>\n</html>\n</div>', created = 1507748944, expire = 1507835344, headers = '', serialized = 0 WHERE cid = '4:4491acddedc5508c4e16e9ac0a6db3c4' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:de6df7a95da797001fd7048f7fefba70' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"><!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n <head>\n <meta content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\">\n </head>\n <body bgcolor=\"#ffffff\" text=\"#000000\">\n Je complète ce sujet avec les idées de Jacques :<br>\n <br>\n J\'ai remplacé le \"-\" par un espace, ou par \"*\".<br>\n J\'ai toujours un comportement pas logique.<br>\n <br>\n <br>\n <br>\n Autre point :<br>\n <br>\n Si cela vient de l\'URL à utiliser pour me moissonner qui comporte\n des caractères spéciaux :<br>\n <a class=\"moz-txt-link-freetext\"\nhref=\"http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=\">http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=</a><b>set-UNR-NPDC-RPN:Universit%C3%A9%20Lille1%20Sciences%20et%20Technologies</b><br>\n <br>\n <br>\n J\'ai donc comparé mon vocabulaire avec\n \"dewey_100_taxonomie_regexp.xml\" et\n \"search_unit_taxonomie_regexp.xml\".<br>\n <br>\n J\'ai donc fait mon vocabulaire sous cette forme :<br>\n <br>\n &lt;vdex:term validIndex=\"true\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;<b>LILLE1</b>&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 - Sciences\n et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n   &lt;vdex:metadata&gt;<br>\n     <b>&lt;orioai:value&gt;Université Lille1 - Sciences et\n Technologies&lt;/orioai:value&gt;</b><br>\n   &lt;/vdex:metadata&gt;<br>\n &lt;/vdex:term&gt;<br>\n <br>\n &lt;/vdex:vdex&gt;<br>\n <br>\n Cela me donne donc une URL sans caractère spécial pour pouvoir nous\n moissonner :<br>\n <a class=\"moz-txt-link-freetext\"\nhref=\"http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=\">http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&amp;verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=</a><b>set-UNR-NPDC-RPN:LILLE1</b><br>\n <br>\n <br>\n J\'ai pris soin dans \"repo-sets.xml\" de modifier :<br>\n <br>\n &lt;property name=\"valueXpath\" value=\"<b>.//vdex:termIdentifier</b>\"/&gt;<br>\n <br>\n par :<br>\n <br>\n &lt;property name=\"valueXpath\" value=\"<b>.//orioai:value</b>\"/&gt;<br>\n <br>\n <br>\n <br>\n Mais cela n\'a pas l\'air de fonctionner non plus :/<br>\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 16:12, françois lefebvre a écrit :\n <div class=\"emailFilter_Toggle\"><div class=\"emailFilter_Author_0\"><blockquote>\n <meta content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\">\n bonjour,<br>\n <br>\n Pour mieux expliquer ma démarche :<br>\n Je souhaite créer un set pour l\'UNR pour l\'avenir, si nous avons\n trop de ressources, le set sera créé et je pourrai appliquer des\n filtres.<br>\n Mais actuellement, je n\'ai aucun critère à définir.<br>\n Je dois donc faire un critère de sélection bidon pour que le set\n fonctionne tout de même.<br>\n <br>\n Je souhaite donc créer un set UNR ayant comme critère de\n sélection, les ressources ayant comme publisher : Université\n Lille1 - Sciences et Technologies.<br>\n Sachant que toutes mes ressources ont comme publisher cette valeur\n ( écrit en dur à l\'initialisation d\'une ressource ), c\'est donc un\n critère de sélection qui ne va rien filtrer :)<br>\n <br>\n <br>\n Seulement, après avoir défini mon vocabulaire statique :<br>\n <font color=\"#3333ff\">&lt;vdex:term validIndex=\"false\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;<b>Université Lille1 - Sciences et\n Technologies</b>&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 -\n Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n &lt;/vdex:term&gt;</font><br>\n <br>\n <br>\n Et après avoir créé un set dans le fichier repository-sets.xml :<br>\n <br>\n <font color=\"#3333ff\">&lt;bean id=\"set-UNR-NPDC\"\n class=\"org.orioai.repository.domain.model.set.OaiSetInfos\"\n init-method=\"init\"&gt;<br>\n         &lt;property name=\"vocabularyId\"\n value=\"set-UNR-NPDC-RPN\"/&gt;<br>\n         &lt;property name=\"rootTag\" value=\"vdex\"/&gt;<br>\n         &lt;property name=\"termXpath\" value=\"//vdex:term\"/&gt;<br>\n         &lt;property name=\"valueXpath\"\n value=\".//vdex:termIdentifier\"/&gt;<br>\n         &lt;property name=\"setSpecXpath\"\n value=\"vdex:termIdentifier\"/&gt;<br>\n         &lt;property name=\"setNameXpath\"\n value=\"vdex:caption/vdex:langstring[@language = \'fr\']\"/&gt;<br>\n         &lt;property name=\"vocabularyNameXpath\"\n value=\"//vdex:vocabName/vdex:langstring[@language = \'fr\']\"/&gt;<br>\n         &lt;property name=\"vocabularyNameDefault\"\n value=\"UNR-NPDC-RPN\"/&gt;<br>\n       <br>\n         &lt;property name=\"xpathSources\"&gt;<br>\n             &lt;map&gt;<br>\n                 &lt;entry&gt;<br>\n                     &lt;key&gt;<br>\n                         &lt;value&gt;<a moz-do-not-send=\"true\"\n class=\"moz-txt-link-freetext\"\n href=\"http://ltsc.ieee.org/xsd/LOM\">http://ltsc.ieee.org/xsd/LOM</a>&lt;/value&gt;<br>\n                     &lt;/key&gt;<br>\n                     <br>\n                     &lt;bean\n class=\"org.orioai.repository.domain.model.set.OaiSetSourceInfos\"&gt;<br>\n                         &lt;property name=\"xpath\"&gt;<br>\n                             &lt;list&gt;<br>\n                                 <b>&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(name)&lt;/value&gt;<br>\n                                \n&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(fname)&lt;/value&gt;<br>\n                                \n&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(organization)&lt;/value&gt;</b><br>\n                             &lt;/list&gt;<br>\n                         &lt;/property&gt;  <br>\n                     &lt;/bean&gt;<br>\n                   <br>\n                 &lt;/entry&gt;<br>\n             &lt;/map&gt;<br>\n         &lt;/property&gt;<br>\n     &lt;/bean&gt;</font>    <br>\n <br>\n <br>\n Quand je teste ce que cela donne, le set ne fonctionne pas :/<br>\n <br>\n Je pense qu\'il y a un souci avec le \"-\" ou l\'accent :/<br>\n <br>\n Comment puis je le coder autrement ?<br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 15:04, Grégoire Neuville a écrit :\n <div class=\"emailFilter_Author_1\"><blockquote>Bonjour,\n\n <br>\n <br>\n Le repository à moissonner ne doit pas être configuré comme\n repository local dans le harvester (local.repositoryIdentifier)\n . Je viens de me faire avoir en faisant des tests locaux. Mais\n peut-être n\'est ce pas votre cas... <br>\n <br>\n En espérant que ça aide, <br>\n <br>\n Grégoire. <br>\n <br>\n On 23/03/2011 14:52, françois lefebvre wrote: <br>\n <div class=\"emailFilter_Author_2\"><blockquote type=\"cite\">  Bonjour, <br>\n <br>\n Je souhaite créer un set pour moissonnage en fonction du\n publisher ( <br>\n xpath : <br>\n //lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(name)\n\n <br>\n ). <br>\n <br>\n J\'ai donc : <br>\n - créé un vocabulaire \"set-UNR-NPDC-RPN\" ( + conversion en\n UTF8 ) <br>\n - mes modifs sont prises en compte dans le module après avoir\n cliqué sur <br>\n \"forcer le cache\" <br>\n <br>\n <br>\n - créé un set dans le fichier \"repository-sets.xml\" <br>\n - en faisant un \"ListSets\", j\'ai bien : <br>\n <br>\n <br>\n - j\'ai réindexé tout pour être sûr. <br>\n <br>\n <br>\n <br>\n Mais, aucune ressource ne tombe dans ce set :/ <br>\n Pourtant il devrait y avoir une ressource : ( screenshot du\n module <br>\n indexing ) <br>\n <br>\n <br>\n <br>\n <br>\n Est ce un problème d\'accent dans :\n &lt;orioai:value&gt;Universit*é* Lille1 - <br>\n Sciences et Technologies&lt;/orioai:value&gt;    ?? <br>\n <br>\n <br>\n Merci pour votre aide. <br>\n <br>\n <br>\n -- <br>\n Cordialement. <br>\n <br>\n <br>\n François Lefebvre <br>\n Bibliothèque Universitaire de Lille 1 <br>\n Cité Scientifique - B.P. 30155 <br>\n 59653 VILLENEUVE D\'ASCQ CEDEX <br>\n Tél.: 03.20.33.60.73 <br>\n <br>\n </blockquote></div>\n <br>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </blockquote></div></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </body>\n</html>\n</div>', created = 1507748944, expire = 1507835344, headers = '', serialized = 0 WHERE cid = '4:de6df7a95da797001fd7048f7fefba70' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:c288729df1aa9d4c15b8c242fdebf102' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"><!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n <head>\n <meta content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\">\n </head>\n <body bgcolor=\"#ffffff\" text=\"#000000\">\n bonjour,<br>\n <br>\n Pour mieux expliquer ma démarche :<br>\n Je souhaite créer un set pour l\'UNR pour l\'avenir, si nous avons\n trop de ressources, le set sera créé et je pourrai appliquer des\n filtres.<br>\n Mais actuellement, je n\'ai aucun critère à définir.<br>\n Je dois donc faire un critère de sélection bidon pour que le set\n fonctionne tout de même.<br>\n <br>\n Je souhaite donc créer un set UNR ayant comme critère de sélection,\n les ressources ayant comme publisher : Université Lille1 - Sciences\n et Technologies.<br>\n Sachant que toutes mes ressources ont comme publisher cette valeur (\n écrit en dur à l\'initialisation d\'une ressource ), c\'est donc un\n critère de sélection qui ne va rien filtrer :)<br>\n <br>\n <br>\n Seulement, après avoir défini mon vocabulaire statique :<br>\n <font color=\"#3333ff\">&lt;vdex:term validIndex=\"false\"&gt;<br>\n   &lt;vdex:termIdentifier&gt;<b>Université Lille1 - Sciences et\n Technologies</b>&lt;/vdex:termIdentifier&gt;<br>\n   &lt;vdex:caption&gt;<br>\n    &lt;vdex:langstring language=\"fr\"&gt;Université Lille1 -\n Sciences et Technologies&lt;/vdex:langstring&gt;<br>\n   &lt;/vdex:caption&gt;<br>\n &lt;/vdex:term&gt;</font><br>\n <br>\n <br>\n Et après avoir créé un set dans le fichier repository-sets.xml :<br>\n <br>\n <font color=\"#3333ff\">&lt;bean id=\"set-UNR-NPDC\"\n class=\"org.orioai.repository.domain.model.set.OaiSetInfos\"\n init-method=\"init\"&gt;<br>\n         &lt;property name=\"vocabularyId\"\n value=\"set-UNR-NPDC-RPN\"/&gt;<br>\n         &lt;property name=\"rootTag\" value=\"vdex\"/&gt;<br>\n         &lt;property name=\"termXpath\" value=\"//vdex:term\"/&gt;<br>\n         &lt;property name=\"valueXpath\"\n value=\".//vdex:termIdentifier\"/&gt;<br>\n         &lt;property name=\"setSpecXpath\"\n value=\"vdex:termIdentifier\"/&gt;<br>\n         &lt;property name=\"setNameXpath\"\n value=\"vdex:caption/vdex:langstring[@language = \'fr\']\"/&gt;<br>\n         &lt;property name=\"vocabularyNameXpath\"\n value=\"//vdex:vocabName/vdex:langstring[@language = \'fr\']\"/&gt;<br>\n         &lt;property name=\"vocabularyNameDefault\"\n value=\"UNR-NPDC-RPN\"/&gt;<br>\n       <br>\n         &lt;property name=\"xpathSources\"&gt;<br>\n             &lt;map&gt;<br>\n                 &lt;entry&gt;<br>\n                     &lt;key&gt;<br>\n                        \n &lt;value&gt;<a class=\"moz-txt-link-freetext\" href=\"http://ltsc.ieee.org/xsd/LOM\">http://ltsc.ieee.org/xsd/LOM</a>&lt;/value&gt;<br>\n                     &lt;/key&gt;<br>\n                     <br>\n                     &lt;bean\n class=\"org.orioai.repository.domain.model.set.OaiSetSourceInfos\"&gt;<br>\n                         &lt;property name=\"xpath\"&gt;<br>\n                             &lt;list&gt;<br>\n                                 <b>&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(name)&lt;/value&gt;<br>\n                                \n&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(fname)&lt;/value&gt;<br>\n                                \n&lt;value&gt;//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(organization)&lt;/value&gt;</b><br>\n                             &lt;/list&gt;<br>\n                         &lt;/property&gt;  <br>\n                     &lt;/bean&gt;<br>\n                   <br>\n                 &lt;/entry&gt;<br>\n             &lt;/map&gt;<br>\n         &lt;/property&gt;<br>\n     &lt;/bean&gt;</font>    <br>\n <br>\n <br>\n Quand je teste ce que cela donne, le set ne fonctionne pas :/<br>\n <br>\n Je pense qu\'il y a un souci avec le \"-\" ou l\'accent :/<br>\n <br>\n Comment puis je le coder autrement ?<br>\n <br>\n <br>\n <br>\n <br>\n Le 23/03/2011 15:04, Grégoire Neuville a écrit :\n <div class=\"emailFilter_Toggle\"><div class=\"emailFilter_Author_0\"><blockquote>Bonjour,\n <br>\n <br>\n Le repository à moissonner ne doit pas être configuré comme\n repository local dans le harvester (local.repositoryIdentifier) .\n Je viens de me faire avoir en faisant des tests locaux. Mais\n peut-être n\'est ce pas votre cas...\n <br>\n <br>\n En espérant que ça aide,\n <br>\n <br>\n Grégoire.\n <br>\n <br>\n On 23/03/2011 14:52, françois lefebvre wrote:\n <br>\n <div class=\"emailFilter_Author_1\"><blockquote type=\"cite\">  Bonjour,\n <br>\n <br>\n Je souhaite créer un set pour moissonnage en fonction du\n publisher (\n <br>\n xpath :\n <br>\n//lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(name)\n <br>\n ).\n <br>\n <br>\n J\'ai donc :\n <br>\n - créé un vocabulaire \"set-UNR-NPDC-RPN\" ( + conversion en UTF8\n )\n <br>\n - mes modifs sont prises en compte dans le module après avoir\n cliqué sur\n <br>\n \"forcer le cache\"\n <br>\n <br>\n <br>\n - créé un set dans le fichier \"repository-sets.xml\"\n <br>\n - en faisant un \"ListSets\", j\'ai bien :\n <br>\n <br>\n <br>\n - j\'ai réindexé tout pour être sûr.\n <br>\n <br>\n <br>\n <br>\n Mais, aucune ressource ne tombe dans ce set :/\n <br>\n Pourtant il devrait y avoir une ressource : ( screenshot du\n module\n <br>\n indexing )\n <br>\n <br>\n <br>\n <br>\n <br>\n Est ce un problème d\'accent dans :\n &lt;orioai:value&gt;Universit*é* Lille1 -\n <br>\n Sciences et Technologies&lt;/orioai:value&gt;    ??\n <br>\n <br>\n <br>\n Merci pour votre aide.\n <br>\n <br>\n <br>\n --\n <br>\n Cordialement.\n <br>\n <br>\n <br>\n François Lefebvre\n <br>\n Bibliothèque Universitaire de Lille 1\n <br>\n Cité Scientifique - B.P. 30155\n <br>\n 59653 VILLENEUVE D\'ASCQ CEDEX\n <br>\n Tél.: 03.20.33.60.73\n <br>\n <br>\n </blockquote></div>\n <br>\n </blockquote></div></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </body>\n</html>\n</div>', created = 1507748944, expire = 1507835344, headers = '', serialized = 0 WHERE cid = '4:c288729df1aa9d4c15b8c242fdebf102' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:1806b1faabeba243e4462d988e427214' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour,</p>\n<p>Le repository à moissonner ne doit pas être configuré comme repository<br />\nlocal dans le harvester (local.repositoryIdentifier) . Je viens de me<br />\nfaire avoir en faisant des tests locaux. Mais peut-être n\'est ce pas<br />\nvotre cas...</p>\n<p>En espérant que ça aide,</p>\n<p>Grégoire.</p>\n<p>On 23/03/2011 14:52, françois lefebvre wrote:<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Bonjour,<br />\n><br />\n> Je souhaite créer un set pour moissonnage en fonction du publisher (<br />\n> xpath :<br />\n> //lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(name)<br />\n> ).<br />\n><br />\n> J\'ai donc :<br />\n> - créé un vocabulaire \"set-UNR-NPDC-RPN\" ( + conversion en UTF8 )<br />\n> - mes modifs sont prises en compte dans le module après avoir cliqué sur<br />\n> \"forcer le cache\"<br />\n><br />\n><br />\n> - créé un set dans le fichier \"repository-sets.xml\"<br />\n> - en faisant un \"ListSets\", j\'ai bien :<br />\n><br />\n><br />\n> - j\'ai réindexé tout pour être sûr.<br />\n><br />\n><br />\n><br />\n> Mais, aucune ressource ne tombe dans ce set :/<br />\n> Pourtant il devrait y avoir une ressource : ( screenshot du module<br />\n> indexing )<br />\n><br />\n><br />\n><br />\n><br />\n> Est ce un problème d\'accent dans : <orioai:value>Universit*é* Lille1 -<br />\n> Sciences et Technologies</orioai:value> ??<br />\n><br />\n><br />\n> Merci pour votre aide.<br />\n><br />\n><br />\n> --<br />\n> Cordialement.<br />\n><br />\n><br />\n> François Lefebvre<br />\n> Bibliothèque Universitaire de Lille 1<br />\n> Cité Scientifique - B.P. 30155<br />\n> 59653 VILLENEUVE D\'ASCQ CEDEX<br />\n> Tél.: 03.20.33.60.73<br />\n></div>\n</blockquote>\n</div>\n', created = 1507748944, expire = 1507835344, headers = '', serialized = 0 WHERE cid = '4:1806b1faabeba243e4462d988e427214' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:903ce6363aba10378e5a8c3edd16845b' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"><!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n <head>\n\n <meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\n </head>\n <body bgcolor=\"#ffffff\" text=\"#000000\">\n Bonjour,<br>\n <br>\n Je souhaite créer un set pour moissonnage en fonction du publisher (\n xpath :\n //lom:lifeCycle/lom:contribute[lom:role/lom:value=\'publisher\']/lom:entity(name)\n ).<br>\n <br>\n J\'ai donc :<br>\n - créé un vocabulaire \"set-UNR-NPDC-RPN\" ( + conversion en UTF8 )<br>\n - mes modifs sont prises en compte dans le module après avoir cliqué\n sur \"forcer le cache\"<br>\n <br>\n <br>\n - créé un set dans le fichier \"repository-sets.xml\"<br>\n - en faisant un \"ListSets\", j\'ai bien : <br>\n <img src=\"#\" alt=\"\"><br>\n <br>\n - j\'ai réindexé tout pour être sûr.<br>\n <br>\n <br>\n <br>\n Mais, aucune ressource ne tombe dans ce set :/<br>\n Pourtant il devrait y avoir une ressource : ( screenshot du module\n indexing )<br>\n <br>\n <img src=\"#\" alt=\"\"><br>\n <br>\n <br>\n Est ce un problème d\'accent dans : &lt;orioai:value&gt;Universit<b>é</b>\n Lille1 - Sciences et Technologies&lt;/orioai:value&gt;    ??<br>\n <br>\n <br>\n Merci pour votre aide.<br>\n <br>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFrançois Lefebvre\nBibliothèque Universitaire de Lille 1\nCité Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nTél.: 03.20.33.60.73</pre>\n </body>\n</html>\n</div>', created = 1507748944, expire = 1507835344, headers = '', serialized = 0 WHERE cid = '4:903ce6363aba10378e5a8c3edd16845b' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
9 messages / 0 nouveaux
Dernière contribution
francoisjannin
création d'un set en fonction du publisher
Bonjour,

Une nouvelle version 1.6.3 du module repository est disponible, elle corrige certains problèmes lors de la génération des sets.
Attention : son utilisation peux nécessiter la modification du fichier liusConfig.xml dans le module indexing.
La doc a été modifiée sur le site ORI-OAI, concernant l'étape 3 de l'ajout de métadonnées :

http://www.ori-oai.org/display/ORIOAIrepository/Utilisation

Elle est disponible ici :

https://subversion.cru.fr/ori-oai-repo/tags/1.6.3

Vous pouvez simpement aller dans votre répertoire d'installation du repository (ex. /usr/local/ori/src/ori-oai-repository-svn) et faire :

svn switch https://subversion.cru.fr/ori-oai-repo/tags/1.6.3

Vous pouvez par exemple définir un set basé sur //lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(url)

Voici brièvement les étapes de configuration pour ce champ xml :
1. REPOSITORY :  repository-set.xml

<bean id="set-UNR-NPDC" class="org.orioai.repository.domain.model.set.OaiSetInfos" init-method="init">
....
<bean class="org.orioai.repository.domain.model.set.OaiSetSourceInfos">
                        <property name="xpath">
                            <list>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(url)</value>
                            </list>
                        </property>
</bean>

2. VOCABULARY :

<vdex:termIdentifier>1</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
  <vdex:metadata>
        <orioai:value>http://www.univ-lille1.fr</orioai:value>
  </vdex:metadata>


3. INDEXING : configIndexing.xml :
Comme l'URL  contient un caractère reservé ":" , il faut le faire remplacer pour que les recherches dans l'index fonctionnent :

<replacement stringToReplace=":" stringReplacement="@">
                        <metadata>md-ori-oai-id</metadata>
                        <metadata>md-ori-oai-namespace</metadata>
                        <metadata>%2F%2Flom%3AlifeCycle%2Flom%3Acontribute%5Blom%3Arole%2Flom%3Avalue%3D%27publisher%27%5D%2Flom%3Aentity%28url%29</metadata>
</replacement>

 4. INDEXING : liusConfig.xml :

<!-- LOM -->
                        <xmlFile ns="http://ltsc.ieee.org/xsd/LOM" setBoost="2.0">
                                <indexer class="org.orioai.indexing.index.indexer.OriOaiXmlFileIndexer">
                                        <mime>text/xml</mime>
                                </indexer>
                                <fields>^M
                               
                                <luceneField name="%2F%2Flom%3AlifeCycle%2Flom%3Acontribute%5Blom%3Arole%2Flom%3Avalue%3D%27publisher%27%5D%2Flom%3Aentity%28url%29" xpathSelect="//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(url)" type="Text" setBoost="1.5"/>

ET :
<searchResult>
                <fieldsToDisplay setHighlighter="true">
                ...
                ...

<luceneField name="%2F%2Flom%3AlifeCycle%2Flom%3Acontribute%5Blom%3Arole%2Flom%3Avalue%3D%27publisher%27%5D%2Flom%3Aentity%28url%29" xpathSelect="//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(url)" label="//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(url)"/>

Cette configuration a été testée et fonctionne, cependant n'hésitez pas à nous recontacter en cas de problème.

Cordialement,

François

--
" alt="" height="46" width="60" border="0">
François Jannin
DSI - Développement et déploiement d'applications
Tél : +33 (0)5 34 32 30 51
" height="58" width="597">
INP Toulouse
6 allée Emile Monso - BP 34038
31029 Toulouse cedex 4
http://www.inp-toulouse.fr
" height="16" width="16"> Avant d’imprimer ce courriel, demandez-vous si ceci est nécessaire.





Le 23/03/2011 17:38, françois lefebvre a écrit :
Bon c'est bien ce que je pensais....

Après avoir allégé l'URL de moissonnage des caractères spéciaux, je me suis occupé de l'accent et du tiret de mon critère :

<vdex:term validIndex="true">
  <vdex:termIdentifier>LILLE1</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
  <vdex:metadata>
    <orioai:value>Universit*</orioai:value>
  </vdex:metadata>
</vdex:term>

>> Comme ceci, ca marche.

Mais ca, non :

<vdex:term validIndex="true">
  <vdex:termIdentifier>LILLE1</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
  <vdex:metadata>
    <orioai:value>Université*</orioai:value>
  </vdex:metadata>
</vdex:term>


Avec le "é" en plus cela ne fonctionne plus.
Cela risque de faire pareil avec les espaces.

Il me faut trouver un moyen d'encoder le critère
Pour info, le html.encode ne fonctionne pas  : Universit%C3%83C2%A9+Lille1+-+Sciences+et+Technologies


Voilà... si quelqu'un a une idée....





Le 23/03/2011 17:14, françois lefebvre a écrit :
Je complète ce sujet avec les idées de Jacques :

J'ai remplacé le "-" par un espace, ou par "*".
J'ai toujours un comportement pas logique.



Autre point :

Si cela vient de l'URL à utiliser pour me moissonner qui comporte des caractères spéciaux :
http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&verb=ListRecords&metadataPrefix=oai_dc&set=set-UNR-NPDC-RPN:Universit%C3%A9%20Lille1%20Sciences%20et%20Technologies


J'ai donc comparé mon vocabulaire avec "dewey_100_taxonomie_regexp.xml" et "search_unit_taxonomie_regexp.xml".

J'ai donc fait mon vocabulaire sous cette forme :

<vdex:term validIndex="true">
  <vdex:termIdentifier>LILLE1</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
  <vdex:metadata>
    <orioai:value>Université Lille1 - Sciences et Technologies</orioai:value>
  </vdex:metadata>
</vdex:term>

</vdex:vdex>

Cela me donne donc une URL sans caractère spécial pour pouvoir nous moissonner :
http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&verb=ListRecords&metadataPrefix=oai_dc&set=set-UNR-NPDC-RPN:LILLE1


J'ai pris soin dans "repo-sets.xml" de modifier :

<property name="valueXpath" value=".//vdex:termIdentifier"/>

par :

<property name="valueXpath" value=".//orioai:value"/>



Mais cela n'a pas l'air de fonctionner non plus :/






Le 23/03/2011 16:12, françois lefebvre a écrit :
bonjour,

Pour mieux expliquer ma démarche :
Je souhaite créer un set pour l'UNR pour l'avenir, si nous avons trop de ressources, le set sera créé et je pourrai appliquer des filtres.
Mais actuellement, je n'ai aucun critère à définir.
Je dois donc faire un critère de sélection bidon pour que le set fonctionne tout de même.

Je souhaite donc créer un set UNR ayant comme critère de sélection, les ressources ayant comme publisher : Université Lille1 - Sciences et Technologies.
Sachant que toutes mes ressources ont comme publisher cette valeur ( écrit en dur à l'initialisation d'une ressource ), c'est donc un critère de sélection qui ne va rien filtrer :)


Seulement, après avoir défini mon vocabulaire statique :
<vdex:term validIndex="false">
  <vdex:termIdentifier>Université Lille1 - Sciences et Technologies</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
</vdex:term>



Et après avoir créé un set dans le fichier repository-sets.xml :

<bean id="set-UNR-NPDC" class="org.orioai.repository.domain.model.set.OaiSetInfos" init-method="init">
        <property name="vocabularyId" value="set-UNR-NPDC-RPN"/>
        <property name="rootTag" value="vdex"/>
        <property name="termXpath" value="//vdex:term"/>
        <property name="valueXpath" value=".//vdex:termIdentifier"/>
        <property name="setSpecXpath" value="vdex:termIdentifier"/>
        <property name="setNameXpath" value="vdex:caption/vdex:langstring[@language = 'fr']"/>
        <property name="vocabularyNameXpath" value="//vdex:vocabName/vdex:langstring[@language = 'fr']"/>
        <property name="vocabularyNameDefault" value="UNR-NPDC-RPN"/>
     
        <property name="xpathSources">
            <map>
                <entry>
                    <key>
                        <value>http://ltsc.ieee.org/xsd/LOM</value>
                    </key>
                   
                    <bean class="org.orioai.repository.domain.model.set.OaiSetSourceInfos">
                        <property name="xpath">
                            <list>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(name)</value>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(fname)</value>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(organization)</value>

                            </list>
                        </property> 
                    </bean>
                 
                </entry>
            </map>
        </property>
    </bean>
   


Quand je teste ce que cela donne, le set ne fonctionne pas :/

Je pense qu'il y a un souci avec le "-" ou l'accent :/

Comment puis je le coder autrement ?




Le 23/03/2011 15:04, Grégoire Neuville a écrit :
Bonjour,

Le repository à moissonner ne doit pas être configuré comme repository local dans le harvester (local.repositoryIdentifier) . Je viens de me faire avoir en faisant des tests locaux. Mais peut-être n'est ce pas votre cas...

En espérant que ça aide,

Grégoire.

On 23/03/2011 14:52, françois lefebvre wrote:
  Bonjour,

Je souhaite créer un set pour moissonnage en fonction du publisher (
xpath :
//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(name)
).

J'ai donc :
- créé un vocabulaire "set-UNR-NPDC-RPN" ( + conversion en UTF8 )
- mes modifs sont prises en compte dans le module après avoir cliqué sur
"forcer le cache"


- créé un set dans le fichier "repository-sets.xml"
- en faisant un "ListSets", j'ai bien :


- j'ai réindexé tout pour être sûr.



Mais, aucune ressource ne tombe dans ce set :/
Pourtant il devrait y avoir une ressource : ( screenshot du module
indexing )




Est ce un problème d'accent dans : <orioai:value>Universit*é* Lille1 -
Sciences et Technologies</orioai:value>    ??


Merci pour votre aide.


--
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73



-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73



francoisjannin
Bonjour,

Après analyse du problème, il apparait qu'à l'heure actuelle l'affectation d'un set à une fiche en se servant d'un champs possédant des caractères spéciaux peux poser problème au moment de l'interrogation du module d'indexation, utilisé par le repository. Nous etudions la correction de ce bug et vous ferons part du correctif. Cela engendre dans les faits un set vide.

D'autre part, pour l'affichage des setspec, il faut que le xpath soit un xpath valide, et non simplement le nom d'un champ indexé défini dans liusConfig.xml (etape 3 de la doc).
Concrètement , entity(name) est une syntaxe propre à l'indexing qui permet d'extraire la valeur de la VCARD.
Dans la fiche XML, seul le champ entity existe, mais contient une vcard sous forme d'un seul champ texte, dans votre cas :

<lom:entity>BEGIN:VCARD
VERSION:3.0
N:Université Lille1 - Sciences et Technologies;;;;
FN:Université Lille1 - Sciences et Technologies
ORG:Université Lille1 - Sciences et Technologies
URL:http://www.univ-lille1.fr
EMAIL;TYPE=INTERNET:
END:VCARD</lom:entity>


La page http://www.ori-oai.org/display/ORIOAIrepository/Utilisation sera trés prochainement mise à jour en fonction de ces éléments, pour préciser ces restrictions d'utilisation dans l'ajout des métadonnées.
Des evolutions sont à l'étude afin de pallier à ces restrictions.


Pour ce qui est des entité XML qui font planter le vocabulary, c'est parce que ces entités ne sont pas déclarées, il faut donc
-soit déclarer au début de votre fichier XML les entités nommées et les faire correspondre à leur code, par exemple :

<!DOCTYPE speccars [
<!ENTITY nbsp "&#160;">
<!ENTITY eacute "&#233;">
]>

- soit utiliser les codes décimaux ou hexadécimaux correspondant directement dans les balises XML de la fiche :

<orioai:value>Universit&#233;&#160;Lille1&#160;-&#160;Sciences&#160;et&#160;Technologies</orioai:value>

Je précise que cela n'est normalement nécessaire que pour les caractères reservés. Dans le cas présent cela ne contournera pas le bug.
Pour info, consulter par exemple http://www.w3schools.com/tags/ref_entities.asp

Cordialement,

François


Le 24/03/2011 08:50, françois lefebvre a écrit :
Bonjour Jacques,

Cet encodage : <orioai:value>Universit&eacute;&nbsp;Lille1&nbsp;-&nbsp;Sciences&nbsp;et&nbsp;Technologies</orioai:value>

Fait planter le vocabulary :

org.orioai.vocabulary.exceptions.OriVocabularyException: A problem occurs while retrieving the vocabulary : set-UNR-NPDC-RPN, etc......



Ce qui est étrange :

Le vocabulaire common_lomfr_educ_activity.xml a par exemple : <vdex:termIdentifier>coopérer</vdex:termIdentifier>

Il y a bien un accent, et lui fonctionne :/


J'ai testé l'encodage du fichier en UTF8 avec/sans BOM, cela ne change rien.




Le 23/03/2011 17:49, Jacques Brassart a écrit :
François,

avec des encodages "entités HTML".

ex : "&gt;" pour ">"

Jacques

Le 23/03/2011 17:38, françois lefebvre a écrit :
Bon c'est bien ce que je pensais....

Après avoir allégé l'URL de moissonnage des caractères spéciaux, je me suis occupé de l'accent et du tiret de mon critère :

<vdex:term validIndex="true">
  <vdex:termIdentifier>LILLE1</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
  <vdex:metadata>
    <orioai:value>Universit*</orioai:value>
  </vdex:metadata>
</vdex:term>

>> Comme ceci, ca marche.

Mais ca, non :

<vdex:term validIndex="true">
  <vdex:termIdentifier>LILLE1</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
  <vdex:metadata>
    <orioai:value>Université*</orioai:value>
  </vdex:metadata>
</vdex:term>


Avec le "é" en plus cela ne fonctionne plus.
Cela risque de faire pareil avec les espaces.

Il me faut trouver un moyen d'encoder le critère
Pour info, le html.encode ne fonctionne pas  : Universit%C3%83C2%A9+Lille1+-+Sciences+et+Technologies


Voilà... si quelqu'un a une idée....





Le 23/03/2011 17:14, françois lefebvre a écrit :
Je complète ce sujet avec les idées de Jacques :

J'ai remplacé le "-" par un espace, ou par "*".
J'ai toujours un comportement pas logique.



Autre point :

Si cela vient de l'URL à utiliser pour me moissonner qui comporte des caractères spéciaux :
http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&verb=ListRecords&metadataPrefix=oai_dc&set=set-UNR-NPDC-RPN:Universit%C3%A9%20Lille1%20Sciences%20et%20Technologies


J'ai donc comparé mon vocabulaire avec "dewey_100_taxonomie_regexp.xml" et "search_unit_taxonomie_regexp.xml".

J'ai donc fait mon vocabulaire sous cette forme :

<vdex:term validIndex="true">
  <vdex:termIdentifier>LILLE1</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
  <vdex:metadata>
    <orioai:value>Université Lille1 - Sciences et Technologies</orioai:value>
  </vdex:metadata>
</vdex:term>

</vdex:vdex>

Cela me donne donc une URL sans caractère spécial pour pouvoir nous moissonner :
http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&verb=ListRecords&metadataPrefix=oai_dc&set=set-UNR-NPDC-RPN:LILLE1


J'ai pris soin dans "repo-sets.xml" de modifier :

<property name="valueXpath" value=".//vdex:termIdentifier"/>

par :

<property name="valueXpath" value=".//orioai:value"/>



Mais cela n'a pas l'air de fonctionner non plus :/






Le 23/03/2011 16:12, françois lefebvre a écrit :
bonjour,

Pour mieux expliquer ma démarche :
Je souhaite créer un set pour l'UNR pour l'avenir, si nous avons trop de ressources, le set sera créé et je pourrai appliquer des filtres.
Mais actuellement, je n'ai aucun critère à définir.
Je dois donc faire un critère de sélection bidon pour que le set fonctionne tout de même.

Je souhaite donc créer un set UNR ayant comme critère de sélection, les ressources ayant comme publisher : Université Lille1 - Sciences et Technologies.
Sachant que toutes mes ressources ont comme publisher cette valeur ( écrit en dur à l'initialisation d'une ressource ), c'est donc un critère de sélection qui ne va rien filtrer :)


Seulement, après avoir défini mon vocabulaire statique :
<vdex:term validIndex="false">
  <vdex:termIdentifier>Université Lille1 - Sciences et Technologies</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
</vdex:term>



Et après avoir créé un set dans le fichier repository-sets.xml :

<bean id="set-UNR-NPDC" class="org.orioai.repository.domain.model.set.OaiSetInfos" init-method="init">
        <property name="vocabularyId" value="set-UNR-NPDC-RPN"/>
        <property name="rootTag" value="vdex"/>
        <property name="termXpath" value="//vdex:term"/>
        <property name="valueXpath" value=".//vdex:termIdentifier"/>
        <property name="setSpecXpath" value="vdex:termIdentifier"/>
        <property name="setNameXpath" value="vdex:caption/vdex:langstring[@language = 'fr']"/>
        <property name="vocabularyNameXpath" value="//vdex:vocabName/vdex:langstring[@language = 'fr']"/>
        <property name="vocabularyNameDefault" value="UNR-NPDC-RPN"/>
     
        <property name="xpathSources">
            <map>
                <entry>
                    <key>
                        <value>http://ltsc.ieee.org/xsd/LOM</value>
                    </key>
                   
                    <bean class="org.orioai.repository.domain.model.set.OaiSetSourceInfos">
                        <property name="xpath">
                            <list>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(name)</value>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(fname)</value>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(organization)</value>

                            </list>
                        </property> 
                    </bean>
                 
                </entry>
            </map>
        </property>
    </bean>
   


Quand je teste ce que cela donne, le set ne fonctionne pas :/

Je pense qu'il y a un souci avec le "-" ou l'accent :/

Comment puis je le coder autrement ?




Le 23/03/2011 15:04, Grégoire Neuville a écrit :
Bonjour,

Le repository à moissonner ne doit pas être configuré comme repository local dans le harvester (local.repositoryIdentifier) . Je viens de me faire avoir en faisant des tests locaux. Mais peut-être n'est ce pas votre cas...

En espérant que ça aide,

Grégoire.

On 23/03/2011 14:52, françois lefebvre wrote:
  Bonjour,

Je souhaite créer un set pour moissonnage en fonction du publisher (
xpath :
//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(name)
).

J'ai donc :
- créé un vocabulaire "set-UNR-NPDC-RPN" ( + conversion en UTF8 )
- mes modifs sont prises en compte dans le module après avoir cliqué sur
"forcer le cache"


- créé un set dans le fichier "repository-sets.xml"
- en faisant un "ListSets", j'ai bien :


- j'ai réindexé tout pour être sûr.



Mais, aucune ressource ne tombe dans ce set :/
Pourtant il devrait y avoir une ressource : ( screenshot du module
indexing )




Est ce un problème d'accent dans : <orioai:value>Universit*é* Lille1 -
Sciences et Technologies</orioai:value>    ??


Merci pour votre aide.


--
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73



-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

-- 
Jacques Brassart
UNR Nord-Pas de Calais
Université de Valenciennes et du Hainaut-Cambrésis
Tél : 03 27 51 17 70

-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73


--
" alt="" height="46" width="60" border="0">
François Jannin
DSI - Développement et déploiement d'applications
Tél : +33 (0)5 34 32 30 51
" height="58" width="597">
INP Toulouse
6 allée Emile Monso - BP 34038
31029 Toulouse cedex 4
http://www.inp-toulouse.fr
" height="16" width="16"> Avant d’imprimer ce courriel, demandez-vous si ceci est nécessaire.
francoislefebvre
Bonjour Jacques,

Cet encodage : <orioai:value>Universit&eacute;&nbsp;Lille1&nbsp;-&nbsp;Sciences&nbsp;et&nbsp;Technologies</orioai:value>

Fait planter le vocabulary :

org.orioai.vocabulary.exceptions.OriVocabularyException: A problem occurs while retrieving the vocabulary : set-UNR-NPDC-RPN, etc......



Ce qui est étrange :

Le vocabulaire common_lomfr_educ_activity.xml a par exemple : <vdex:termIdentifier>coopérer</vdex:termIdentifier>

Il y a bien un accent, et lui fonctionne :/


J'ai testé l'encodage du fichier en UTF8 avec/sans BOM, cela ne change rien.




Le 23/03/2011 17:49, Jacques Brassart a écrit :
François,

avec des encodages "entités HTML".

ex : "&gt;" pour ">"

Jacques

Le 23/03/2011 17:38, françois lefebvre a écrit :
Bon c'est bien ce que je pensais....

Après avoir allégé l'URL de moissonnage des caractères spéciaux, je me suis occupé de l'accent et du tiret de mon critère :

<vdex:term validIndex="true">
  <vdex:termIdentifier>LILLE1</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
  <vdex:metadata>
    <orioai:value>Universit*</orioai:value>
  </vdex:metadata>
</vdex:term>

>> Comme ceci, ca marche.

Mais ca, non :

<vdex:term validIndex="true">
  <vdex:termIdentifier>LILLE1</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
  <vdex:metadata>
    <orioai:value>Université*</orioai:value>
  </vdex:metadata>
</vdex:term>


Avec le "é" en plus cela ne fonctionne plus.
Cela risque de faire pareil avec les espaces.

Il me faut trouver un moyen d'encoder le critère
Pour info, le html.encode ne fonctionne pas  : Universit%C3%83C2%A9+Lille1+-+Sciences+et+Technologies


Voilà... si quelqu'un a une idée....





Le 23/03/2011 17:14, françois lefebvre a écrit :
Je complète ce sujet avec les idées de Jacques :

J'ai remplacé le "-" par un espace, ou par "*".
J'ai toujours un comportement pas logique.



Autre point :

Si cela vient de l'URL à utiliser pour me moissonner qui comporte des caractères spéciaux :
http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&verb=ListRecords&metadataPrefix=oai_dc&set=set-UNR-NPDC-RPN:Universit%C3%A9%20Lille1%20Sciences%20et%20Technologies


J'ai donc comparé mon vocabulaire avec "dewey_100_taxonomie_regexp.xml" et "search_unit_taxonomie_regexp.xml".

J'ai donc fait mon vocabulaire sous cette forme :

<vdex:term validIndex="true">
  <vdex:termIdentifier>LILLE1</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
  <vdex:metadata>
    <orioai:value>Université Lille1 - Sciences et Technologies</orioai:value>
  </vdex:metadata>
</vdex:term>

</vdex:vdex>

Cela me donne donc une URL sans caractère spécial pour pouvoir nous moissonner :
http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&verb=ListRecords&metadataPrefix=oai_dc&set=set-UNR-NPDC-RPN:LILLE1


J'ai pris soin dans "repo-sets.xml" de modifier :

<property name="valueXpath" value=".//vdex:termIdentifier"/>

par :

<property name="valueXpath" value=".//orioai:value"/>



Mais cela n'a pas l'air de fonctionner non plus :/






Le 23/03/2011 16:12, françois lefebvre a écrit :
bonjour,

Pour mieux expliquer ma démarche :
Je souhaite créer un set pour l'UNR pour l'avenir, si nous avons trop de ressources, le set sera créé et je pourrai appliquer des filtres.
Mais actuellement, je n'ai aucun critère à définir.
Je dois donc faire un critère de sélection bidon pour que le set fonctionne tout de même.

Je souhaite donc créer un set UNR ayant comme critère de sélection, les ressources ayant comme publisher : Université Lille1 - Sciences et Technologies.
Sachant que toutes mes ressources ont comme publisher cette valeur ( écrit en dur à l'initialisation d'une ressource ), c'est donc un critère de sélection qui ne va rien filtrer :)


Seulement, après avoir défini mon vocabulaire statique :
<vdex:term validIndex="false">
  <vdex:termIdentifier>Université Lille1 - Sciences et Technologies</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
</vdex:term>



Et après avoir créé un set dans le fichier repository-sets.xml :

<bean id="set-UNR-NPDC" class="org.orioai.repository.domain.model.set.OaiSetInfos" init-method="init">
        <property name="vocabularyId" value="set-UNR-NPDC-RPN"/>
        <property name="rootTag" value="vdex"/>
        <property name="termXpath" value="//vdex:term"/>
        <property name="valueXpath" value=".//vdex:termIdentifier"/>
        <property name="setSpecXpath" value="vdex:termIdentifier"/>
        <property name="setNameXpath" value="vdex:caption/vdex:langstring[@language = 'fr']"/>
        <property name="vocabularyNameXpath" value="//vdex:vocabName/vdex:langstring[@language = 'fr']"/>
        <property name="vocabularyNameDefault" value="UNR-NPDC-RPN"/>
     
        <property name="xpathSources">
            <map>
                <entry>
                    <key>
                        <value>http://ltsc.ieee.org/xsd/LOM</value>
                    </key>
                   
                    <bean class="org.orioai.repository.domain.model.set.OaiSetSourceInfos">
                        <property name="xpath">
                            <list>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(name)</value>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(fname)</value>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(organization)</value>

                            </list>
                        </property> 
                    </bean>
                 
                </entry>
            </map>
        </property>
    </bean>
   


Quand je teste ce que cela donne, le set ne fonctionne pas :/

Je pense qu'il y a un souci avec le "-" ou l'accent :/

Comment puis je le coder autrement ?




Le 23/03/2011 15:04, Grégoire Neuville a écrit :
Bonjour,

Le repository à moissonner ne doit pas être configuré comme repository local dans le harvester (local.repositoryIdentifier) . Je viens de me faire avoir en faisant des tests locaux. Mais peut-être n'est ce pas votre cas...

En espérant que ça aide,

Grégoire.

On 23/03/2011 14:52, françois lefebvre wrote:
  Bonjour,

Je souhaite créer un set pour moissonnage en fonction du publisher (
xpath :
//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(name)
).

J'ai donc :
- créé un vocabulaire "set-UNR-NPDC-RPN" ( + conversion en UTF8 )
- mes modifs sont prises en compte dans le module après avoir cliqué sur
"forcer le cache"


- créé un set dans le fichier "repository-sets.xml"
- en faisant un "ListSets", j'ai bien :


- j'ai réindexé tout pour être sûr.



Mais, aucune ressource ne tombe dans ce set :/
Pourtant il devrait y avoir une ressource : ( screenshot du module
indexing )




Est ce un problème d'accent dans : <orioai:value>Universit*é* Lille1 -
Sciences et Technologies</orioai:value>    ??


Merci pour votre aide.


--
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73



-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

-- 
Jacques Brassart
UNR Nord-Pas de Calais
Université de Valenciennes et du Hainaut-Cambrésis
Tél : 03 27 51 17 70

-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73
jbrassar
François,

avec des encodages "entités HTML".

ex : "&gt;" pour ">"

Jacques

Le 23/03/2011 17:38, françois lefebvre a écrit :
Bon c'est bien ce que je pensais....

Après avoir allégé l'URL de moissonnage des caractères spéciaux, je me suis occupé de l'accent et du tiret de mon critère :

<vdex:term validIndex="true">
  <vdex:termIdentifier>LILLE1</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
  <vdex:metadata>
    <orioai:value>Universit*</orioai:value>
  </vdex:metadata>
</vdex:term>

>> Comme ceci, ca marche.

Mais ca, non :

<vdex:term validIndex="true">
  <vdex:termIdentifier>LILLE1</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
  <vdex:metadata>
    <orioai:value>Université*</orioai:value>
  </vdex:metadata>
</vdex:term>


Avec le "é" en plus cela ne fonctionne plus.
Cela risque de faire pareil avec les espaces.

Il me faut trouver un moyen d'encoder le critère
Pour info, le html.encode ne fonctionne pas  : Universit%C3%83C2%A9+Lille1+-+Sciences+et+Technologies


Voilà... si quelqu'un a une idée....





Le 23/03/2011 17:14, françois lefebvre a écrit :
Je complète ce sujet avec les idées de Jacques :

J'ai remplacé le "-" par un espace, ou par "*".
J'ai toujours un comportement pas logique.



Autre point :

Si cela vient de l'URL à utiliser pour me moissonner qui comporte des caractères spéciaux :
http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&verb=ListRecords&metadataPrefix=oai_dc&set=set-UNR-NPDC-RPN:Universit%C3%A9%20Lille1%20Sciences%20et%20Technologies


J'ai donc comparé mon vocabulaire avec "dewey_100_taxonomie_regexp.xml" et "search_unit_taxonomie_regexp.xml".

J'ai donc fait mon vocabulaire sous cette forme :

<vdex:term validIndex="true">
  <vdex:termIdentifier>LILLE1</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
  <vdex:metadata>
    <orioai:value>Université Lille1 - Sciences et Technologies</orioai:value>
  </vdex:metadata>
</vdex:term>

</vdex:vdex>

Cela me donne donc une URL sans caractère spécial pour pouvoir nous moissonner :
http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&verb=ListRecords&metadataPrefix=oai_dc&set=set-UNR-NPDC-RPN:LILLE1


J'ai pris soin dans "repo-sets.xml" de modifier :

<property name="valueXpath" value=".//vdex:termIdentifier"/>

par :

<property name="valueXpath" value=".//orioai:value"/>



Mais cela n'a pas l'air de fonctionner non plus :/






Le 23/03/2011 16:12, françois lefebvre a écrit :
bonjour,

Pour mieux expliquer ma démarche :
Je souhaite créer un set pour l'UNR pour l'avenir, si nous avons trop de ressources, le set sera créé et je pourrai appliquer des filtres.
Mais actuellement, je n'ai aucun critère à définir.
Je dois donc faire un critère de sélection bidon pour que le set fonctionne tout de même.

Je souhaite donc créer un set UNR ayant comme critère de sélection, les ressources ayant comme publisher : Université Lille1 - Sciences et Technologies.
Sachant que toutes mes ressources ont comme publisher cette valeur ( écrit en dur à l'initialisation d'une ressource ), c'est donc un critère de sélection qui ne va rien filtrer :)


Seulement, après avoir défini mon vocabulaire statique :
<vdex:term validIndex="false">
  <vdex:termIdentifier>Université Lille1 - Sciences et Technologies</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
</vdex:term>



Et après avoir créé un set dans le fichier repository-sets.xml :

<bean id="set-UNR-NPDC" class="org.orioai.repository.domain.model.set.OaiSetInfos" init-method="init">
        <property name="vocabularyId" value="set-UNR-NPDC-RPN"/>
        <property name="rootTag" value="vdex"/>
        <property name="termXpath" value="//vdex:term"/>
        <property name="valueXpath" value=".//vdex:termIdentifier"/>
        <property name="setSpecXpath" value="vdex:termIdentifier"/>
        <property name="setNameXpath" value="vdex:caption/vdex:langstring[@language = 'fr']"/>
        <property name="vocabularyNameXpath" value="//vdex:vocabName/vdex:langstring[@language = 'fr']"/>
        <property name="vocabularyNameDefault" value="UNR-NPDC-RPN"/>
     
        <property name="xpathSources">
            <map>
                <entry>
                    <key>
                        <value>http://ltsc.ieee.org/xsd/LOM</value>
                    </key>
                   
                    <bean class="org.orioai.repository.domain.model.set.OaiSetSourceInfos">
                        <property name="xpath">
                            <list>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(name)</value>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(fname)</value>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(organization)</value>

                            </list>
                        </property> 
                    </bean>
                 
                </entry>
            </map>
        </property>
    </bean>
   


Quand je teste ce que cela donne, le set ne fonctionne pas :/

Je pense qu'il y a un souci avec le "-" ou l'accent :/

Comment puis je le coder autrement ?




Le 23/03/2011 15:04, Grégoire Neuville a écrit :
Bonjour,

Le repository à moissonner ne doit pas être configuré comme repository local dans le harvester (local.repositoryIdentifier) . Je viens de me faire avoir en faisant des tests locaux. Mais peut-être n'est ce pas votre cas...

En espérant que ça aide,

Grégoire.

On 23/03/2011 14:52, françois lefebvre wrote:
  Bonjour,

Je souhaite créer un set pour moissonnage en fonction du publisher (
xpath :
//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(name)
).

J'ai donc :
- créé un vocabulaire "set-UNR-NPDC-RPN" ( + conversion en UTF8 )
- mes modifs sont prises en compte dans le module après avoir cliqué sur
"forcer le cache"


- créé un set dans le fichier "repository-sets.xml"
- en faisant un "ListSets", j'ai bien :


- j'ai réindexé tout pour être sûr.



Mais, aucune ressource ne tombe dans ce set :/
Pourtant il devrait y avoir une ressource : ( screenshot du module
indexing )




Est ce un problème d'accent dans : <orioai:value>Universit*é* Lille1 -
Sciences et Technologies</orioai:value>    ??


Merci pour votre aide.


--
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73



-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

-- 
Jacques Brassart
UNR Nord-Pas de Calais
Université de Valenciennes et du Hainaut-Cambrésis
Tél : 03 27 51 17 70
francoislefebvre
Bon c'est bien ce que je pensais....

Après avoir allégé l'URL de moissonnage des caractères spéciaux, je me suis occupé de l'accent et du tiret de mon critère :

<vdex:term validIndex="true">
  <vdex:termIdentifier>LILLE1</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
  <vdex:metadata>
    <orioai:value>Universit*</orioai:value>
  </vdex:metadata>
</vdex:term>

>> Comme ceci, ca marche.

Mais ca, non :

<vdex:term validIndex="true">
  <vdex:termIdentifier>LILLE1</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
  <vdex:metadata>
    <orioai:value>Université*</orioai:value>
  </vdex:metadata>
</vdex:term>


Avec le "é" en plus cela ne fonctionne plus.
Cela risque de faire pareil avec les espaces.

Il me faut trouver un moyen d'encoder le critère
Pour info, le html.encode ne fonctionne pas  : Universit%C3%83C2%A9+Lille1+-+Sciences+et+Technologies


Voilà... si quelqu'un a une idée....





Le 23/03/2011 17:14, françois lefebvre a écrit :
Je complète ce sujet avec les idées de Jacques :

J'ai remplacé le "-" par un espace, ou par "*".
J'ai toujours un comportement pas logique.



Autre point :

Si cela vient de l'URL à utiliser pour me moissonner qui comporte des caractères spéciaux :
http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&verb=ListRecords&metadataPrefix=oai_dc&set=set-UNR-NPDC-RPN:Universit%C3%A9%20Lille1%20Sciences%20et%20Technologies


J'ai donc comparé mon vocabulaire avec "dewey_100_taxonomie_regexp.xml" et "search_unit_taxonomie_regexp.xml".

J'ai donc fait mon vocabulaire sous cette forme :

<vdex:term validIndex="true">
  <vdex:termIdentifier>LILLE1</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
  <vdex:metadata>
    <orioai:value>Université Lille1 - Sciences et Technologies</orioai:value>
  </vdex:metadata>
</vdex:term>

</vdex:vdex>

Cela me donne donc une URL sans caractère spécial pour pouvoir nous moissonner :
http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&verb=ListRecords&metadataPrefix=oai_dc&set=set-UNR-NPDC-RPN:LILLE1


J'ai pris soin dans "repo-sets.xml" de modifier :

<property name="valueXpath" value=".//vdex:termIdentifier"/>

par :

<property name="valueXpath" value=".//orioai:value"/>



Mais cela n'a pas l'air de fonctionner non plus :/






Le 23/03/2011 16:12, françois lefebvre a écrit :
bonjour,

Pour mieux expliquer ma démarche :
Je souhaite créer un set pour l'UNR pour l'avenir, si nous avons trop de ressources, le set sera créé et je pourrai appliquer des filtres.
Mais actuellement, je n'ai aucun critère à définir.
Je dois donc faire un critère de sélection bidon pour que le set fonctionne tout de même.

Je souhaite donc créer un set UNR ayant comme critère de sélection, les ressources ayant comme publisher : Université Lille1 - Sciences et Technologies.
Sachant que toutes mes ressources ont comme publisher cette valeur ( écrit en dur à l'initialisation d'une ressource ), c'est donc un critère de sélection qui ne va rien filtrer :)


Seulement, après avoir défini mon vocabulaire statique :
<vdex:term validIndex="false">
  <vdex:termIdentifier>Université Lille1 - Sciences et Technologies</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
</vdex:term>



Et après avoir créé un set dans le fichier repository-sets.xml :

<bean id="set-UNR-NPDC" class="org.orioai.repository.domain.model.set.OaiSetInfos" init-method="init">
        <property name="vocabularyId" value="set-UNR-NPDC-RPN"/>
        <property name="rootTag" value="vdex"/>
        <property name="termXpath" value="//vdex:term"/>
        <property name="valueXpath" value=".//vdex:termIdentifier"/>
        <property name="setSpecXpath" value="vdex:termIdentifier"/>
        <property name="setNameXpath" value="vdex:caption/vdex:langstring[@language = 'fr']"/>
        <property name="vocabularyNameXpath" value="//vdex:vocabName/vdex:langstring[@language = 'fr']"/>
        <property name="vocabularyNameDefault" value="UNR-NPDC-RPN"/>
     
        <property name="xpathSources">
            <map>
                <entry>
                    <key>
                        <value>http://ltsc.ieee.org/xsd/LOM</value>
                    </key>
                   
                    <bean class="org.orioai.repository.domain.model.set.OaiSetSourceInfos">
                        <property name="xpath">
                            <list>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(name)</value>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(fname)</value>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(organization)</value>

                            </list>
                        </property> 
                    </bean>
                 
                </entry>
            </map>
        </property>
    </bean>
   


Quand je teste ce que cela donne, le set ne fonctionne pas :/

Je pense qu'il y a un souci avec le "-" ou l'accent :/

Comment puis je le coder autrement ?




Le 23/03/2011 15:04, Grégoire Neuville a écrit :
Bonjour,

Le repository à moissonner ne doit pas être configuré comme repository local dans le harvester (local.repositoryIdentifier) . Je viens de me faire avoir en faisant des tests locaux. Mais peut-être n'est ce pas votre cas...

En espérant que ça aide,

Grégoire.

On 23/03/2011 14:52, françois lefebvre wrote:
  Bonjour,

Je souhaite créer un set pour moissonnage en fonction du publisher (
xpath :
//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(name)
).

J'ai donc :
- créé un vocabulaire "set-UNR-NPDC-RPN" ( + conversion en UTF8 )
- mes modifs sont prises en compte dans le module après avoir cliqué sur
"forcer le cache"


- créé un set dans le fichier "repository-sets.xml"
- en faisant un "ListSets", j'ai bien :


- j'ai réindexé tout pour être sûr.



Mais, aucune ressource ne tombe dans ce set :/
Pourtant il devrait y avoir une ressource : ( screenshot du module
indexing )




Est ce un problème d'accent dans : <orioai:value>Universit*é* Lille1 -
Sciences et Technologies</orioai:value>    ??


Merci pour votre aide.


--
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73



-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73
francoislefebvre
Je complète ce sujet avec les idées de Jacques :

J'ai remplacé le "-" par un espace, ou par "*".
J'ai toujours un comportement pas logique.



Autre point :

Si cela vient de l'URL à utiliser pour me moissonner qui comporte des caractères spéciaux :
http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&verb=ListRecords&metadataPrefix=oai_dc&set=set-UNR-NPDC-RPN:Universit%C3%A9%20Lille1%20Sciences%20et%20Technologies


J'ai donc comparé mon vocabulaire avec "dewey_100_taxonomie_regexp.xml" et "search_unit_taxonomie_regexp.xml".

J'ai donc fait mon vocabulaire sous cette forme :

<vdex:term validIndex="true">
  <vdex:termIdentifier>LILLE1</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
  <vdex:metadata>
    <orioai:value>Université Lille1 - Sciences et Technologies</orioai:value>
  </vdex:metadata>
</vdex:term>

</vdex:vdex>

Cela me donne donc une URL sans caractère spécial pour pouvoir nous moissonner :
http://pcbu-testori.univ-lille1.fr/ori-oai-repository/?index=3&verb=ListRecords&metadataPrefix=oai_dc&set=set-UNR-NPDC-RPN:LILLE1


J'ai pris soin dans "repo-sets.xml" de modifier :

<property name="valueXpath" value=".//vdex:termIdentifier"/>

par :

<property name="valueXpath" value=".//orioai:value"/>



Mais cela n'a pas l'air de fonctionner non plus :/






Le 23/03/2011 16:12, françois lefebvre a écrit :
bonjour,

Pour mieux expliquer ma démarche :
Je souhaite créer un set pour l'UNR pour l'avenir, si nous avons trop de ressources, le set sera créé et je pourrai appliquer des filtres.
Mais actuellement, je n'ai aucun critère à définir.
Je dois donc faire un critère de sélection bidon pour que le set fonctionne tout de même.

Je souhaite donc créer un set UNR ayant comme critère de sélection, les ressources ayant comme publisher : Université Lille1 - Sciences et Technologies.
Sachant que toutes mes ressources ont comme publisher cette valeur ( écrit en dur à l'initialisation d'une ressource ), c'est donc un critère de sélection qui ne va rien filtrer :)


Seulement, après avoir défini mon vocabulaire statique :
<vdex:term validIndex="false">
  <vdex:termIdentifier>Université Lille1 - Sciences et Technologies</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
</vdex:term>



Et après avoir créé un set dans le fichier repository-sets.xml :

<bean id="set-UNR-NPDC" class="org.orioai.repository.domain.model.set.OaiSetInfos" init-method="init">
        <property name="vocabularyId" value="set-UNR-NPDC-RPN"/>
        <property name="rootTag" value="vdex"/>
        <property name="termXpath" value="//vdex:term"/>
        <property name="valueXpath" value=".//vdex:termIdentifier"/>
        <property name="setSpecXpath" value="vdex:termIdentifier"/>
        <property name="setNameXpath" value="vdex:caption/vdex:langstring[@language = 'fr']"/>
        <property name="vocabularyNameXpath" value="//vdex:vocabName/vdex:langstring[@language = 'fr']"/>
        <property name="vocabularyNameDefault" value="UNR-NPDC-RPN"/>
     
        <property name="xpathSources">
            <map>
                <entry>
                    <key>
                        <value>http://ltsc.ieee.org/xsd/LOM</value>
                    </key>
                   
                    <bean class="org.orioai.repository.domain.model.set.OaiSetSourceInfos">
                        <property name="xpath">
                            <list>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(name)</value>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(fname)</value>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(organization)</value>

                            </list>
                        </property> 
                    </bean>
                 
                </entry>
            </map>
        </property>
    </bean>
   


Quand je teste ce que cela donne, le set ne fonctionne pas :/

Je pense qu'il y a un souci avec le "-" ou l'accent :/

Comment puis je le coder autrement ?




Le 23/03/2011 15:04, Grégoire Neuville a écrit :
Bonjour,

Le repository à moissonner ne doit pas être configuré comme repository local dans le harvester (local.repositoryIdentifier) . Je viens de me faire avoir en faisant des tests locaux. Mais peut-être n'est ce pas votre cas...

En espérant que ça aide,

Grégoire.

On 23/03/2011 14:52, françois lefebvre wrote:
  Bonjour,

Je souhaite créer un set pour moissonnage en fonction du publisher (
xpath :
//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(name)
).

J'ai donc :
- créé un vocabulaire "set-UNR-NPDC-RPN" ( + conversion en UTF8 )
- mes modifs sont prises en compte dans le module après avoir cliqué sur
"forcer le cache"


- créé un set dans le fichier "repository-sets.xml"
- en faisant un "ListSets", j'ai bien :


- j'ai réindexé tout pour être sûr.



Mais, aucune ressource ne tombe dans ce set :/
Pourtant il devrait y avoir une ressource : ( screenshot du module
indexing )




Est ce un problème d'accent dans : <orioai:value>Universit*é* Lille1 -
Sciences et Technologies</orioai:value>    ??


Merci pour votre aide.


--
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73



-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73
francoislefebvre
bonjour,

Pour mieux expliquer ma démarche :
Je souhaite créer un set pour l'UNR pour l'avenir, si nous avons trop de ressources, le set sera créé et je pourrai appliquer des filtres.
Mais actuellement, je n'ai aucun critère à définir.
Je dois donc faire un critère de sélection bidon pour que le set fonctionne tout de même.

Je souhaite donc créer un set UNR ayant comme critère de sélection, les ressources ayant comme publisher : Université Lille1 - Sciences et Technologies.
Sachant que toutes mes ressources ont comme publisher cette valeur ( écrit en dur à l'initialisation d'une ressource ), c'est donc un critère de sélection qui ne va rien filtrer :)


Seulement, après avoir défini mon vocabulaire statique :
<vdex:term validIndex="false">
  <vdex:termIdentifier>Université Lille1 - Sciences et Technologies</vdex:termIdentifier>
  <vdex:caption>
   <vdex:langstring language="fr">Université Lille1 - Sciences et Technologies</vdex:langstring>
  </vdex:caption>
</vdex:term>



Et après avoir créé un set dans le fichier repository-sets.xml :

<bean id="set-UNR-NPDC" class="org.orioai.repository.domain.model.set.OaiSetInfos" init-method="init">
        <property name="vocabularyId" value="set-UNR-NPDC-RPN"/>
        <property name="rootTag" value="vdex"/>
        <property name="termXpath" value="//vdex:term"/>
        <property name="valueXpath" value=".//vdex:termIdentifier"/>
        <property name="setSpecXpath" value="vdex:termIdentifier"/>
        <property name="setNameXpath" value="vdex:caption/vdex:langstring[@language = 'fr']"/>
        <property name="vocabularyNameXpath" value="//vdex:vocabName/vdex:langstring[@language = 'fr']"/>
        <property name="vocabularyNameDefault" value="UNR-NPDC-RPN"/>
     
        <property name="xpathSources">
            <map>
                <entry>
                    <key>
                        <value>http://ltsc.ieee.org/xsd/LOM</value>
                    </key>
                   
                    <bean class="org.orioai.repository.domain.model.set.OaiSetSourceInfos">
                        <property name="xpath">
                            <list>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(name)</value>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(fname)</value>
                                <value>//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(organization)</value>

                            </list>
                        </property> 
                    </bean>
                 
                </entry>
            </map>
        </property>
    </bean>
   


Quand je teste ce que cela donne, le set ne fonctionne pas :/

Je pense qu'il y a un souci avec le "-" ou l'accent :/

Comment puis je le coder autrement ?




Le 23/03/2011 15:04, Grégoire Neuville a écrit :
Bonjour,

Le repository à moissonner ne doit pas être configuré comme repository local dans le harvester (local.repositoryIdentifier) . Je viens de me faire avoir en faisant des tests locaux. Mais peut-être n'est ce pas votre cas...

En espérant que ça aide,

Grégoire.

On 23/03/2011 14:52, françois lefebvre wrote:
  Bonjour,

Je souhaite créer un set pour moissonnage en fonction du publisher (
xpath :
//lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(name)
).

J'ai donc :
- créé un vocabulaire "set-UNR-NPDC-RPN" ( + conversion en UTF8 )
- mes modifs sont prises en compte dans le module après avoir cliqué sur
"forcer le cache"


- créé un set dans le fichier "repository-sets.xml"
- en faisant un "ListSets", j'ai bien :


- j'ai réindexé tout pour être sûr.



Mais, aucune ressource ne tombe dans ce set :/
Pourtant il devrait y avoir une ressource : ( screenshot du module
indexing )




Est ce un problème d'accent dans : <orioai:value>Universit*é* Lille1 -
Sciences et Technologies</orioai:value>    ??


Merci pour votre aide.


--
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73



-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73
gregoireneuville
Bonjour,

Le repository à moissonner ne doit pas être configuré comme repository
local dans le harvester (local.repositoryIdentifier) . Je viens de me
faire avoir en faisant des tests locaux. Mais peut-être n'est ce pas
votre cas...

En espérant que ça aide,

Grégoire.

On 23/03/2011 14:52, françois lefebvre wrote:

> Bonjour,
>
> Je souhaite créer un set pour moissonnage en fonction du publisher (
> xpath :
> //lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(name)
> ).
>
> J'ai donc :
> - créé un vocabulaire "set-UNR-NPDC-RPN" ( + conversion en UTF8 )
> - mes modifs sont prises en compte dans le module après avoir cliqué sur
> "forcer le cache"
>
>
> - créé un set dans le fichier "repository-sets.xml"
> - en faisant un "ListSets", j'ai bien :
>
>
> - j'ai réindexé tout pour être sûr.
>
>
>
> Mais, aucune ressource ne tombe dans ce set :/
> Pourtant il devrait y avoir une ressource : ( screenshot du module
> indexing )
>
>
>
>
> Est ce un problème d'accent dans : Universit*é* Lille1 -
> Sciences et Technologies
??
>
>
> Merci pour votre aide.
>
>
> --
> Cordialement.
>
>
> François Lefebvre
> Bibliothèque Universitaire de Lille 1
> Cité Scientifique - B.P. 30155
> 59653 VILLENEUVE D'ASCQ CEDEX
> Tél.: 03.20.33.60.73
>

francoislefebvre
Bonjour,

Je souhaite créer un set pour moissonnage en fonction du publisher ( xpath : //lom:lifeCycle/lom:contribute[lom:role/lom:value='publisher']/lom:entity(name) ).

J'ai donc :
- créé un vocabulaire "set-UNR-NPDC-RPN" ( + conversion en UTF8 )
- mes modifs sont prises en compte dans le module après avoir cliqué sur "forcer le cache"


- créé un set dans le fichier "repository-sets.xml"
- en faisant un "ListSets", j'ai bien :


- j'ai réindexé tout pour être sûr.



Mais, aucune ressource ne tombe dans ce set :/
Pourtant il devrait y avoir une ressource : ( screenshot du module indexing )




Est ce un problème d'accent dans : <orioai:value>Université Lille1 - Sciences et Technologies</orioai:value>    ??


Merci pour votre aide.


-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur « Enregistrer les paramètres » pour activer vos changements.