mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-12-23 21:44:30 +01:00
Add notes for 2016-02-20
This commit is contained in:
parent
bd24b38836
commit
e364344126
@ -228,3 +228,17 @@ value.unescape("url")
|
||||
|
||||
- Re-deploy CGSpace, run all system updates, and reboot
|
||||
- More work on CIAT data, cleaning and doing a last metadata-only import into DSpace Test
|
||||
- SAFBuilder has a bug preventing it from processing filenames containing more than one underscore
|
||||
- Need to re-process the filename column to replace multiple underscores with one: `value.replace(/_{2,}/, "_")`
|
||||
|
||||
## 2016-02-20
|
||||
|
||||
- Turns out the "bug" in SAFBuilder isn't a bug, it's a feature that allows you to encode extra information like the destintion bundle in the filename
|
||||
- Also, it seems DSpace's SAF import tool doesn't like importing filenames that have accents in them:
|
||||
|
||||
```
|
||||
java.io.FileNotFoundException: /usr/share/tomcat7/SimpleArchiveFormat/item_1021/CIAT_COLOMBIA_000075_Medición_de_palatabilidad_en_forrajes.pdf (No such file or directory)
|
||||
```
|
||||
|
||||
- Need to rename files to have no accents or umlauts, etc...
|
||||
- Useful custom text facet for URLs ending with ".pdf": `value.endsWith(".pdf")`
|
||||
|
@ -335,6 +335,23 @@ CIAT_COLOMBIA_000169_Técnicas_para_el_aislamiento_y_cultivo_de_protoplastos_de_
|
||||
<ul>
|
||||
<li>Re-deploy CGSpace, run all system updates, and reboot</li>
|
||||
<li>More work on CIAT data, cleaning and doing a last metadata-only import into DSpace Test</li>
|
||||
<li>SAFBuilder has a bug preventing it from processing filenames containing more than one underscore</li>
|
||||
<li>Need to re-process the filename column to replace multiple underscores with one: <code>value.replace(/_{2,}/, "_")</code></li>
|
||||
</ul>
|
||||
|
||||
<h2 id="2016-02-20:124a59adbaa8ef13e1518d003fc03981">2016-02-20</h2>
|
||||
|
||||
<ul>
|
||||
<li>Turns out the “bug” in SAFBuilder isn’t a bug, it’s a feature that allows you to encode extra information like the destintion bundle in the filename</li>
|
||||
<li>Also, it seems DSpace’s SAF import tool doesn’t like importing filenames that have accents in them:</li>
|
||||
</ul>
|
||||
|
||||
<pre><code>java.io.FileNotFoundException: /usr/share/tomcat7/SimpleArchiveFormat/item_1021/CIAT_COLOMBIA_000075_Medición_de_palatabilidad_en_forrajes.pdf (No such file or directory)
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>Need to rename files to have no accents or umlauts, etc…</li>
|
||||
<li>Useful custom text facet for URLs ending with “.pdf”: <code>value.endsWith(".pdf")</code></li>
|
||||
</ul>
|
||||
|
||||
</section>
|
||||
|
@ -273,6 +273,23 @@ CIAT_COLOMBIA_000169_Técnicas_para_el_aislamiento_y_cultivo_de_protoplastos_de_
|
||||
<ul>
|
||||
<li>Re-deploy CGSpace, run all system updates, and reboot</li>
|
||||
<li>More work on CIAT data, cleaning and doing a last metadata-only import into DSpace Test</li>
|
||||
<li>SAFBuilder has a bug preventing it from processing filenames containing more than one underscore</li>
|
||||
<li>Need to re-process the filename column to replace multiple underscores with one: <code>value.replace(/_{2,}/, &quot;_&quot;)</code></li>
|
||||
</ul>
|
||||
|
||||
<h2 id="2016-02-20:124a59adbaa8ef13e1518d003fc03981">2016-02-20</h2>
|
||||
|
||||
<ul>
|
||||
<li>Turns out the &ldquo;bug&rdquo; in SAFBuilder isn&rsquo;t a bug, it&rsquo;s a feature that allows you to encode extra information like the destintion bundle in the filename</li>
|
||||
<li>Also, it seems DSpace&rsquo;s SAF import tool doesn&rsquo;t like importing filenames that have accents in them:</li>
|
||||
</ul>
|
||||
|
||||
<pre><code>java.io.FileNotFoundException: /usr/share/tomcat7/SimpleArchiveFormat/item_1021/CIAT_COLOMBIA_000075_Medición_de_palatabilidad_en_forrajes.pdf (No such file or directory)
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>Need to rename files to have no accents or umlauts, etc&hellip;</li>
|
||||
<li>Useful custom text facet for URLs ending with &ldquo;.pdf&rdquo;: <code>value.endsWith(&quot;.pdf&quot;)</code></li>
|
||||
</ul>
|
||||
</description>
|
||||
</item>
|
||||
|
@ -273,6 +273,23 @@ CIAT_COLOMBIA_000169_Técnicas_para_el_aislamiento_y_cultivo_de_protoplastos_de_
|
||||
<ul>
|
||||
<li>Re-deploy CGSpace, run all system updates, and reboot</li>
|
||||
<li>More work on CIAT data, cleaning and doing a last metadata-only import into DSpace Test</li>
|
||||
<li>SAFBuilder has a bug preventing it from processing filenames containing more than one underscore</li>
|
||||
<li>Need to re-process the filename column to replace multiple underscores with one: <code>value.replace(/_{2,}/, &quot;_&quot;)</code></li>
|
||||
</ul>
|
||||
|
||||
<h2 id="2016-02-20:124a59adbaa8ef13e1518d003fc03981">2016-02-20</h2>
|
||||
|
||||
<ul>
|
||||
<li>Turns out the &ldquo;bug&rdquo; in SAFBuilder isn&rsquo;t a bug, it&rsquo;s a feature that allows you to encode extra information like the destintion bundle in the filename</li>
|
||||
<li>Also, it seems DSpace&rsquo;s SAF import tool doesn&rsquo;t like importing filenames that have accents in them:</li>
|
||||
</ul>
|
||||
|
||||
<pre><code>java.io.FileNotFoundException: /usr/share/tomcat7/SimpleArchiveFormat/item_1021/CIAT_COLOMBIA_000075_Medición_de_palatabilidad_en_forrajes.pdf (No such file or directory)
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>Need to rename files to have no accents or umlauts, etc&hellip;</li>
|
||||
<li>Useful custom text facet for URLs ending with &ldquo;.pdf&rdquo;: <code>value.endsWith(&quot;.pdf&quot;)</code></li>
|
||||
</ul>
|
||||
</description>
|
||||
</item>
|
||||
|
Loading…
Reference in New Issue
Block a user