On Oct 21, 2024, at 9:42 AM, Krc, Matthew <[log in to unmask]> wrote:
> I don’t think it’s possible through an OAI-PMH request alone, but given a collection alias and item identifying pointer value, you can make a separate request to the CONTENTdm dmGetItemInfo API endpoint and may be able to get the full text in the ‘transc’ (transcription) field there.
>
> Example call for a response in JSON, based on your identifiers below:
>
> https://cdm1224.contentdm.oclc.org/digital/bl/dmwebservices/index.php?q=dmGetItemInfo/p1224coll8/12/json
>
> More info on the dmGetItemInfo endpoint here:
>
> https://help.oclc.org/Metadata_Services/CONTENTdm/Advanced_website_customization/API_Reference/CONTENTdm_API/CONTENTdm_Server_API_Functions_dmwebservices
>
> Hope this helps.
>
> --
> Matt
Thank you for the reply, but alas, there is no transc key in the resulting JSON. The keys that do exist include, and most of them have no values:
audien; cdmfilesize; cdmfilesizeformatted; cdmhasocr;
cdmisnewspaper; cdmprintpdf; checks; color; colora; contri;
covera; creato; date; digita; dmaccess; dmcreated; dmimage;
dmmodified; dmoclcno; dmrecord; find; format; fullrs; height;
identi; langua; media; milita; place; publis; relati;
restrictionCode; rights; source; subjec; title; type
On the other hand, the relati key did/does have some text, but it is incomplete and does not really seem associated with the given image. I'm giving up.
All of this points to a pet peavy of mine. When we share URLs to things, why do we -- the whole Internet community and content providers -- share URLs that really point to "splash" or "landing" pages? Why don't we share URLs that point to the real things? URLs pointing to electronic journal articles are the worst. Be given a URL. Open URL in browser. Hunt around resulting page for download. Get article, finally. The same thing is true of OAI-PMH services; the dc.identifiers most often point to splash pages and not the things. "Save the time of the reader."
--
Eric Morgan
Navari Center for Digital Scholarship
University of Notre Dame
|