subugoe / tido

GNU Affero General Public License v3.0
1 stars 2 forks source link

MIME-Types and dynamic loading of all content items with default config #452

Open paulpestov opened 2 months ago

paulpestov commented 2 months ago

Currently we are not able to display all content items with an arbitrary entrypoint URL (collection or manifest) without having a custom config. Although, we have got a default config which let's us display some content at all. We still cannot dynamically display relevant parts of the data like "all provided texts", though.

Also we don't allow to omit the type= declaration and using only the MIME-Type although it is stated in the TextAPI specs. The type= value is an additional specifier to distinguish between different types of content items. In Ahiqar and GFL projects we relied only on that. But other projects may completely omit it and just use the MIME-Type instead. So we need to implement the possibility to display content items by MIME-Type. In the first step, we may just display them without checking which MIME-Type is provided but rather display the ContentView for everything. Later we could display different View components depending on the MIME-Type.

This would provide a big step forward for generic TIDO instances.

AC: