[tracker/epub-metadata-improvements: 5/5] tracker-extract-epub: Fixed roles extracted
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/epub-metadata-improvements: 5/5] tracker-extract-epub: Fixed roles extracted
- Date: Wed, 11 Sep 2013 16:30:20 +0000 (UTC)
commit ad73f41f073b709ed7c6c1a62a4a0b4000389c9d
Author: Martyn Russell <martyn lanedo com>
Date: Wed Sep 11 17:17:27 2013 +0100
tracker-extract-epub: Fixed roles extracted
src/tracker-extract/tracker-extract-epub.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-epub.c b/src/tracker-extract/tracker-extract-epub.c
index 7d62622..4a239e3 100644
--- a/src/tracker-extract/tracker-extract-epub.c
+++ b/src/tracker-extract/tracker-extract-epub.c
@@ -395,11 +395,11 @@ opf_xml_text_handler (GMarkupParseContext *context,
tracker_sparql_builder_predicate (data->metadata, "nco:role");
if (data->element == OPF_TAG_TYPE_AUTHOR) {
- tracker_sparql_builder_object_unvalidated (data->metadata, "aut");
+ tracker_sparql_builder_object_unvalidated (data->metadata, "Author");
} else if (data->element == OPF_TAG_TYPE_EDITOR) {
- tracker_sparql_builder_object_unvalidated (data->metadata, "edt");
- } else if (data->element == OPF_TAG_TYPE_EDITOR) {
- tracker_sparql_builder_object_unvalidated (data->metadata, "ill");
+ tracker_sparql_builder_object_unvalidated (data->metadata, "Editor");
+ } else if (data->element == OPF_TAG_TYPE_ILLUSTRATOR) {
+ tracker_sparql_builder_object_unvalidated (data->metadata, "Illustrator");
} else {
g_assert ("Unknown role");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]