Required for this procedure:
Notices from Proquest that files are available.
Filezilla.
Proquest FTP login info.
ETD Directory on hard drive with pdf and xml subdirectories.
7-Zip.
Adobe Acrobat Standard. Modify Acrobat settings: When you're in Acrobat, go to edit, then preferences. Click on "Documents" in the left-hand column. In the main part of the pop-up, under PDF/A view mode, use the drop-down to select "never."
Computer configured to open XML files with WordPad (Right click an XML file and select "Open with" and then "Chose Program." Select WordPad, then click "Always use the selected program to open this kind of file.").
Editix XML Editor.
XSL file for reformatting the XML files, ETDConversionForDspace.xsl (attached here).
Microsoft Excel with the Developer tab enabled and macros enabled (Left click on the windows symbol and select "Excel Options." On the popular tab, check "Show developer tab in the Ribbon." Go to the Trust Center Tab. Click "Trust Center Settings." Click "Enable all Macros.").
Excel Template, ETDtempDspace.xlsm, (attached here).
SAF Builder program (downloaded from Github and installed by LITS) and Java JDK, GIT, and Maven. Oracle VM Virtual Box for running it on Linux, and directory that can be accessed both for Linux and windows. Instructions for installation here: STEPS_rev1.docx. Use the command git clone https://github.com/DSpace-Labs/SAFBuilder to install it.
Collection File program (attached here in a zip file–unzip it and put it in your ETD directory) and Python to run it. It can also be run on the staff eLumin desktop, this procedure includes that method..
For converting video files to mp4's: Avidemux.
...
When you receive notices from Proquest, first insure that they were able to successfully transfer all of the files. If some transfers fail, they'll likely try again the next day. Wait until you likely have all the files for a semester before beginning work on a set. Be sure to keep track of what you have already loaded into ContentDM and what you haven't loaded.
FTP and Unzip the files (about 100 at a time): Downloaded files through
...
After FTPing the files, be sure to delete them from the FTP server.
Use Filezilla to FTP the new thesis and dissertations from Proquest. Open Filezilla. Enter the Proquest FTP IP, the username, and port. Push Enter. The last line of the top box on the screen should say "Directory Listing Successful" and the lower left-hand portion of the screen should be populated with files on the Proquest server. The left side of the screen shows your computer--find the ETD folder on your hard drive. Use the date to identify the new files that we need to obtain. Highlight all of the files we need by holding down the shift key while clicking the first and last files you want highlighted. Drag them to your ETD folder. The progress of file transfer will show on the bottom of the screen. Wait while all files transfer (you can minimize and do something else).
Verify that you have all of the files that have been sent by checking the number of files against the number of files the e-mail notices said were successfully downloaded. Add the number of successful downloads. Highlight all the ETD files, right click, and select properties. The number of files stated in the notices should match the total here.
Use 7-Zip to extract the zip files. Open 7-Zip. The folder that your files are in should be selected in the bar across the top of the window. If not, use the drop-down arrow to find it. Once you are on the correct folder, all of your zip files should display in the window. Highlight all of the zip files by holding the the shift key by clicking the first and last files you want highlighted. Click extract. The destination for the extract opens to C:\ETD\ZIP*\. Delete the *\ so that the files all go into the ZIP folder. Click ok.
Use Windows Explorer to sort the files by going to the "View" menu and selecting "arrange by file type.". Select all of the files of a given type, and move the to the appropriate sub-folder: Highlight all of the PDF files by holding down the shift key while clicking the first and last files you want highlighted. Drag them to the PDF subfolder and drop them there (or alternately, copy and paste them). Highlight all of the XML files by holding down the shift key while clicking the first and last files you want highlighted. Drag them to the XML subfolder and drop them there or alternately, copy and paste them).
...
Open the Excel template ETDtempDspacewithMacrosMASTER.xlsm.
Save the file with a new name for the set your working on.
Run the macro "Delete_Everything" by using CTRL-X. This will delete the content of sheet 1 and any existing XML map. If there is not an existing XML map, it will make an error which can be ignore.
Delete the sheet2 that has old content in it. Create a new worksheet and rename it sheet2 if not named that already.
Return to sheet1, cell 1A. Use developer import to import the file you created using Editix.
Press ctr-r to run the reformatter macro.
Go to the sheet2.
Change the header of the author column from dc.creator to dc.contributor.author
Separate the keywords by changing commas in the keyword field to || where appropriate.
Ensure that there are no spaces in file names. If there are, you'll need to change them in the spreadsheet, and also change the actual file name to match it.
Sort by departments column. Check for any department that didn't fill in and any that aren't the correct department names, using the .csv in the Collection File Program to find the definitive versions of the department name to use and correct any that don’t match it. Also checking the dc.relation.ispartof column and correct it. Watch for a dash in
Marine-Estuarine Environmental Sciences |
where it doesn’t belong. Fix with find and replace, both in the department field and dc.relation.ispartof field with departmental collections names. Add these find and replaces to the macro so that they don't have to be done manually each time.
...
For other problems with the files Proquest FTP's to us, ask Michelle to call Proquest technical support at 877-408-5027 or 800-889-3358 (or email at tsupport@proquest.com or
http://support.proquest.com/ ) to find a solution.
Adding Supplements to the metadata in Excel and Moving them to the PDF Directory
...
Adding Publication Forms to the metadata in Excel:
Licenses were last downloaded on:
...
9/
...
5/24
Log in to https://www.etdadmin.com/main/home and download the licenses from the day after the last downloaded date to today. Add 3 new columns to your spreadsheet: Open Access, Limited Access, and License.
...
Find it's line on the spreadsheet (they are in alphabetical order, but if you don't see it, search for both the author and part of the title). If you can't find it on the spreadsheet, move it to the "not in this set" folder.
Check the title and remember the first couple of Words
Open the publication form. If the publication form file doesn't contain a publication form, or is blank, delete it.
Ensure that the publication form has the correct title. Remember if there's an embargo.
Do Save as...
Replace any blank spaces in the file name with an underscore. Then replace everything between the author's name and .pdf with Open. eg.:
...
For limited access items, Copy and paste everything in the Filename column into the Limited access column as appropriate.
If there's an embargo still in effect, the title, author, and the date the embargo expires to the embargo list.
Close the license and delete the file without the Open or Lim in it.
Completing the Licenses
For all open Log back in to https://www.etdadmin.com/main/home and search for any missing publication agreements and add any additional ones that you find.
Completing the Licenses
For all open access items, copy and paste the file name into the open access column. For all limited access items, copy and paste the file name into the limited access column. Copy and paste the file name for everything without a license into the limited access column.
Change the header on the filenames column, which should now be blank, to
Change the header of the open access column to filename__permissions:-r'Anonymous'__primary:true
Change the header of the limited access column to filename__permissions:-r'ScholarWorksUMBCIP'__primary:true
Change the header of the license column to filename__bundle:LICENSEIn the dcterms.accessRights column, for all open access items, change the value to "Distribution Rights granted to UMBC by the author." Value for limited access items remains "Access limited to the UMBC community. Item may possibly be obtained via Interlibrary Loan through a local library, pending author/copyright holder's permission."
Copy and past the dcterms.access.Rights column over the filename column.
Change the header of the open access column to filename__permissions:-r'Anonymous'__primary:true
Change the header of the limited access column to filename__permissions:-r'Anonymous' ScholarWorksUMBCIP'__primary:true
Change the header of the license column to filename__bundle:LICENSE__permissions:-r'Anonymous' *It's important to note that this must include the final quote--ignore any examples that suggest that it's not needed.
In the dcterms.accessRights column, for all limited access items, fill in "Access limited to the UMBC community. Item may possibly be obtained via Interlibrary Loan through a local library, pending author/copyright holder's permission." For all open access items, fill in "Distribution Rights granted to UMBC by the author."
Check
Search for any blank spaces in license file names and fix them.
Check that all departments are in the collection builder file. Sort and scan.
Check the rights field labels to ensure they are dcterms.accessRights
Check the author field label is dc.contributor.author.
Fix accessRights issues: Delete extraneous access rights column. Look for and fix an extra space after dcterms.accessRights in the column with the standard note.
Check that dates are in the year-mo-da format. After this step is done, do NOT open in Excel but import selecting "delimited" as type and "comma" as the delimiter. When you get to step 3, make sure ALL the columns with dates are set to TEXT.
...
needed.
Check
Search for any blank spaces in license file names and fix them.
Make sure all licenses were saves to the pdf folder.
Check that all departments are in the collection builder file. Sort and scan.
Check the rights field labels to ensure they are dcterms.accessRights
Check the author field label is dc.contributor.author.
Delete all of the rows where extra data was filled in.
Check departments to ensure they're all in the correct form for the collection program.
Save your Excel file final version.
Save your sheet2 (you must be on it) as a .csv file. While on the "save as" screen, change the character encoding to UTF8 by using the tools drop-down, selecting web options, then encoding, and UTF8.
Note the dates in the Excel file. Close the csv in Excel, and open it with notepad. Use find and replace to change them to the YEAR-MO-DA format. Save and close.
Run the SAF builder (documentation here: https://github.com/DSpace-Labs/SAFBuilder) :
...