talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

Suggestion made somewhere in the import thread

AR
Aron Roberts
Tue, Oct 13, 2015 9:57 PM

Hi Peter,

Just wanted to make sure this suggestion didn't get lost somewhere in the
import thread:

--
It might be helpful to start out with a different import, in part because
this one doesn't introduce any of the potential complexities regarding
authorities and authority items. Does the Object Exit example in that
Imports Service Home document work when you try it, for starters?

https://wiki.collectionspace.org/display/DOC/Imports+Service+Home#ImportsServiceHome-ExampleRequest

That is, if you copy that XML snippet to a different file and use 'curl'
with a command pretty much identical to the one you used for
personauthorities, [does this work OK]?

Following John's lead, I've also posted, as GitHub Gists, some additional
import file examples, each containing just a single record to be imported.
I haven't tried these in a while and thus don't know for sure if they work,
but you could have a go at them:

https://gist.github.com/aronr/95c57c48ac420bb9eaa8
(CollectionObject)

https://gist.github.com/aronr/4f28696a8052b2cbe2f4
(Media)

https://gist.github.com/aronr/108d56d1c83e4371a3d7
(Intake)

Thanks,
Aron

Hi Peter, Just wanted to make sure this suggestion didn't get lost somewhere in the import thread: -- It might be helpful to start out with a different import, in part because this one doesn't introduce any of the potential complexities regarding authorities and authority items. Does the Object Exit example in that Imports Service Home document work when you try it, for starters? https://wiki.collectionspace.org/display/DOC/Imports+Service+Home#ImportsServiceHome-ExampleRequest That is, if you copy that XML snippet to a different file and use 'curl' with a command pretty much identical to the one you used for personauthorities, [does this work OK]? -- Following John's lead, I've also posted, as GitHub Gists, some additional import file examples, each containing just a single record to be imported. I haven't tried these in a while and thus don't know for sure if they work, but you could have a go at them: https://gist.github.com/aronr/95c57c48ac420bb9eaa8 (CollectionObject) https://gist.github.com/aronr/4f28696a8052b2cbe2f4 (Media) https://gist.github.com/aronr/108d56d1c83e4371a3d7 (Intake) Thanks, Aron