Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include container metadata for additional formats besides zip #365

Open
pwinckles opened this issue Dec 15, 2022 · 0 comments
Open

include container metadata for additional formats besides zip #365

pwinckles opened this issue Dec 15, 2022 · 0 comments

Comments

@pwinckles
Copy link
Contributor

Currently, FITS will only generate a metadata element for zips that looks like the following:

  <metadata>
    <container>
      <originalSize toolname="Droid" toolversion="6.5.2" status="SINGLE_RESULT">34318329</originalSize>
      <compressionMethod toolname="Droid" toolversion="6.5.2" status="SINGLE_RESULT">deflate</compressionMethod>
      <entries totalEntries="16" toolname="Droid" toolversion="6.5.2" status="SINGLE_RESULT">
        <format name="EPUB" number="1" />
        <format name="Extensible Markup Language" number="1" />
        <format name="Graphics Interchange Format" number="1" />
        <format name="JPEG 2000 JP2" number="1" />
        <format name="JPEG File Interchange Format" number="1" />
        <format name="MPEG-4" number="1" />
        <format name="Office Open XML Document" number="1" />
        <format name="OpenDocument Text" number="1" />
        <format name="PDF/A" number="1" />
        <format name="PDF/X" number="1" />
        <format name="Plain text" number="1" />
        <format name="Portable Network Graphics" number="1" />
        <format name="Rich Text Format (RTF)" number="1" />
        <format name="TIFF EXIF" number="1" />
        <format name="Waveform Audio" number="1" />
        <format name="ZIP Format" number="1" />
      </entries>
    </container>
  </metadata>

This information is extracted by DROID. However, FITS is currently only able to collect this information for zip files. It would be nice if it were able to use DROID to get the same information for additional formats, notably gzip and 7zip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant