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
|
c3e84ab883
|
Added error return value to XMLToMap.
|
2015-08-10 08:58:36 +10:00 |
|
David Howden
|
242f6f7bdb
|
Remove unnecessary log from Tidy.
|
2015-08-10 08:57:30 +10:00 |
|
David Howden
|
baf70d59c1
|
Small refactoring to HTML converter.
|
2015-08-09 23:53:20 +10:00 |
|
David Howden
|
d32e17d92a
|
More refactoring and tidying.
|
2015-08-09 17:50:53 +10:00 |
|
David Howden
|
f239ac3bcb
|
Update ConvertDoc to use LocalFile.
|
2015-08-09 17:29:26 +10:00 |
|
David Howden
|
b4319ff208
|
Change LocalFile to embed *os.File.
This is to support ConvertDoc when falls back to Docx (and so needs to Seek back to the beginning of the file).
|
2015-08-09 17:29:26 +10:00 |
|
David Howden
|
e1b0968d79
|
Updated PDF and RTF converters to use LocalFile.
Avoids unnecessarily creating copies of local files.
|
2015-08-09 17:29:26 +10:00 |
|
David Howden
|
c9031156e6
|
Added LocalFile which can be used to avoid unnecessarily creating temporary files.
|
2015-08-09 17:14:36 +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
|
428b55aa60
|
Fix and reorder imports.
|
2015-08-09 15:05:43 +10:00 |
|
David Howden
|
995a15d510
|
Fix code.google.com/p/go.net import to use golang.org/x/net instead.
|
2015-08-09 14:45:53 +10:00 |
|
David Howden
|
a03b7c80a7
|
Reorder imports.
|
2015-08-09 14:44:37 +10:00 |
|
David Howden
|
5dcc89443d
|
Remove unnecessary bytes.NewReader.
|
2015-08-09 14:44:29 +10:00 |
|
David Howden
|
457d0abf4b
|
Tidied up README a bit
|
2015-08-09 13:38:52 +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 |
|
David Howden
|
0dea64bd3c
|
Tidy up timing calculation.
|
2015-08-09 13:12:59 +10:00 |
|
David Howden
|
b4d4fd474d
|
Generalise convertPath.
|
2015-08-09 12:45:03 +10:00 |
|
David Howden
|
cf2e37efda
|
Tidied up XML handling.
|
2015-08-09 12:45:03 +10:00 |
|
David Howden
|
484b26a269
|
More tidying.
|
2015-08-09 12:45:03 +10:00 |
|
David Howden
|
38850ece6a
|
Use path.Ext to get file extension instead of regular expression.
|
2015-08-09 12:45:03 +10:00 |
|
David Howden
|
9c88c24fb2
|
Fix: xhtml suffix not identified as text/html.
|
2015-08-09 11:42:14 +10:00 |
|
David Howden
|
f58e33e43c
|
Code tidying.
|
2015-08-09 11:38:42 +10:00 |
|
Hamish
|
f3db6df9f2
|
Update README.md
|
2015-07-14 11:34:47 +10:00 |
|
Hamish
|
e660b5823b
|
readme formatting... nothing to see here...
|
2015-05-01 20:55:29 +10:00 |
|
Hamish
|
7c94b3ede0
|
Readme update for ODT and Pages, command line execution
|
2015-05-01 20:53:22 +10:00 |
|
Hamish
|
876c59f91f
|
Merge branch 'issue-8'
See Issue #8
|
2015-05-01 20:42:04 +10:00 |
|
Hamish
|
dfe7ab0237
|
Ignore "tests" directory
|
2015-05-01 20:33:58 +10:00 |
|
Hamish
|
e580875232
|
Merge pull request #11 from sajari/issue-9
Command line convert and ODT #9 #10
|
2015-05-01 20:29:24 +10:00 |
|
Owen Prime
|
13ff0ec850
|
Unwind duplicate commit #8
|
2015-04-27 22:18:16 +10:00 |
|
Owen Prime
|
1b74244e4c
|
Merge branch 'issue-8' of github.com:sajari/sajari-convert into issue-8
|
2015-04-27 22:15:10 +10:00 |
|
Owen Prime
|
65730288f1
|
Support older iWorks files by reading the embedded Preview.pdf file #8
|
2015-04-27 22:14:28 +10:00 |
|
Hamish
|
3e47cd5977
|
Some .pages file include a PDF or XML version
See Issue #8
This captures some of these.
|
2015-04-27 18:32:16 +10:00 |
|
Hamish
|
5f61ea5adb
|
Add photo schema files
These came from:
https://github.com/obriensp/iWorkFileFormat/tree/master/iWorkFileInspect
or/iWorkFileInspector/Messages/Proto
See Issue #8
|
2015-04-27 17:32:41 +10:00 |
|
Hamish
|
958ece3e31
|
Update to use local packages
See Issue #8
|
2015-04-27 17:17:35 +10:00 |
|
Hamish
|
df758a4154
|
Ignore checksums in snappy (Apple does not set them, they will fail)
See Issue #8
|
2015-04-27 17:17:26 +10:00 |
|
Hamish
|
0342ad8de7
|
Add go-snappy package directly as we need to modify it in non-sensical ways
|
2015-04-27 17:14:27 +10:00 |
|
Owen Prime
|
7ed3c56b0d
|
Start of Pages support.
|
2015-04-27 12:36:47 +10:00 |
|
Owen Prime
|
9d7073634e
|
Added in support for converting ODT documents #9
|
2015-04-26 23:36:03 +10:00 |
|
Owen Prime
|
b2d34ff3a6
|
Abstracted some code parts in to separate functions and made a command line option #10
|
2015-04-26 18:08:16 +10:00 |
|
Hamish
|
61f9ca28dc
|
Add conditional to file.Close() to ensure no panic when no file is specified
cc @andyb
|
2015-02-27 13:39:19 +11:00 |
|
Hamish
|
0e66dfc523
|
go fmt (overdue!)
|
2015-01-31 13:34:36 +11:00 |
|
Hamish
|
3875d3e2a1
|
Change .doc extraction to use wvText instead of wvHtml
Close #5
|
2015-01-31 13:33:03 +11:00 |
|