Skip to content

Commit 683efb6

Browse files
authored
Merge pull request #12163 from QualitativeDataRepository/REFIQDA_Mimetypes
Add REFI QDA Mimetypes
2 parents fb14590 + e2f9c1d commit 683efb6

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
This release adds support to map *.qdc and *.qdpx files as [REFI-QDA standard](https://www.qdasoftware.org/) Codebook and Project files for qualitative data analysis, which allows them to be used with the
2+
new REFI QDA Previewers at https://github.com/gdcc/dataverse-previewers.
3+
4+
Note that, to enable existing qdc and qdpx files to be used with the previewers, their Mimetypes will ned to be reassigned (by api (https://guides.dataverse.org/en/latest/api/native-api.html#redetect-file-type) or in the database) or their existing types used when configuring the previewers.
5+

src/main/java/propertyFiles/MimeTypeDetectionByFileExtension.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ png=image/png
2525
pptx=application/vnd.openxmlformats-officedocument.presentationml.presentation
2626
prj=application/prj
2727
py=text/x-python
28+
qdc=text/x-xml-refiqda
29+
qdpx=application/x-zip-refiqda
2830
rar=application/rar
2931
sas=application/x-sas
3032
sbn=application/sbn

src/main/java/propertyFiles/MimeTypeDisplay.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ text/x-markdown=Markdown Text
2525
text/x-r-markdown=R Markdown Text
2626
application/rtf=Rich Text Format
2727
text/x-rst=reStructuredText
28+
text/x-xml-refiqda=REFI-QDA
2829
text/rtf=Rich Text Format
2930
text/richtext=Rich Text Format
3031
text/turtle=Turtle RDF
@@ -227,5 +228,6 @@ application/octet-stream=Unknown
227228
application/x-docker-file=Docker Image File
228229
application/x-vagrant-file=Vagrant Image File
229230
application/ld+json;\u0020profile\u003d\u0022http\u003a//www.w3.org/ns/json-ld#flattened\u0020http\u003a//www.w3.org/ns/json-ld#compacted\u0020https\u003a//w3id.org/ro/crate\u0022=RO-Crate metadata
231+
application/x-zip-refiqda=REFI-QDA-Project
230232
# Dataverse-specific
231233
application/vnd.dataverse.file-package=Dataverse Package

0 commit comments

Comments
 (0)