<div dir="ltr">I second that last part of Lydia's remarks about where to begin learning more about XML, JSON, python, ruby, etc. and applying it to ArchivesSpace. I want to learn, but it is overwhelming to know where to begin and my time to devote to it is rather limited. Every time I start trying to teach myself I have other work priorities that take up all my time and soon forget whatever progress I have made.<div><br></div><div>Thanks,</div><div><br></div><div>Margaret</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div><div><span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"></span></p><span><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><hr></span></span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(100,100,100);font-weight:bold;vertical-align:baseline;white-space:pre-wrap">Margaret T. Kidd</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(100,100,100);vertical-align:baseline;white-space:pre-wrap">Project Archivist, Special Collections & Archives</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(100,100,100);vertical-align:baseline;white-space:pre-wrap">VCU Libraries | Tompkins-McCaw Library for the Health Sciences</span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13.3333333333333px;font-family:Arial;color:rgb(141,141,141);vertical-align:baseline;white-space:pre-wrap">509 N. 12th Street / Box 980582, Richmond, VA 23298-0582</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13.3333333333333px;font-family:Arial;color:rgb(141,141,141);vertical-align:baseline;white-space:pre-wrap">(804) 828-3152</span></p><a href="https://twitter.com/VCUTMLibrary" style="text-decoration:none" target="_blank"><span style="font-size:13.3333333333333px;font-family:Arial;color:rgb(17,85,204);text-decoration:underline;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh3.googleusercontent.com/CvwxmA9bdbubHH0SSvacsiCM35wJ3MMtdY8qFmOw7soBA46uNNHXG89hFi99w8XCP3MCPTkbSx7uxdAcW5YyV2eqviun-t6OoCTFe7aUbHhv3JJNonLo6sEH49IczUqAHOw8B8w" width="25px;" height="25px;" style="border:none" alt="em_twitter.png"></span></a><span style="font-size:13.3333333333333px;font-family:Arial;color:rgb(141,141,141);vertical-align:baseline;white-space:pre-wrap"> </span><a href="https://www.facebook.com/VCUTMLib" style="text-decoration:none" target="_blank"><span style="font-size:13.3333333333333px;font-family:Arial;color:rgb(17,85,204);text-decoration:underline;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh6.googleusercontent.com/bBkgQaDHlTe4cYH8-0RSwlNxAs91Xv-D8Jewu8tOyHXmx4Efy0m8hspT1EvUAnFQTuqH8NcCOb8OndayaOVeZeKkpPxKcC8yI0Guylmkdithc0ZWyxfzPPFHt_6NDWmVNoQvr3M" width="25px;" height="25px;" style="border:none" alt="em_fb.png"></span></a></span><br></div><div><b><br></b></div><div><br></div><div><img><a href="http://www.vcu.edu/" target="_blank"><img src="http://identity.vcu.edu/images/photos/vcu_brand_mark_email_sig.jpg"></a> <a href="http://vaheritage.org" target="_blank"><img src="http://pages.shanti.virginia.edu/Virginia_Heritage/files/2013/01/vhpban.jpg" width="200" height="99"></a></div><div><span></span><span></span><br></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Nov 10, 2017 at 12:02 PM, Tang, Lydia <span dir="ltr"><<a href="mailto:ltang5@lib.msu.edu" target="_blank">ltang5@lib.msu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Mark,<br>
Thank you for identifying my problem! Just for the sake of technological dummies like me, what should I do? Everything there (besides removing the <unitid> tags is exactly as it spat out of ArchivesSpace, so I wonder if the export allowed the invalid characters? I also wonder if the importing process could be improved within the ArchivesSpace code to search for “aspace_" and not batch add it as well as recognize (or not export out in the first place) the "Linear Feet" / linear_feet controlled vocabulary? Ideally, after establishing with the database that linear_feet should publish as Linear Feet, I wish it would continue to recognize that rule when new stuff is imported in.<br>
I was also meaning poll people on “how do I even get started” with learning more about working the ArchivesSpace guts? I can understand EAD but obviously don’t know the wizardry possible with XML, there’s JSON, python, etc, and I would be interested in starting courses with Code Academy to learn, but I don’t even know where to begin. Advice appreciated!<br>
Lydia<br>
<br>
From: <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-<wbr>bounces@lyralists.lyrasis.org</a>> on behalf of "Custer, Mark" <<a href="mailto:mark.custer@yale.edu">mark.custer@yale.edu</a>><br>
<span class="">Reply-To: Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@<wbr>lyralists.lyrasis.org</a>><br>
</span>Date: Friday, November 10, 2017 at 11:50 AM<br>
<span class="im HOEnZb">To: Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@<wbr>lyralists.lyrasis.org</a>><br>
Subject: Re: [Archivesspace_Users_Group] batch delete dates saga continues<br>
<br>
Lydia,<br>
<br>
In the EAD files that you attached, both have invalid XML characters in them (Unicode: 0x14). Those are easy to remove before re-importing in an XML editor like oXygen, but I'm curious how they got into ASpace in the first place? In any event, it's possible that that's what's blocking your imports this time around, and if that's the issue, if you just fix on those issues, then the ASpace importer won't tell you about the next issue until it runs again.<br>
<br>
In any event, I'd also suggest making the following changes to your XML file before re-importing, so perhaps the snag is a good thing for now 😊 :<br>
<br>
· ASpace adds "aspace_" to all of the @id values in the EAD file upon export. If you don't remove those before reimporting, then on the next export you'll get "aspace_aspace_". Removing them will invalidate the EAD file, but ASpace doesn't care whether the file is valid or not upon re-importing it.<br>
· ASpace expects to have the database values for the controlled value terms in the exports, not the translation values. So, if you don't change things like "Linear Feet" to linear_feet and "Mixed Materials" to mixed_materials, then you'll wind up with new database values in ASpace after the import. Those of course can be merged after the fact, but that's another step, and it would be unfortunate to have to do that on every occasion.<br>
<br>
There's a lot more to say on the practice of re-importing EAD into ASpace, but I haven't still come up with a great strategy for that, so basically we try to avoid it 😊<br>
<br>
Mark<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-<wbr>bounces@lyralists.lyrasis.org</a> [mailto:<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_<wbr>group-bounces@lyralists.<wbr>lyrasis.org</a>] On Behalf Of Tang, Lydia<br>
Sent: Friday, 10 November, 2017 10:47 AM<br>
To: Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@<wbr>lyralists.lyrasis.org</a>><br>
Subject: Re: [Archivesspace_Users_Group] batch delete dates saga continues<br>
<br>
Wizardry! Thank you, Olivia! I would have NEVER figured that out. It seemed to take out the <unitdate> tags perfectly but I ended up getting snagged on importing because of, um, a seemingly benign line which was marked as not well-formed. Oof, so close, but snagged up!<br>
Lydia<br>
<br>
From: <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-<wbr>bounces@lyralists.lyrasis.org</a>> on behalf of Olivia S Solis <<a href="mailto:livsolis@utexas.edu">livsolis@utexas.edu</a>><br>
Reply-To: Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@<wbr>lyralists.lyrasis.org</a>><br>
Date: Friday, November 10, 2017 at 10:36 AM<br>
To: Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@<wbr>lyralists.lyrasis.org</a>><br>
Subject: Re: [Archivesspace_Users_Group] batch delete dates saga continues<br>
<br>
<unitda[^>]+>[^<]+<\/unitdate><br>
<br>
</span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@<wbr>lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/<wbr>mailman/listinfo/<wbr>archivesspace_users_group</a><br>
</div></div></blockquote></div><br></div>