TEI xml Documents

80 views
Skip to first unread message

paulw...@gmail.com

unread,
Feb 10, 2021, 2:42:10 PM2/10/21
to DSpace Technical Support
Hello,

We have the chance to partner with an institution that offers documents in TEI format.  This means that we would offer the docs on our DSpace instance.  I cannot find in the DSpace documentation if there is support for TEI, and a search of these pages here in the Tech Group yielded no hits.  Does anyone have a suggestion for me, on what the best course might be?  We would convert all the docs from TEI to pdf or some other format before importing them?

Thanks in advance for any ideas.

Best regards,
Paul

paulw...@gmail.com

unread,
Feb 10, 2021, 2:43:03 PM2/10/21
to DSpace Technical Support
Sorry, forgot - we are using DSpace 6.3.

Best regards,
Paul

Tim Donohue

unread,
Feb 10, 2021, 3:00:24 PM2/10/21
to paulw...@gmail.com, DSpace Technical Support
Hi Paul,

The simple answer here is that DSpace can support any file format​ if you just want to upload the file and get the same file back (when a user downloads it).   

But, you are correct that DSpace doesn't have any specialized TEI support. So, there's no TEI viewer and DSpace won't index the TEI file by default, so you won't be able to search within the text of the document.  That said, it's possible​ that the out-of-the-box HTMLFilter (https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace/config/dspace.cfg#L372) might be able to parse text out of a TEI XML file if you configured it to do so (it may not be perfect though as XML and HTML are only loosely similar in structure).

In any case, if you upload a TEI file into DSpace, then users will be able to download that same file. Obviously, you can also add whatever metadata to it you want to make it more easily findable.  As you noted, you could also convert them to PDF or upload both the TEI and PDF versions into the same item -- it may depend on your local needs/use cases as to whether downloading a TEI file is best for your users or if another format is also useful.

Tim


From: dspac...@googlegroups.com <dspac...@googlegroups.com> on behalf of paulw...@gmail.com <paulw...@gmail.com>
Sent: Wednesday, February 10, 2021 1:42 PM
To: DSpace Technical Support <dspac...@googlegroups.com>
Subject: [dspace-tech] TEI xml Documents
 
--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/92ec0f5f-9565-4ab5-b18b-03a193579b45n%40googlegroups.com.

paulw...@gmail.com

unread,
Feb 10, 2021, 3:28:17 PM2/10/21
to DSpace Technical Support
Thanks, Tim!  Very helpful.

Best regards,
Paul

Reply all
Reply to author
Forward
0 new messages