[tracker/wip/passive-extraction: 2/16] tracker-extract: Set FallbackRdfTypes on all .rule files



commit 0b623f2938b12e43a4dbf246eb23102ca1bd937e
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Jan 3 02:06:32 2014 +0100

    tracker-extract: Set FallbackRdfTypes on all .rule files

 src/tracker-extract/10-abw.rule               |    2 +-
 src/tracker-extract/10-dvi.rule               |    2 +-
 src/tracker-extract/10-epub.rule              |    1 +
 src/tracker-extract/10-flac.rule              |    2 +-
 src/tracker-extract/10-gif.rule               |    2 +-
 src/tracker-extract/10-html.rule              |    2 +-
 src/tracker-extract/10-ico.rule               |    2 +-
 src/tracker-extract/10-jpeg.rule              |    2 +-
 src/tracker-extract/10-mp3.rule               |    2 +-
 src/tracker-extract/10-msoffice.rule          |    2 +-
 src/tracker-extract/10-oasis.rule             |    2 +-
 src/tracker-extract/10-pdf.rule               |    2 +-
 src/tracker-extract/10-png.rule               |    2 +-
 src/tracker-extract/10-ps.rule                |    2 +-
 src/tracker-extract/10-svg.rule               |    2 +-
 src/tracker-extract/10-tiff.rule              |    2 +-
 src/tracker-extract/10-vorbis.rule            |    2 +-
 src/tracker-extract/10-xps.rule               |    2 +-
 src/tracker-extract/11-iso.rule               |    2 +-
 src/tracker-extract/11-msoffice-xml.rule      |    2 +-
 src/tracker-extract/15-gstreamer-guess.rule   |    2 +-
 src/tracker-extract/15-playlist.rule          |    2 +-
 src/tracker-extract/90-gstreamer-generic.rule |    2 +-
 src/tracker-extract/90-text-generic.rule      |    1 +
 24 files changed, 24 insertions(+), 22 deletions(-)
---
diff --git a/src/tracker-extract/10-abw.rule b/src/tracker-extract/10-abw.rule
index aef9a29..6702e0d 100644
--- a/src/tracker-extract/10-abw.rule
+++ b/src/tracker-extract/10-abw.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-abw.so
 MimeTypes=application/x-abiword
-
+FallbackRdfTypes=nfo:Document
diff --git a/src/tracker-extract/10-dvi.rule b/src/tracker-extract/10-dvi.rule
index 617c99a..5ce40af 100644
--- a/src/tracker-extract/10-dvi.rule
+++ b/src/tracker-extract/10-dvi.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-dvi.so
 MimeTypes=application/x-dvi
-FallbackRdfType=nfo:Document
+FallbackRdfTypes=nfo:Document
diff --git a/src/tracker-extract/10-epub.rule b/src/tracker-extract/10-epub.rule
index 1467488..fc55bdf 100644
--- a/src/tracker-extract/10-epub.rule
+++ b/src/tracker-extract/10-epub.rule
@@ -1,3 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-epub.so
 MimeTypes=application/epub+zip
+FallbackRdfTypes=nfo:TextDocument
diff --git a/src/tracker-extract/10-flac.rule b/src/tracker-extract/10-flac.rule
index c0517ff..150301c 100644
--- a/src/tracker-extract/10-flac.rule
+++ b/src/tracker-extract/10-flac.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-flac.so
 MimeTypes=audio/x-flac
-
+FallbackRdfTypes=nmm:MusicPiece;nfo:Audio;
diff --git a/src/tracker-extract/10-gif.rule b/src/tracker-extract/10-gif.rule
index 3fdcfe0..a88780b 100644
--- a/src/tracker-extract/10-gif.rule
+++ b/src/tracker-extract/10-gif.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-gif.so
 MimeTypes=image/gif
-
+FallbackRdfTypes=nfo:Image;nmm:Photo;
diff --git a/src/tracker-extract/10-html.rule b/src/tracker-extract/10-html.rule
index ec2cf27..e26f356 100644
--- a/src/tracker-extract/10-html.rule
+++ b/src/tracker-extract/10-html.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-html.so
 MimeTypes=text/html;application/xhtml+xml;
-
+FallbackRdfTypes=nfo:HtmlDocument
diff --git a/src/tracker-extract/10-ico.rule b/src/tracker-extract/10-ico.rule
index f1e161b..47d71a1 100644
--- a/src/tracker-extract/10-ico.rule
+++ b/src/tracker-extract/10-ico.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-icon.so
 MimeTypes=image/vnd.microsoft.icon
-
+FallbackRdfTypes=nfo:Image;nfo:Icon;
diff --git a/src/tracker-extract/10-jpeg.rule b/src/tracker-extract/10-jpeg.rule
index e20d559..424d9e4 100644
--- a/src/tracker-extract/10-jpeg.rule
+++ b/src/tracker-extract/10-jpeg.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-jpeg.so
 MimeTypes=image/jpeg
-
+FallbackRdfTypes=nfo:Image;nmm:Photo;
diff --git a/src/tracker-extract/10-mp3.rule b/src/tracker-extract/10-mp3.rule
index 86a9b73..015f798 100644
--- a/src/tracker-extract/10-mp3.rule
+++ b/src/tracker-extract/10-mp3.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-mp3.so
 MimeTypes=audio/mpeg;audio/x-mp3;
-
+FallbackRdfTypes=nmm:MusicPiece;nfo:Audio;
diff --git a/src/tracker-extract/10-msoffice.rule b/src/tracker-extract/10-msoffice.rule
index d6568ff..151846f 100644
--- a/src/tracker-extract/10-msoffice.rule
+++ b/src/tracker-extract/10-msoffice.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-msoffice.so
 MimeTypes=application/msword;application/vnd.ms-powerpoint;application/vnd.ms-excel;application/vnd.ms-*;
-
+FallbackRdfTypes=nfo:Document
diff --git a/src/tracker-extract/10-oasis.rule b/src/tracker-extract/10-oasis.rule
index 10038c0..d49f7bf 100644
--- a/src/tracker-extract/10-oasis.rule
+++ b/src/tracker-extract/10-oasis.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-oasis.so
 MimeTypes=application/vnd.oasis.opendocument.*
-
+FallbackRdfTypes=nfo:PaginatedTextDocument
diff --git a/src/tracker-extract/10-pdf.rule b/src/tracker-extract/10-pdf.rule
index 455fe6b..d9f2f49 100644
--- a/src/tracker-extract/10-pdf.rule
+++ b/src/tracker-extract/10-pdf.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-pdf.so
 MimeTypes=application/pdf
-FallbackRdfType=nfo:Document
+FallbackRdfTypes=nfo:PaginatedTextDocument
diff --git a/src/tracker-extract/10-png.rule b/src/tracker-extract/10-png.rule
index 67b2a1b..c97a46a 100644
--- a/src/tracker-extract/10-png.rule
+++ b/src/tracker-extract/10-png.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-png.so
 MimeTypes=image/png;sketch/png;
-
+FallbackRdfTypes=nfo:Image;nmm:Photo;
diff --git a/src/tracker-extract/10-ps.rule b/src/tracker-extract/10-ps.rule
index 73734eb..874ceb1 100644
--- a/src/tracker-extract/10-ps.rule
+++ b/src/tracker-extract/10-ps.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-ps.so
 MimeTypes=application/x-gzpostscript;application/postscript;
-
+FallbackRdfTypes=nfo:PaginatedTextDocument
diff --git a/src/tracker-extract/10-svg.rule b/src/tracker-extract/10-svg.rule
index 8b1e0ab..7b92563 100644
--- a/src/tracker-extract/10-svg.rule
+++ b/src/tracker-extract/10-svg.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-gstreamer.so
 MimeTypes=image/svg+xml
-
+FallbackRdfTypes=nfo:Image;nfo:VectorImage;
diff --git a/src/tracker-extract/10-tiff.rule b/src/tracker-extract/10-tiff.rule
index c883c90..ce33194 100644
--- a/src/tracker-extract/10-tiff.rule
+++ b/src/tracker-extract/10-tiff.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-tiff.so
 MimeTypes=image/tiff
-
+FallbackRdfTypes=nfo:Image;nmm:Photo;
diff --git a/src/tracker-extract/10-vorbis.rule b/src/tracker-extract/10-vorbis.rule
index f99877b..48f9981 100644
--- a/src/tracker-extract/10-vorbis.rule
+++ b/src/tracker-extract/10-vorbis.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-vorbis.so
 MimeTypes=audio/x-vorbis+ogg;application/ogg;
-
+FallbackRdfTypes=nmm:MusicPiece;nfo:Audio;
diff --git a/src/tracker-extract/10-xps.rule b/src/tracker-extract/10-xps.rule
index 0916f8d..6bfdd27 100644
--- a/src/tracker-extract/10-xps.rule
+++ b/src/tracker-extract/10-xps.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-xps.so
 MimeTypes=application/oxps;application/vnd.ms-xpsdocument;
-FallbackRdfType=nfo:Document
+FallbackRdfTypes=nfo:PaginatedTextDocument
diff --git a/src/tracker-extract/11-iso.rule b/src/tracker-extract/11-iso.rule
index 400a072..3a5c69e 100644
--- a/src/tracker-extract/11-iso.rule
+++ b/src/tracker-extract/11-iso.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-iso.so
 MimeTypes=application/x-cd-image
-
+FallbackRdfTypes=nfo:FilesystemImage
diff --git a/src/tracker-extract/11-msoffice-xml.rule b/src/tracker-extract/11-msoffice-xml.rule
index 8459823..5df19f0 100644
--- a/src/tracker-extract/11-msoffice-xml.rule
+++ b/src/tracker-extract/11-msoffice-xml.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-msoffice-xml.so
 
MimeTypes=application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.openxmlformats-officedocument.presentationml.slideshow;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.wordprocessingml.document;
-
+FallbackRdfTypes=nfo:PaginatedTextDocument
diff --git a/src/tracker-extract/15-gstreamer-guess.rule b/src/tracker-extract/15-gstreamer-guess.rule
index 6088807..68065cb 100644
--- a/src/tracker-extract/15-gstreamer-guess.rule
+++ b/src/tracker-extract/15-gstreamer-guess.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-gstreamer.so
 MimeTypes=video/3gpp;video/mp4;video/x-ms-asf;application/vnd.rn-realmedia
-
+FallbackRdfTypes=nfo:Media
diff --git a/src/tracker-extract/15-playlist.rule b/src/tracker-extract/15-playlist.rule
index 16ec50e..8804f87 100644
--- a/src/tracker-extract/15-playlist.rule
+++ b/src/tracker-extract/15-playlist.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-playlist.so
 
MimeTypes=audio/x-mpegurl;audio/mpegurl;audio/x-scpls;audio/x-pn-realaudio;application/ram;application/vnd.ms-wpl;application/smil;audio/x-ms-asx;
-
+FallbackRdfTypes=nmm:Playlist;nfo:MediaList;
diff --git a/src/tracker-extract/90-gstreamer-generic.rule b/src/tracker-extract/90-gstreamer-generic.rule
index 58ce23f..42d312e 100644
--- a/src/tracker-extract/90-gstreamer-generic.rule
+++ b/src/tracker-extract/90-gstreamer-generic.rule
@@ -1,4 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-gstreamer.so
 MimeTypes=audio/*;video/*;image/*;
-
+FallbackRdfTypes=nfo:Media;
diff --git a/src/tracker-extract/90-text-generic.rule b/src/tracker-extract/90-text-generic.rule
index f1a658c..fd630e5 100644
--- a/src/tracker-extract/90-text-generic.rule
+++ b/src/tracker-extract/90-text-generic.rule
@@ -1,3 +1,4 @@
 [ExtractorRule]
 ModulePath=libextract-text.so
 MimeTypes=text/*
+FallbackRdfTypes=nfo:PlainTextDocument


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]