Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-252

PackageParser's XHTML should contain metadata of subfiles

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 0.4
    • Fix Version/s: None
    • Component/s: parser
    • Labels:
      None

      Description

      Currently PackageParser only sets the Metadata based on the outermost file type. For instance, an gzipped tar containing pdfs will have Metadata.Content-Type set to application/gzip, and the mimetypes of the internal files (the pdfs) will be lost.

      It would be nice if the metadata found when parsing the contained pdfs would be recoverable. Perhaps in a sequence like:
      <div class="metadata><span class="METADATA-KEY">METADATA-VALUE</span>...</div> within the <div class="package-file">

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jonathankoren Jonathan Koren
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: