Ticket #383: abiword.patch

File abiword.patch, 457 bytes (added by Frank J Bruzzaniti, 15 years ago)

Patch to replace Antiword with Abiword

  • .cc

    old new  
    330330            // It's probably best to index the document even if this fails.
    331331        }
    332332    } else if (mimetype == "application/msword") {
    333         string cmd = "antiword -mUTF-8.txt " + shell_protect(file);
     333        string cmd = "abiword --to=txt --to-name=fd://1 " + shell_protect(file);
    334334        try {
    335335            dump = stdout_to_string(cmd);
    336336        } catch (ReadError) {