Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
…2038) * add accepted file formats * Update data-formats.md * update sipi path * rename data-formats.md to file-formats.md * update index.md * fix footnote * reset scala setting
- Loading branch information
Showing
with
34 additions
and 36 deletions.
- +1 −1 .scalafmt.conf
- +0 −22 docs/01-introduction/data-formats.md
- +24 −0 docs/01-introduction/file-formats.md
- +1 −1 docs/01-introduction/index.md
- +4 −8 docs/01-introduction/what-is-knora.md
- +3 −3 docs/faq/index.md
- +1 −1 mkdocs.yml
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,6 +1,6 @@ | ||
version = "2.7.5" | ||
maxColumn = 120 | ||
align.preset = some | ||
align.multiline = false | ||
continuationIndent.defnSite = 2 | ||
assumeStandardLibraryStripMargin = true | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,24 @@ | ||
<!--- | ||
* Copyright © 2021 - 2022 Swiss National Data and Service Center for the Humanities and/or DaSCH Service Platform contributors. | ||
* SPDX-License-Identifier: Apache-2.0 | ||
--> | ||
|
||
# File Formats in DSP-API | ||
|
||
Currently, only a limited number of file formats is accepted to be uploaded onto DSP. Some metadata is extracted from the files during the ingest but the file formats are not validated. Only image file formats are currently migrated into another format. Both, the migrated version of the file and the original are kept. | ||
|
||
The following table shows the accepted file formats: | ||
|
||
| Category | Accepted format | Converted during ingest? | | ||
| --------------------- | ------------------------- | -------------------------------------------------------------------------- | | ||
| Text, XML<sup>1</sup> | TXT, XML, XSL, XSD | No | | ||
| Tables | CSV, XLS, XLSX | No | | ||
| 2D Images | JPEG, PNG, TIFF, JP2 | Yes, converted to JPEG 2000 by [Sipi](https://github.com/dasch-swiss/sipi) | | ||
| Audio | MPEG (MP3), MP4, WAV | No | | ||
| Video | MP4 | No | | ||
| Office | PDF, DOC, DOCX, PPT, PPTX | No | | ||
| Archives | ZIP, TAR, ISO, GZIP, 7Z | No | | ||
|
||
|
||
1: If your XML files represent text with markup (e.g. [TEI/XML](http://www.tei-c.org/)), | ||
the recommended approach is to allow Knora to store it as [Standoff/RDF](standoff-rdf.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -5,11 +5,11 @@ | ||
|
||
# Frequently Asked Questions | ||
|
||
## File Formats | ||
|
||
### What file formats does Knora store? | ||
|
||
See [File Formats in Knora](../01-introduction/file-formats.md). | ||
|
||
### Does Knora store XML files? | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters