From 4bcf552f64a79abde71063f776745f2dbeab379e Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 15 Nov 2016 20:39:35 +0100 Subject: [PATCH] add some default converters --- conf/settings.xml.template | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/conf/settings.xml.template b/conf/settings.xml.template index e8dc40c6a..ff047728d 100644 --- a/conf/settings.xml.template +++ b/conf/settings.xml.template @@ -293,7 +293,20 @@ enableNotificationAppRev = "true" enableOwnerNotification = "false" enableNotificationWorkflow = "false" - /> + /> + + pdftotext -nopgbrk %s - | sed -e 's/ [a-zA-Z0-9.]\{1\} / /g' -e 's/[0-9.]//g' + catdoc %s + ssconvert -T Gnumeric_stf:stf_csv -S %s fd://1 + id3 -l -R %s | egrep '(Title|Artist|Album)' | sed 's/^[^:]*: //g' + id3 -l -R %s | egrep '(Title|Artist|Album)' | sed 's/^[^:]*: //g' + cat %s + html2text %s + docx2txt %s - + + + unoconv -d document -e PageRange=1 -f pdf --stdout -v '%f'|gs -dBATCH -dNOPAUSE -sDEVICE=pngalpha -dPDFFitPage -r72x72 -sOutputFile=- -dFirstPage=1 -dLastPage=1 -q - | convert -resize %wx png:- '%o' +