24 Commits

Author SHA1 Message Date
Jonathan Ingram 93312f47fc v2: initial commit (#153)
- Some methods have been changed to return an error as their last
  argument
- Log calls inside various functions have been removed
- Use a v1 tag if you need the previous signature
2023-10-31 11:32:40 +11:00
guangwu a000b5d069 all: remove refs to deprecated io/ioutil (#140) 2023-09-13 14:33:58 +10:00
superxin 963655a30a support PowerPoint files in Convert functions 2020-07-02 08:05:20 +10:00
David Howden eedabc494f docd: return error messages in the response 2018-02-07 16:45:20 +11:00
David Howden cc5d07e999 moved pkg to code.sajari.com/docconv 2017-12-27 18:26:17 +11:00
Jonathan Ingram 9e7fa8a68e convert: trim space from resulting text 2017-09-20 17:44:05 +10:00
David Howden 3dad0cb02c fix golint issues
Documentation still needs a lot of work.
2017-06-26 12:16:32 +10:00
Kevin Barbour 2d55e09f96 make compatible with uppercase file extensions 2016-02-03 13:24:36 -05:00
Mario Idival 01ed7a7f3c add ConvertImage function 2015-09-23 13:58:13 -03:00
Mario Idival 5d7149066b add mime types of images 2015-09-23 12:20:51 -03:00
David Howden 94a2d4dc93 Refactor code into library.
Binary now built from subpackage docconv.
2015-08-10 23:17:50 +10:00
David Howden a7037e1eb0 Don't ignore ReadAll error if file it text. 2015-08-10 10:29:16 +10:00
David Howden a93bdba0f2 Return errors from ConvertPDF. 2015-08-10 09:48:20 +10:00
David Howden efe9f7e97f Return errors from ConvertODT. 2015-08-10 09:48:20 +10:00
David Howden cfd468ca2c Update ConvertDoc and ConvertDocx to return errors. 2015-08-10 09:48:20 +10:00
David Howden d5a2aa9a5c Return errors from ConvertURL 2015-08-10 09:48:20 +10:00
David Howden 359f7b0818 Return errors from ConvertRTF. 2015-08-10 09:48:20 +10:00
David Howden b0730a51bb Return errors from ConvertHTML. 2015-08-10 09:48:20 +10:00
David Howden b9debed3c3 Update Pages converter to return errors. 2015-08-10 09:48:20 +10:00
David Howden 5dca922378 Update XMLToText to return errors, and refactor ConvertXML. 2015-08-10 09:48:20 +10:00
David Howden b6e6e9b3bb More refactoring to use more Go-idiomatic naming. 2015-08-09 17:14:36 +10:00
David Howden a5dd08375c Refactor method names to better follow standard Go conventions. 2015-08-09 16:15:43 +10:00
David Howden 0304184b48 Added 'path' form variable.
Use the 'path' variable when a file is locally available.
2015-08-09 13:36:00 +10:00
David Howden f3ee5680cc Moved sajari-convert.go -> docconv.go 2015-08-09 13:13:40 +10:00