Project

General

Profile

feature request #9546

[DISCUSS] Merge ExternalLink and MediaRepresentation

Added by Andreas Müller 17 days ago.

Status:
New
Priority:
New
Category:
cdm
Target version:
Start date:
03/24/2021
Due date:
% Done:

0%

Severity:
normal

Description

... once MediaRepresentation has been merged with MediaRepresentationPart

Both classes store common information like URI and should have computed MimeType so they are very similar. They differ only in being part of a Media (with fixed date, artist, etc.) or being simply a website which stands alone.

We may discuss if the addtional fields "suffix" (MediaRepresentation) and "description" (ExternalLInk) are needed at all. At least "suffix" does not seem to be used somehow and often creates confusing results when being computed (e.g. for digilib server images).

Also need to discuss attributs from MediaRepresentationPart like "size" and "mediaMetaData". Size is not really used (and for websites it may change anyway). MetaData is not needed for websites but also does not do harm. If necessary it could be moved to the subclasses ImageFile, AudioFile, MovieFile.

The name of the class should be something like "Link" as MediaRepresentation is only valid if the link is really part of a media.


Related issues

Related to Edit - feature request #9067: [DISCUSS] Allow media to support external links not being files Closed 06/12/2020
Related to Edit - feature request #9545: Remove "External Link" type completely Closed 03/24/2021
Related to Edit - task #9323: discuss display of ExternalLink.description New 11/25/2020

History

#1 Updated by Andreas Müller 17 days ago

  • Related to feature request #9067: [DISCUSS] Allow media to support external links not being files added

#2 Updated by Andreas Müller 17 days ago

#3 Updated by Andreas Müller 17 days ago

  • Related to task #9323: discuss display of ExternalLink.description added

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)