Revision
15766
Author
sathieu
Date
2009-12-03 05:20:30 -0600 (Thu, 03 Dec 2009)

Log Message

email2pdf: use ooextract without path and extension

Modified Paths

Diff

Modified: freeswitch/trunk/contrib/sathieu/email2pdf/email2pdf (15765 => 15766)


--- freeswitch/trunk/contrib/sathieu/email2pdf/email2pdf	2009-12-03 06:09:32 UTC (rev 15765)
+++ freeswitch/trunk/contrib/sathieu/email2pdf/email2pdf	2009-12-03 11:20:30 UTC (rev 15766)
@@ -118,15 +118,15 @@
 	'tiff' => ['.tiff', 'convert FILE pdf:-'],
 	
 	#OpenDocument
-	'opendoctext' => ['.odt', 'python /root/ooextract.py --pdf --stdout FILE'],
-	'opendocspreadsheet' => ['.ods', 'python /root/ooextract.py --pdf --stdout FILE'],
-	'opendocpresentation' => ['.odp', 'python /root/ooextract.py --pdf --stdout FILE'],
-	'opendocgraphics' => ['.odg', 'python /root/ooextract.py --pdf --stdout FILE'],
+	'opendoctext' => ['.odt', 'ooextract --pdf --stdout FILE'],
+	'opendocspreadsheet' => ['.ods', 'ooextract --pdf --stdout FILE'],
+	'opendocpresentation' => ['.odp', 'ooextract --pdf --stdout FILE'],
+	'opendocgraphics' => ['.odg', 'ooextract --pdf --stdout FILE'],
 
 	#MS office
-	'msexcel' => ['.xls', 'python /root/ooextract.py --pdf --stdout FILE'],
-	'mspowerpoint' => ['.ppt', 'python /root/ooextract.py --pdf --stdout FILE'],
-	'msword' => ['.doc', 'python /root/ooextract.py --pdf --stdout FILE'],
+	'msexcel' => ['.xls', 'ooextract --pdf --stdout FILE'],
+	'mspowerpoint' => ['.ppt', 'ooextract --pdf --stdout FILE'],
+	'msword' => ['.doc', 'ooextract --pdf --stdout FILE'],
 	'pdf' => ['.pdf', 'cat FILE'],
 };
 # Template config