summaryrefslogtreecommitdiff
path: root/filters
diff options
context:
space:
mode:
authorJamie McCracken <jamiemcc@src.gnome.org>2006-11-18 18:07:07 +0000
committerJamie McCracken <jamiemcc@src.gnome.org>2006-11-18 18:07:07 +0000
commit97470657027a7f634c3449f289685068ca4de857 (patch)
treea6639b12f016c90a01eaf977888aa6fada7d0689 /filters
parent5f101eb40ce46832b29fdd79a5a3cbdb615bb528 (diff)
downloadtracker-97470657027a7f634c3449f289685068ca4de857.tar.gz
added more templates to be filtered
Diffstat (limited to 'filters')
-rw-r--r--filters/application/Makefile.am4
-rwxr-xr-xfilters/application/vnd.oasis.opendocument.presentation-template_filter3
-rwxr-xr-xfilters/application/vnd.oasis.opendocument.spreadsheet-template_filter3
-rwxr-xr-xfilters/application/vnd.sun.xml.calc.template_filter3
-rwxr-xr-xfilters/application/vnd.sun.xml.impress.template_filter3
5 files changed, 16 insertions, 0 deletions
diff --git a/filters/application/Makefile.am b/filters/application/Makefile.am
index f96d0b1b8..bd7408a96 100644
--- a/filters/application/Makefile.am
+++ b/filters/application/Makefile.am
@@ -3,12 +3,16 @@ thumbappbindir = $(datadir)/tracker/filters/application
thumbappbin_SCRIPTS = pdf_filter \
msword_filter \
vnd.oasis.opendocument.presentation_filter \
+ vnd.oasis.opendocument.presentation-template_filter \
vnd.oasis.opendocument.spreadsheet_filter \
+ vnd.oasis.opendocument.spreadsheet-template_filter \
vnd.oasis.opendocument.text_filter \
vnd.oasis.opendocument.text-template_filter \
vnd.stardivision.writer_filter \
vnd.sun.xml.calc_filter \
+ vnd.sun.xml.calc.template_filter \
vnd.sun.xml.impress_filter \
+ vnd.sun.xml.impress.template_filter \
vnd.sun.xml.writer_filter \
vnd.sun.xml.writer.template_filter \
x-abiword_filter
diff --git a/filters/application/vnd.oasis.opendocument.presentation-template_filter b/filters/application/vnd.oasis.opendocument.presentation-template_filter
new file mode 100755
index 000000000..5c709474b
--- /dev/null
+++ b/filters/application/vnd.oasis.opendocument.presentation-template_filter
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+ nice -n19 unzip -p "$1" content.xml | o3totxt > "$2"
diff --git a/filters/application/vnd.oasis.opendocument.spreadsheet-template_filter b/filters/application/vnd.oasis.opendocument.spreadsheet-template_filter
new file mode 100755
index 000000000..5c709474b
--- /dev/null
+++ b/filters/application/vnd.oasis.opendocument.spreadsheet-template_filter
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+ nice -n19 unzip -p "$1" content.xml | o3totxt > "$2"
diff --git a/filters/application/vnd.sun.xml.calc.template_filter b/filters/application/vnd.sun.xml.calc.template_filter
new file mode 100755
index 000000000..5c709474b
--- /dev/null
+++ b/filters/application/vnd.sun.xml.calc.template_filter
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+ nice -n19 unzip -p "$1" content.xml | o3totxt > "$2"
diff --git a/filters/application/vnd.sun.xml.impress.template_filter b/filters/application/vnd.sun.xml.impress.template_filter
new file mode 100755
index 000000000..5c709474b
--- /dev/null
+++ b/filters/application/vnd.sun.xml.impress.template_filter
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+ nice -n19 unzip -p "$1" content.xml | o3totxt > "$2"