workflow thèses : générer le xml pour envoi STAR

  • 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:09a0db588988b85c6a7fb687dbacff2d' 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 Oups oui oui évidemment :)<br>\n <br>\n Merci pour l\'info :)<br>\n <br>\n <br>\n </div>', created = 1507748331, expire = 1507834731, headers = '', serialized = 0 WHERE cid = '4:09a0db588988b85c6a7fb687dbacff2d' 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:09a0db588988b85c6a7fb687dbacff2d' 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 Oups oui oui évidemment :)<br>\n <br>\n Merci pour l\'info :)<br>\n <br>\n <br>\n </div>', created = 1507748331, expire = 1507834731, headers = '', serialized = 0 WHERE cid = '4:09a0db588988b85c6a7fb687dbacff2d' 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:7c8958d8922f3030321a3a42b00a52bd' 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 teste actuellement le workflow des thèses.<br>\n Je pense avoir une correction à apporter :<br>\n <br>\n Lorsque l\'on envoie une thèse à STAR par email, on fait appel à une\n XSL et le fichier généré est nommé en fonction de la config dans\n notre workflow, ici :<br>\n <br>\n &lt;arg\nname=\"xpathTitle\"&gt;//mets:amdSec/mets:techMD/mets:mdWrap[@OTHERMDTYPE=\'tef_admin_these\']/mets:xmlData/tef:thesisAdmin/dc:identifier&lt;/arg&gt;<br>\n <br>\n Or, pour certaines fiches que j\'ai converti de DC en TEF, j\'ai ceci\n :<br>\n <br>\n &lt;dc:identifier\nxsi:type=\"tef:nationalThesisPID\"&gt;<a class=\"moz-txt-link-freetext\" href=\"http://www.theses.fr/2009LIL10046\">http://www.theses.fr/2009LIL10046</a>&lt;/dc:identifier&gt;<br>\n &lt;dc:identifier\n xsi:type=\"tef:NNT\"&gt;2009LIL10046&lt;/dc:identifier&gt;<br>\n <br>\n De ce fait, le fichier porte le nom de\n <a class=\"moz-txt-link-rfc2396E\" href=\"http://www.theses.fr/2009LIL10046.xml\">\"http://www.theses.fr/2009LIL10046.xml\"</a> et là, plantage de\n l\'application à cause des \"/\" un peu partout de l\'URL.<br>\n <br>\n Il faudrait plutôt spécifier l\'attribut NNT, ce qui donnerait\n quelque chose de ce genre :<br>\n <br>\n &lt;arg\nname=\"xpathTitle\"&gt;//mets:amdSec/mets:techMD/mets:mdWrap[@OTHERMDTYPE=\'tef_admin_these\']/mets:xmlData/tef:thesisAdmin/<b>dc:identifier[@xsi:type=\'tef:NNT\']</b>&lt;/arg&gt;<br>\n <br>\n <br>\n <br>\n A moins que la future version soit en full webservice <span\n class=\"moz-smiley-s4\"><span> :-P </span></span><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 = 1507748332, expire = 1507834732, headers = '', serialized = 0 WHERE cid = '4:7c8958d8922f3030321a3a42b00a52bd' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
1 message / 0 nouveaux
Dernière contribution
francoislefebvre
workflow thèses : générer le xml pour envoi STAR
Bonjour,

Je teste actuellement le workflow des thèses.
Je pense avoir une correction à apporter :

Lorsque l'on envoie une thèse à STAR par email, on fait appel à une XSL et le fichier généré est nommé en fonction de la config dans notre workflow, ici :

<arg name="xpathTitle">//mets:amdSec/mets:techMD/mets:mdWrap[@OTHERMDTYPE='tef_admin_these']/mets:xmlData/tef:thesisAdmin/dc:identifier</arg>

Or, pour certaines fiches que j'ai converti de DC en TEF, j'ai ceci :

<dc:identifier xsi:type="tef:nationalThesisPID">http://www.theses.fr/2009LIL10046</dc:identifier>
<dc:identifier xsi:type="tef:NNT">2009LIL10046</dc:identifier>

De ce fait, le fichier porte le nom de "http://www.theses.fr/2009LIL10046.xml" et là, plantage de l'application à cause des "/" un peu partout de l'URL.

Il faudrait plutôt spécifier l'attribut NNT, ce qui donnerait quelque chose de ce genre :

<arg name="xpathTitle">//mets:amdSec/mets:techMD/mets:mdWrap[@OTHERMDTYPE='tef_admin_these']/mets:xmlData/tef:thesisAdmin/dc:identifier[@xsi:type='tef:NNT']</arg>



A moins que la future version soit en full webservice :-P


-- 
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