HELP: Import digital_object EAD XML <dao>

89 views
Skip to first unread message

Carlos Moreno

unread,
Mar 21, 2025, 12:13:52 PM3/21/25
to AtoM Users

Greetings to the entire community,

I would appreciate any help from those who might know the answer to this question...

I am trying to import an EAD 2002 XML file into my test AtoM instance. I am embedding a <dao> element, but when I perform the import, AtoM does not recognize the digital objects that I am ingesting using a public URL [which has already been confirmed and tested].

I am doing it this way:

<daogrp>
    <daoloc xlink:href="http://1XXXXXXXXXX/imagenes/28XXXXXXX/XXX/00000001.JPG"
            xlink:title="Poesías completas"
            xlink:role="http://purl.org/dc/dcmitype/Image"
            xlink:actuate="onLoad"/>
</daogrp>

*********************************
 I have also tried this approach:  

<dao xlink:href="http://1XXXXXXX0/imagenes/2/00000001.JPG"
     xlink:title="Poesías completas - Imagen principal"
     xlink:role="http://purl.org/dc/dcmitype/Image">
     <daodesc>
         <p>Scanned image of the original manuscript</p>
     </daodesc>
</dao>


I have explored different options with AI assistance, from the simplest approach to this one, but none have managed to make the XML load the corresponding image. It simply does not load it.

I performed the import both through the UI and the CLI, and in both cases, it did not work.

Does anyone know the correct way to embed the <dao> tag, or does AtoM simply not support it?

I have read other threads, but it is unclear whether they were able to make it work or not.



Dan Gillean

unread,
Mar 21, 2025, 1:46:20 PM3/21/25
to ica-ato...@googlegroups.com
Hi Carlos, 

There are multiple ways to create valid EAD 2002 XML - AtoM unfortunately does not support them all. Instead, the easiest way to understand what AtoM expects is to create a record that matches what you want, export it, and look at the output. 

I found a description in our demo that includes a digital object whose original was linked via URI - it was rendered like so: 

I suspect that AtoM requires the @linktype and @role attributes at minimum to be in English, and as shown above. AtoM uses the @role attribute to determine if the image is the origina (i.e. the "master" or one of the derivatives - on the source record in AtoM, you will note that if you export this record WITHOUT logging in first, then you only get the reference display copy that AtoM generates and stores locally instead, bc the permissions to view original/master images are disabled by default for public users in the demo site. 

If I am logged out, here is what you see in the EAD XML instead: 
I am attaching the full EAD 2002 XML export of the example record, exported when logged in as an administrator. 

You can see the record in AtoM here: 
Details on how to log in to the demo site can be found on the homepage. Keep in mind that many users may be editing the site simultaneously - and its even possible for them to change the demo admin account credentials. However, the site will automatically refresh hourly. Note as well that all uploads are disabled for security purposes. 

Cheers, 

Dan Gillean, MAS, MLIS
Business & User Experience Analyst
Artefactual Systems, Inc.
604-527-2056
he / him


--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ica-atom-users/549d54e9-889b-4f05-9f11-aff5fad83a5dn%40googlegroups.com.
flora-roy-fonds_ead2002.xml

Carlos Moreno

unread,
Mar 21, 2025, 1:48:46 PM3/21/25
to AtoM Users
Solución vista luego de importar un XML:

<dao linktype="simple" href="http://161.xxxxxxxxx/imagenes/280790340B/ALT/1/1/1/00000003.JPG" role="master" actuate="onrequest" show="embed"/>


Este es el formato correcto y debe siempre estar incluido en un -<did>

ya me ha funcionado

Carlos Moreno

unread,
Mar 21, 2025, 1:50:14 PM3/21/25
to AtoM Users
Mil gracias Dan, fue exactamente lo que hice, y ya lo tenemos solucionado. 
Gracias siempre por tu atención a la comunidad
Reply all
Reply to author
Forward
0 new messages