[tracker] NFO: Remove deprecated nfo:entryContent
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] NFO: Remove deprecated nfo:entryContent
- Date: Wed, 26 Jan 2011 15:18:55 +0000 (UTC)
commit 75eff20b54cf499740335d791da565f6300d6335
Author: Jürg Billeter <j bitron ch>
Date: Wed Jan 26 15:27:52 2011 +0100
NFO: Remove deprecated nfo:entryContent
The property was deprecated 5 months ago.
data/ontologies/33-nfo.ontology | 11 -----------
src/tracker-writeback/tracker-writeback-playlist.c | 2 +-
utils/playlists/playlist2ttl.c | 2 +-
utils/services/file-class.cache.test | 1 -
4 files changed, 2 insertions(+), 14 deletions(-)
---
diff --git a/data/ontologies/33-nfo.ontology b/data/ontologies/33-nfo.ontology
index 0a30af0..cdb53ac 100644
--- a/data/ontologies/33-nfo.ontology
+++ b/data/ontologies/33-nfo.ontology
@@ -478,17 +478,6 @@ nfo:listPosition a rdf:Property ;
# Propose in nepomuk
-# This property is very impractical
-nfo:entryContent a rdf:Property ;
- rdfs:label "Entry content" ;
- rdfs:comment "URL to the element in certain position of the list" ;
- nrl:maxCardinality 1 ;
- rdfs:domain nfo:MediaFileListEntry ;
- rdfs:range nie:InformationElement ;
- nao:deprecated true ;
- tracker:writeback true .
-
-# This one makes more sense
nfo:entryUrl a rdf:Property ;
rdfs:label "Entry URL" ;
rdfs:comment "URL to the element in certain position of the list" ;
diff --git a/src/tracker-writeback/tracker-writeback-playlist.c b/src/tracker-writeback/tracker-writeback-playlist.c
index adca1f4..1520561 100644
--- a/src/tracker-writeback/tracker-writeback-playlist.c
+++ b/src/tracker-writeback/tracker-writeback-playlist.c
@@ -155,7 +155,7 @@ rewrite_playlist (TrackerSparqlConnection *connection,
path = g_file_get_path (file);
query = g_strdup_printf ("SELECT ?entry { ?unknown a nfo:MediaFileListEntry ; "
"nie:url '%s' ; "
- "nfo:entryContent ?entry"
+ "nfo:entryUrl ?entry"
"}", subject);
cursor = tracker_sparql_connection_query (connection, query, NULL, &error);
g_free (query);
diff --git a/utils/playlists/playlist2ttl.c b/utils/playlists/playlist2ttl.c
index 6af35c8..01d91a1 100644
--- a/utils/playlists/playlist2ttl.c
+++ b/utils/playlists/playlist2ttl.c
@@ -68,7 +68,7 @@ entry_parsed (TotemPlParser *parser,
playlist_data->playlist);
g_print ("\t a nfo:MediaFileListEntry ; \n");
g_print ("\t nfo:listPosition %d ; \n", playlist_data->tracks);
- g_print ("\t nfo:entryContent <%s> ] .\n\n", uri);
+ g_print ("\t nfo:entryUrl \"%s\" ] .\n\n", uri);
}
int
diff --git a/utils/services/file-class.cache.test b/utils/services/file-class.cache.test
index 6dce42d..17729e0 100644
--- a/utils/services/file-class.cache.test
+++ b/utils/services/file-class.cache.test
@@ -424,7 +424,6 @@ nfo nfo:hasMediaFileListEntry
nfo nfo:entryCounter
nfo nfo:listDuration
nfo nfo:listPosition
-nfo nfo:entryContent
nfo nfo:height
nfo nfo:hashAlgorithm
nfo nfo:fileName
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]