[tracker] tracker-extract: Change default RDF type for EPub



commit d66dffe89a56ff49c2b01693c97f1df14d9b0c89
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Aug 28 20:29:54 2014 +0200

    tracker-extract: Change default RDF type for EPub
    
    Should be nfo:EBook now, not nfo:TextDocument.

 src/tracker-extract/tracker-extract-epub.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-epub.c b/src/tracker-extract/tracker-extract-epub.c
index d36599a..55a27d8 100644
--- a/src/tracker-extract/tracker-extract-epub.c
+++ b/src/tracker-extract/tracker-extract-epub.c
@@ -615,7 +615,7 @@ extract_opf (const gchar          *uri,
        data = opf_data_new (info);
 
        tracker_sparql_builder_predicate (data->metadata, "a");
-       tracker_sparql_builder_object (data->metadata, "nfo:TextDocument");
+       tracker_sparql_builder_object (data->metadata, "nfo:EBook");
 
        /* Create parsing context */
        context = g_markup_parse_context_new (&opf_parser, 0, data, NULL);


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