<div dir="auto">Thanks, that helped.</div><div class="gmail_extra"><br><div class="gmail_quote">On Jan 23, 2018 04:55, "Paul Poulain" <<a href="mailto:paul.poulain@biblibre.com">paul.poulain@biblibre.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Hi Barton,</p>
    <p>Look at the file history :
<a class="m_8572675763322637072moz-txt-link-freetext" href="http://git.koha-community.org/gitweb/?p=koha.git;a=history;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD" target="_blank">http://git.koha-community.org/<wbr>gitweb/?p=koha.git;a=history;<wbr>f=misc/cronjobs/build_browser_<wbr>and_cloud.pl;h=<wbr>d5e0d1a8f5ab96ec10a38ffe2070de<wbr>8132cac5f1;hb=HEAD</a></p>
    <p>It's a VERY OLD script, that has never been updated. That's
      probably why it's so ugly. I think it's worth a rewrite.</p>
    <p>And about the <b>use MARC::File::USMARC</b>, we use it in
      UNIMARC as well, because, in fact, the package should be called
      MARC::File::iso2709, and not USMARC. It applies to any MARC
      flavour, and is only related to the file format, not the file
      content.</p>
    <p>HTH<br>
    </p>
    <br>
    <div class="m_8572675763322637072moz-cite-prefix">Le 17/01/2018 à 19:46, Barton
      Chittenden a écrit :<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">The documentation for
        <div><br>
        </div>
        <div>
          <div>misc/cronjobs/<a href="http://build_browser_and_cloud.pl" target="_blank">build_browser_<wbr>and_cloud.pl</a></div>
          <div><br>
          </div>
        </div>
        <div>States</div>
        <div><br>
        </div>
        <div>
          <blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><strong>Important<br>
            </strong></blockquote>
          <div> </div>
          <blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><strong></strong>This
            preference and cron job should only be used on French
            systems.</blockquote>
          <div><br>
          </div>
          <div>(see <a href="https://koha-community.org/manual/18.05/en/html/16_cron_jobs.html?highlight=cronjobs#authorities-browser" target="_blank">https://koha-community.org/<wbr>manual/18.05/en/html/16_cron_<wbr>jobs.html?highlight=cronjobs#<wbr>authorities-browser</a>) </div>
        </div>
        <div><br>
        </div>
        <div>The associated OpacBrowser syspref says:</div>
        <div><br>
        </div>
        <div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Important<br>
          </blockquote>
          <div> </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This preference only
            applies to installations using UNIMARC at this time.</blockquote>
        </div>
        <div><br>
        </div>
        <div>... but the script itself seems to use MARC::File::USMARC
          exclusively:</div>
        <div><br>
        </div>
        <div>
          <div class="m_8572675763322637072gmail-pre" style="font-family:monospace;font-size:12px;white-space:pre-wrap;color:rgb(0,0,0)"><a id="m_8572675763322637072gmail-l13" href="http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD#l13" class="m_8572675763322637072gmail-linenr" style="color:rgb(153,153,153);text-decoration-line:none" target="_blank">  13</a> use C4::Koha;</div>
          <div class="m_8572675763322637072gmail-pre" style="font-family:monospace;font-size:12px;white-space:pre-wrap;color:rgb(0,0,0)"><a id="m_8572675763322637072gmail-l14" href="http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD#l14" class="m_8572675763322637072gmail-linenr" style="color:rgb(153,153,153);text-decoration-line:none" target="_blank">  14</a> use C4::Context;</div>
          <div class="m_8572675763322637072gmail-pre" style="font-family:monospace;font-size:12px;white-space:pre-wrap;color:rgb(0,0,0)"><a id="m_8572675763322637072gmail-l15" href="http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD#l15" class="m_8572675763322637072gmail-linenr" style="color:rgb(153,153,153);text-decoration-line:none" target="_blank">  15</a> use C4::Biblio;</div>
          <div class="m_8572675763322637072gmail-pre" style="font-family:monospace;font-size:12px;white-space:pre-wrap;color:rgb(0,0,0)"><a id="m_8572675763322637072gmail-l16" href="http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD#l16" class="m_8572675763322637072gmail-linenr" style="color:rgb(153,153,153);text-decoration-line:none" target="_blank">  16</a> use Date::Calc;</div>
          <div class="m_8572675763322637072gmail-pre" style="font-family:monospace;font-size:12px;white-space:pre-wrap;color:rgb(0,0,0)"><a id="m_8572675763322637072gmail-l17" href="http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD#l17" class="m_8572675763322637072gmail-linenr" style="color:rgb(153,153,153);text-decoration-line:none" target="_blank">  17</a> use Time::HiRes qw(<wbr>gettimeofday);</div>
          <div class="m_8572675763322637072gmail-pre" style="font-family:monospace;font-size:12px;white-space:pre-wrap;color:rgb(0,0,0)"><a id="m_8572675763322637072gmail-l18" href="http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD#l18" class="m_8572675763322637072gmail-linenr" style="color:rgb(153,153,153);text-decoration-line:none" target="_blank">  18</a> use ZOOM;</div>
          <div class="m_8572675763322637072gmail-pre" style="font-family:monospace;font-size:12px;white-space:pre-wrap;color:rgb(0,0,0)"><a id="m_8572675763322637072gmail-l19" href="http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD#l19" class="m_8572675763322637072gmail-linenr" style="color:rgb(153,153,153);text-decoration-line:none" target="_blank">  19</a> <b>use MARC::File::USMARC;</b></div>
          <div class="m_8572675763322637072gmail-pre" style="font-family:monospace;font-size:12px;white-space:pre-wrap;color:rgb(0,0,0)"><a id="m_8572675763322637072gmail-l20" href="http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD#l20" class="m_8572675763322637072gmail-linenr" style="color:rgb(153,153,153);text-decoration-line:none" target="_blank">  20</a> use Getopt::Long;</div>
          <div class="m_8572675763322637072gmail-pre" style="font-family:monospace;font-size:12px;white-space:pre-wrap;color:rgb(0,0,0)"><a id="m_8572675763322637072gmail-l21" href="http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD#l21" class="m_8572675763322637072gmail-linenr" style="color:rgb(153,153,153);text-decoration-line:none" target="_blank">  21</a> use C4::Log;</div>
        </div>
        <div class="m_8572675763322637072gmail-pre" style="font-family:monospace;font-size:12px;white-space:pre-wrap;color:rgb(0,0,0)">
</div>
        <div class="m_8572675763322637072gmail-pre" style="font-family:monospace;font-size:12px;white-space:pre-wrap;color:rgb(0,0,0)">(see <a href="http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD" target="_blank">http://git.koha-community.org/<wbr>gitweb/?p=koha.git;a=blob;f=<wbr>misc/cronjobs/build_browser_<wbr>and_cloud.pl;h=<wbr>d5e0d1a8f5ab96ec10a38ffe2070de<wbr>8132cac5f1;hb=HEAD</a>)</div>
        <div class="m_8572675763322637072gmail-pre" style="font-family:monospace;font-size:12px;white-space:pre-wrap;color:rgb(0,0,0)">
</div>
        <div class="m_8572675763322637072gmail-pre" style="font-family:monospace;font-size:12px;white-space:pre-wrap;color:rgb(0,0,0)">The subroutine dewey_french obviously isn't translatable (I've filed bug Bug 20007 - <a href="http://build_browser_and_cloud.pl" target="_blank">build_browser_and_cloud.pl</a> contains hard-coded text in French for thatt</div>
        <div class="m_8572675763322637072gmail-pre" style="font-family:monospace;font-size:12px;white-space:pre-wrap;color:rgb(0,0,0)">
</div>
        <div class="m_8572675763322637072gmail-pre" style="font-family:monospace;font-size:12px;white-space:pre-wrap;color:rgb(0,0,0)"><div class="m_8572675763322637072gmail-pre"><a id="m_8572675763322637072gmail-l173" href="http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD#l173" class="m_8572675763322637072gmail-linenr" style="color:rgb(153,153,153);text-decoration-line:none" target="_blank"> 173</a> sub dewey_french {</div><div class="m_8572675763322637072gmail-pre"><a id="m_8572675763322637072gmail-l174" href="http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD#l174" class="m_8572675763322637072gmail-linenr" style="color:rgb(153,153,153);text-decoration-line:none" target="_blank"> 174</a> return {</div><div class="m_8572675763322637072gmail-pre"><a id="m_8572675763322637072gmail-l175" href="http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD#l175" class="m_8572675763322637072gmail-linenr" style="color:rgb(153,153,153);text-decoration-line:none" target="_blank"> 175</a>     "0" => "Généralités (<wbr>Ouvrages généraux (<wbr>encyclopédies, bibliographies,<wbr> etc.) et informatique)",</div><div class="m_8572675763322637072gmail-pre"><a id="m_8572675763322637072gmail-l176" href="http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD#l176" class="m_8572675763322637072gmail-linenr" style="color:rgb(153,153,153);text-decoration-line:none" target="_blank"> 176</a>     "00" => "Savoir et <wbr>communication",</div><div class="m_8572675763322637072gmail-pre"><a id="m_8572675763322637072gmail-l177" href="http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD#l177" class="m_8572675763322637072gmail-linenr" style="color:rgb(153,153,153);text-decoration-line:none" target="_blank"> 177</a>     "001.42" => "Collecte, <wbr>agencement, analyse des <wbr>données",</div><div class="m_8572675763322637072gmail-pre"><a id="m_8572675763322637072gmail-l178" href="http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD#l178" class="m_8572675763322637072gmail-linenr" style="color:rgb(153,153,153);text-decoration-line:none" target="_blank"> 178</a>     "003" => "Systémique, <wbr>systèmes",</div><div class="m_8572675763322637072gmail-pre"><a id="m_8572675763322637072gmail-l179" href="http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD#l179" class="m_8572675763322637072gmail-linenr" style="color:rgb(153,153,153);text-decoration-line:none" target="_blank"> 179</a>     "003.1" => "<wbr>Identification de système",</div><div class="m_8572675763322637072gmail-pre"><a id="m_8572675763322637072gmail-l180" href="http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/build_browser_and_cloud.pl;h=d5e0d1a8f5ab96ec10a38ffe2070de8132cac5f1;hb=HEAD#l180" class="m_8572675763322637072gmail-linenr" style="color:rgb(153,153,153);text-decoration-line:none" target="_blank"> 180</a>     "003.2" => "Prévisions. <wbr>Futurologie",</div><div class="m_8572675763322637072gmail-pre">...</div><div class="m_8572675763322637072gmail-pre">
</div><div class="m_8572675763322637072gmail-pre">The French text seems to be at cross purposes with MARC::File::USMARC, because French catalogers would probably use UNIMARC; at the same time the use of USMARC contradicts the documentation.</div><div class="m_8572675763322637072gmail-pre">
</div><div class="m_8572675763322637072gmail-pre">Ideally, I'd to get the I18N *and* the marc flavor fixed so that everyone can use this, and I'd like to file bug reports that accurately show what needs to be fixed. Any clarification is welcome.</div><div class="m_8572675763322637072gmail-pre">
</div><div class="m_8572675763322637072gmail-pre">Thanks,</div><div class="m_8572675763322637072gmail-pre">
</div><div class="m_8572675763322637072gmail-pre">--Barton</div></div>
      </div>
      <br>
      <fieldset class="m_8572675763322637072mimeAttachmentHeader"></fieldset>
      <br>
      <pre>______________________________<wbr>_________________
Koha-devel mailing list
<a class="m_8572675763322637072moz-txt-link-abbreviated" href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-<wbr>community.org</a>
<a class="m_8572675763322637072moz-txt-link-freetext" href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">http://lists.koha-community.<wbr>org/cgi-bin/mailman/listinfo/<wbr>koha-devel</a>
website : <a class="m_8572675763322637072moz-txt-link-freetext" href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a>
git : <a class="m_8572675763322637072moz-txt-link-freetext" href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a>
bugs : <a class="m_8572675763322637072moz-txt-link-freetext" href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.<wbr>org/</a></pre>
    </blockquote>
    <br>
    <pre class="m_8572675763322637072moz-signature" cols="72">-- 
Paul Poulain, Associé-gérant / co-owner
BibLibre, Services en logiciels libres pour les bibliothèques
BibLibre, Open Source software and services for libraries</pre>
  </div>

<br>______________________________<wbr>_________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-<wbr>community.org</a><br>
<a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" rel="noreferrer" target="_blank">http://lists.koha-community.<wbr>org/cgi-bin/mailman/listinfo/<wbr>koha-devel</a><br>
website : <a href="http://www.koha-community.org/" rel="noreferrer" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" rel="noreferrer" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" rel="noreferrer" target="_blank">http://bugs.koha-community.<wbr>org/</a><br></blockquote></div></div>