[tracker/epub-metadata-improvements: 5/7] 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/7] tracker-extract-epub: Fixed roles extracted
- Date: Fri, 13 Sep 2013 11:26:45 +0000 (UTC)
commit edd6a01b4c4861fb41500203dcc5bed9f4eff44b
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 b6c65de..053afff 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]