mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-27 10:00:41 +00:00
fix some formating
This commit is contained in:
parent
5a25b7cd3a
commit
7e2803da25
|
|
@ -29,37 +29,35 @@ php-fpm's configuration. On Debian this is done in the file
|
||||||
Conversion to text for fulltext search
|
Conversion to text for fulltext search
|
||||||
=======================================
|
=======================================
|
||||||
|
|
||||||
text/plain
|
* text/plain, text/csv, application/csv
|
||||||
text/csv
|
`cat '%s'`
|
||||||
application/csv
|
|
||||||
cat '%s'
|
|
||||||
|
|
||||||
application/pdf
|
* application/pdf
|
||||||
pdftotext -q -nopgbrk %s - | sed -e 's/ [a-zA-Z0-9.]\{1\} / /g' -e 's/[0-9.]//g'
|
`pdftotext -q -nopgbrk %s - | sed -e 's/ [a-zA-Z0-9.]\{1\} / /g' -e 's/[0-9.]//g'`
|
||||||
|
|
||||||
If pdftotext takes too long on large document you may want to pass parameter
|
If pdftotext takes too long on large document you may want to pass parameter
|
||||||
-l to specify the last page to be converted. -q is for suppressing error/warnings
|
`-l` to specify the last page to be converted. `-q` is for suppressing error/warnings
|
||||||
send to stderr
|
send to stderr
|
||||||
|
|
||||||
mutool draw -F txt -q -N -o - %s
|
`mutool draw -F txt -q -N -o - %s `
|
||||||
|
|
||||||
application/vnd.openxmlformats-officedocument.wordprocessingml.document
|
* application/vnd.openxmlformats-officedocument.wordprocessingml.document
|
||||||
docx2txt '%s' -
|
`docx2txt '%s' -`
|
||||||
|
|
||||||
application/msword
|
* application/msword
|
||||||
catdoc %s
|
`catdoc %s`
|
||||||
|
|
||||||
application/vnd.oasis.opendocument.text
|
* application/vnd.oasis.opendocument.text
|
||||||
odt2txt %s
|
`odt2txt %s`
|
||||||
|
|
||||||
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
|
* application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
|
||||||
xlsx2csv -d tab %s
|
`xlsx2csv -d tab %s`
|
||||||
|
|
||||||
application/vnd.ms-excel
|
* application/vnd.ms-excel
|
||||||
xls2csv -d tab %s
|
`xls2csv -d tab %s`
|
||||||
|
|
||||||
text/html
|
* text/html
|
||||||
html2text %s
|
`html2text %s`
|
||||||
|
|
||||||
Many office formats
|
Many office formats
|
||||||
unoconv -d document -f txt --stdout '%s'
|
unoconv -d document -f txt --stdout '%s'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user