Author: mcantelon
Date: Thu Apr 5 14:05:47 2012
New Revision: 11401
Log:
Added ISAD example CSV import template and support for missing fields in the
import tool.
Added:
trunk/lib/task/import/example/isad/
trunk/lib/task/import/example/isad/.~lock.example_information_objects_isad.csv#
trunk/lib/task/import/example/isad/example_information_objects_isad.csv
Modified:
trunk/lib/task/import/csvImportTask.class.php
Modified: trunk/lib/task/import/csvImportTask.class.php
==============================================================================
--- trunk/lib/task/import/csvImportTask.class.php Thu Apr 5 13:34:08
2012 (r11400)
+++ trunk/lib/task/import/csvImportTask.class.php Thu Apr 5 14:05:47
2012 (r11401)
@@ -197,6 +197,12 @@
'publicationNote' => array(
'typeId' => array_search('Publication note', $termData['noteTypes'])
),
+ 'generalNote' => array(
+ 'typeId' => array_search('General note', $termData['noteTypes'])
+ ),
+ 'archivistNote' => array(
+ 'typeId' => array_search("Archivist's note", $termData['noteTypes'])
+ ),
'radNoteConservation' => array(
'typeId' => array_search('Conservation', $termData['radNoteTypes'])
),
Added:
trunk/lib/task/import/example/isad/.~lock.example_information_objects_isad.csv#
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++
trunk/lib/task/import/example/isad/.~lock.example_information_objects_isad.csv#
Thu Apr 5 14:05:47 2012 (r11401)
@@ -0,0 +1 @@
+Mike ,mike,mike-c,05.04.2012 14:03,file:///home/mike/.libreoffice/3;
\ No newline at end of file
Added: trunk/lib/task/import/example/isad/example_information_objects_isad.csv
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/lib/task/import/example/isad/example_information_objects_isad.csv
Thu Apr 5 14:05:47 2012 (r11401)
@@ -0,0 +1,3 @@
+legacyId,parentId,identifier,title,creators,creatorHistories,creatorDates,creatorDatesStart,creatorDatesEnd,creatorDateNotes,levelOfDescription,extentAndMedium,repository,archivalHistory,acquisition,scopeAndContent,appraisal,accruals,arrangement,accessConditions,reproductionConditions,language,script,languageNote,physicalCharacteristics,findingAids,locationOfOriginals,locationOfCopies,relatedUnitsOfDescription,publicationNote,generalNote,subjectAccessPoints,placeAccessPoints,nameAccessPoints,descriptionIdentifier,institutionIdentifier,rules,descriptionStatus,levelOfDetail,revisionHistory,languageOfDescription,scriptOfDescription,sources,archivistNote,publicationStatus
+1,,F1,Example Fonds,Test Creator 1|Test Creator 2,History of Test Creator
1|History of Test Creator 2,Dates for Creator 1|Dates for Creator
2,2000|2010,2001|2011,Date notes for Test Creator 1|Date notes for Test Creator
2,fonds,Example Fonds extent and medium,Example Repository,Example Fonds
archival history,Example Fonds acquisition source,Example Fonds scope and
content,Example Fonds appraisal,Example Fonds accruals,Example Fonds
arrangement,Example Fonds conditions governing access,Example Fonds
reproduction conditions,en|fr,en,Example Fonds language note,Example Fonds
physical characteristics,Example Fonds finding aids,Example Fonds location of
originals,Example Fonds location of copies,Example Fonds related units of
description,Example Fonds publication note,Example Fonds general note,Subject
1|Subject 2,Place 1|Place 2,Name 1|Name 2,Example Fonds description
identifier,Example Fonds institution identifier,Example Fonds rules and
conventions,Final,Full,"Example Fonds da
tes of creation, revision, and deletion",en|fr,,Example Fonds sources,Example
Fonds archivist's notes,published
+2,1,F1-IT1,Example Item,,,,,,,item,Example Item extent and medium,Example
Repository,Example Item archival history,Example Items acquisition
source,Example Items scope and content,Example Item appraisal,Example Item
accruals,Example Item arrangement,Example Item conditions governing
access,Example Item reproduction conditions,en,en|fr,Example Item language
note,Example Item physical characteristics,Example Item finding aids,Example
Item location of originals,Example Item location of copies,Example Item related
units of description,Example Item publication note,Example Item general
note,Subject 3|Subject 4,Place 3|Place 4,Name 3|Name 4,Example Item description
identifier,Example Item institution identifier,Example Item rules and
conventions,Final,Full,"Example Item dates of creation, revision, and
deletion",,en_fr,Example Item sources,Example Item archivist's notes,published
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.