Line | |
---|
1 | Adding extra material from /nzdl-storage/other-projects/pei-jones/JOnes_Collection
|
---|
2 |
|
---|
3 | Am just copying .item files, OCR/.txt files, tif/.tif files. (not jpg/.jpg files, or OCR/.html files)
|
---|
4 |
|
---|
5 | Have done 3B*, 3C*, 3D*
|
---|
6 |
|
---|
7 | Copied into import.
|
---|
8 |
|
---|
9 | Ran sed to convert metadata to pj.metadata.
|
---|
10 |
|
---|
11 | find . -name "*.item" -exec sed -i 's/<Title>/<pj.Title>/g' {} \;
|
---|
12 | find . -name "*.item" -exec sed -i 's/<Provenance>/<pj.Provenance>/g' {} \;
|
---|
13 | find . -name "*.item" -exec sed -i 's/<Year>/<pj.Year>/g' {} \
|
---|
14 | find . -name "*.item" -exec sed -i 's/<Location>/<pj.Location>/g' {} \;
|
---|
15 | find . -name "*.item" -exec sed -i 's/<Media>/<pj.Document-Type>/g' {} \;
|
---|
16 | find . -name "*.item" -exec sed -i 's/<Notes>/<pj.Notes>/g' {} \;
|
---|
17 |
|
---|
18 | Ran import.pl -keepold to add new documents to archives.
|
---|
19 | buildcol.pl -site pei-jones written-works
|
---|
20 | mv building index
|
---|
21 | and re configure message router (or restart server)
|
---|
22 |
|
---|
23 | NOTE!! pj.metadata from item file gets added as ex.pj.metadata into archives.
|
---|
24 | For the docs mentioned above, I have run sed on the archives to remove the ex.
|
---|
25 | But we need to modify the plugin process to not add the metadata as ex.pj.
|
---|
26 | Actually, maybe the new plugin can take eg Location from the item file and store it as pj.Location directly.
|
---|
27 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.