[tracker] tracker-extract: Use urn:contact not urn:artist for nco:Contact URNs



commit 5f4e8954a94f3caf3d4d0af6ee6f8d1f7ec3fee3
Author: Martyn Russell <martyn lanedo com>
Date:   Wed Mar 31 20:18:08 2010 +0100

    tracker-extract: Use urn:contact not urn:artist for nco:Contact URNs

 src/tracker-extract/tracker-extract-jpeg.c |    6 +++---
 src/tracker-extract/tracker-extract-png.c  |    6 +++---
 src/tracker-extract/tracker-extract-tiff.c |    8 ++++----
 3 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-jpeg.c b/src/tracker-extract/tracker-extract-jpeg.c
index dc539ba..584530a 100644
--- a/src/tracker-extract/tracker-extract-jpeg.c
+++ b/src/tracker-extract/tracker-extract-jpeg.c
@@ -318,7 +318,7 @@ extract_jpeg (const gchar          *uri,
 	g_free (ed.y_dimension);
 
 	if (id.contact) {
-		gchar *uri = tracker_uri_printf_escaped ("urn:artist:%s", id.contact);
+		gchar *uri = tracker_uri_printf_escaped ("urn:contact:%s", id.contact);
 
 		tracker_sparql_builder_insert_open (preupdate, NULL);
 		tracker_sparql_builder_subject_iri (preupdate, uri);
@@ -350,7 +350,7 @@ extract_jpeg (const gchar          *uri,
 	}
 
 	if (xd.publisher) {
-		gchar *uri = tracker_uri_printf_escaped ("urn:artist:%s", xd.publisher);
+		gchar *uri = tracker_uri_printf_escaped ("urn:contact:%s", xd.publisher);
 
 		tracker_sparql_builder_insert_open (preupdate, NULL);
 		tracker_sparql_builder_subject_iri (preupdate, uri);
@@ -480,7 +480,7 @@ extract_jpeg (const gchar          *uri,
 	}
 
 	if (md.artist) {
-		gchar *uri = tracker_uri_printf_escaped ("urn:artist:%s", md.artist);
+		gchar *uri = tracker_uri_printf_escaped ("urn:contact:%s", md.artist);
 
 		tracker_sparql_builder_insert_open (preupdate, NULL);
 		tracker_sparql_builder_subject_iri (preupdate, uri);
diff --git a/src/tracker-extract/tracker-extract-png.c b/src/tracker-extract/tracker-extract-png.c
index 32b6045..914c5a4 100644
--- a/src/tracker-extract/tracker-extract-png.c
+++ b/src/tracker-extract/tracker-extract-png.c
@@ -281,7 +281,7 @@ read_metadata (TrackerSparqlBuilder *preupdate,
 	g_free (ed.image_width);
 
 	if (md.creator) {
-		gchar *uri = tracker_uri_printf_escaped ("urn:artist:%s", md.creator);
+		gchar *uri = tracker_uri_printf_escaped ("urn:contact:%s", md.creator);
 
 		tracker_sparql_builder_insert_open (preupdate, NULL);
 		tracker_sparql_builder_subject_iri (preupdate, uri);
@@ -328,7 +328,7 @@ read_metadata (TrackerSparqlBuilder *preupdate,
 	}
 
 	if (md.artist) {
-		gchar *uri = tracker_uri_printf_escaped ("urn:artist:%s", md.artist);
+		gchar *uri = tracker_uri_printf_escaped ("urn:contact:%s", md.artist);
 
 		tracker_sparql_builder_insert_open (preupdate, NULL);
 		tracker_sparql_builder_subject_iri (preupdate, uri);
@@ -415,7 +415,7 @@ read_metadata (TrackerSparqlBuilder *preupdate,
 	}
 
 	if (xd.publisher) {
-		gchar *uri = tracker_uri_printf_escaped ("urn:artist:%s", xd.publisher);
+		gchar *uri = tracker_uri_printf_escaped ("urn:contact:%s", xd.publisher);
 
 		tracker_sparql_builder_insert_open (preupdate, NULL);
 		tracker_sparql_builder_subject_iri (preupdate, uri);
diff --git a/src/tracker-extract/tracker-extract-tiff.c b/src/tracker-extract/tracker-extract-tiff.c
index 1a52eca..fbd8b76 100644
--- a/src/tracker-extract/tracker-extract-tiff.c
+++ b/src/tracker-extract/tracker-extract-tiff.c
@@ -435,7 +435,7 @@ extract_tiff (const gchar          *uri,
 	}
 
 	if (xd.publisher) {
-		gchar *uri = tracker_uri_printf_escaped ("urn:artist:%s", xd.publisher);
+		gchar *uri = tracker_uri_printf_escaped ("urn:contact:%s", xd.publisher);
 
 		tracker_sparql_builder_insert_open (preupdate, NULL);
 		tracker_sparql_builder_subject_iri (preupdate, uri);
@@ -540,7 +540,7 @@ extract_tiff (const gchar          *uri,
 	}
 
 	if (id.contact) {
-		gchar *uri = tracker_uri_printf_escaped ("urn:artist:%s", id.contact);
+		gchar *uri = tracker_uri_printf_escaped ("urn:contact:%s", id.contact);
 
 		tracker_sparql_builder_insert_open (preupdate, NULL);
 		tracker_sparql_builder_subject_iri (preupdate, uri);
@@ -610,7 +610,7 @@ extract_tiff (const gchar          *uri,
 	}
 
 	if (md.artist) {
-		gchar *uri = tracker_uri_printf_escaped ("urn:artist:%s", md.artist);
+		gchar *uri = tracker_uri_printf_escaped ("urn:contact:%s", md.artist);
 
 		tracker_sparql_builder_insert_open (preupdate, NULL);
 		tracker_sparql_builder_subject_iri (preupdate, uri);
@@ -657,7 +657,7 @@ extract_tiff (const gchar          *uri,
 	}
 
 	if (md.creator) {
-		gchar *uri = tracker_uri_printf_escaped ("urn:artist:%s", md.creator);
+		gchar *uri = tracker_uri_printf_escaped ("urn:contact:%s", md.creator);
 
 		tracker_sparql_builder_insert_open (preupdate, NULL);
 		tracker_sparql_builder_subject_iri (preupdate, uri);



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