feature request #9546
[DISCUSS] Merge ExternalLink and MediaRepresentation
0%
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
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
- Related to feature request #9545: Remove "External Link" type completely added
#3 Updated by Andreas Müller 17 days ago
- Related to task #9323: discuss display of ExternalLink.description added