Tika
  1. Tika
  2. TIKA-631

Improve handling of Outlook emails which contain html, and those with non-unicode text bodies

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.10
    • Component/s: parser
    • Labels:
      None

      Description

      There are two areas in the outlook parsing that could use some enhancement:

      • If the text content is stored as non unicode strings, we should try to have the right encoding used for this
      • If the email contains a html or rtf version of the message body, we should prefer this over the plain text one

      Note - some of these enhancements may need to wait for POI 3.8 beta 3

      1. OutlookRTFStub.patch
        3 kB
        Nick Burch
      2. OutlookHtmlRtf.patch
        6 kB
        Nick Burch
      3. OutlookHtmlRtf_beta3.diff
        6 kB
        Nick Burch
      4. OutlookHtmlRtf_beta3.diff
        6 kB
        Nick Burch

        Activity

        Hide
        Nick Burch added a comment -

        The attached patch OutlookRTFStub.patch requires POI 3.8 beta 2, and fetches the RTF message body. It isn't used though, pending TIKA-632

        Show
        Nick Burch added a comment - The attached patch OutlookRTFStub.patch requires POI 3.8 beta 2, and fetches the RTF message body. It isn't used though, pending TIKA-632
        Hide
        Nick Burch added a comment -

        OutlookHtmlRtf.patch requires POI 3.8 beta 3, but enables the use of the HTML part in preference to the plain text one

        One thing though - is there a trick to only have the body part of the nested html output when delegating to the Html Parser part way through?

        Show
        Nick Burch added a comment - OutlookHtmlRtf.patch requires POI 3.8 beta 3, but enables the use of the HTML part in preference to the plain text one One thing though - is there a trick to only have the body part of the nested html output when delegating to the Html Parser part way through?
        Hide
        Nick Burch added a comment -

        Work again 3.8 beta 2 applied in r1091042. Updated patch for POI 3.8 beta 3

        Show
        Nick Burch added a comment - Work again 3.8 beta 2 applied in r1091042. Updated patch for POI 3.8 beta 3
        Hide
        Nick Burch added a comment -

        Updated patch including TIKA-656 fix

        Show
        Nick Burch added a comment - Updated patch including TIKA-656 fix
        Hide
        Nick Burch added a comment -

        POI version bumped to 3.8 beta 3, and patch applied in r1133380.

        Show
        Nick Burch added a comment - POI version bumped to 3.8 beta 3, and patch applied in r1133380.

          People

          • Assignee:
            Nick Burch
            Reporter:
            Nick Burch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development