You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by wi...@apache.org on 2014/05/19 15:54:51 UTC

git commit: MARMOTTA-502: source provider (youtube) has changed the name of the favorites playlist

Repository: marmotta
Updated Branches:
  refs/heads/develop 8b6ebc1ac -> ab80f7400


MARMOTTA-502: source provider (youtube) has changed the name of the favorites playlist


Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/ab80f740
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/ab80f740
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/ab80f740

Branch: refs/heads/develop
Commit: ab80f7400a7198c43758e05ee2a84fc668a2ca7e
Parents: 8b6ebc1
Author: Sergio Fernández <wi...@apache.org>
Authored: Mon May 19 15:51:24 2014 +0200
Committer: Sergio Fernández <wi...@apache.org>
Committed: Mon May 19 15:51:24 2014 +0200

----------------------------------------------------------------------
 .../ldclient/provider/youtube/YoutubePlaylistProvider.java       | 3 ---
 .../marmotta/ldclient/test/youtube/youtube-playlist.sparql       | 4 ++--
 2 files changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/marmotta/blob/ab80f740/libraries/ldclient/ldclient-provider-youtube/src/main/java/org/apache/marmotta/ldclient/provider/youtube/YoutubePlaylistProvider.java
----------------------------------------------------------------------
diff --git a/libraries/ldclient/ldclient-provider-youtube/src/main/java/org/apache/marmotta/ldclient/provider/youtube/YoutubePlaylistProvider.java b/libraries/ldclient/ldclient-provider-youtube/src/main/java/org/apache/marmotta/ldclient/provider/youtube/YoutubePlaylistProvider.java
index 04b3762..7b8384d 100644
--- a/libraries/ldclient/ldclient-provider-youtube/src/main/java/org/apache/marmotta/ldclient/provider/youtube/YoutubePlaylistProvider.java
+++ b/libraries/ldclient/ldclient-provider-youtube/src/main/java/org/apache/marmotta/ldclient/provider/youtube/YoutubePlaylistProvider.java
@@ -57,7 +57,6 @@ public class YoutubePlaylistProvider extends AbstractXMLDataProvider implements
         youtubeNamespaces.put("gml","http://www.opengis.net/gml");
     }
 
-
     private static Map<String,XPathValueMapper> mediaOntMappings = new HashMap<String, XPathValueMapper>();
     static {
         mediaOntMappings.put("http://www.w3.org/ns/ma-ont#collectionName",new XPathLiteralMapper("/atom:feed/atom:title", youtubeNamespaces));
@@ -66,8 +65,6 @@ public class YoutubePlaylistProvider extends AbstractXMLDataProvider implements
         mediaOntMappings.put("http://www.w3.org/ns/ma-ont#hasPublisher",  new XPathURIMapper("/atom:feed/atom:author/@uri", youtubeNamespaces));               // URI
     }
 
-
-
     private static Logger log = LoggerFactory.getLogger(YoutubePlaylistProvider.class);
 
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/ab80f740/libraries/ldclient/ldclient-provider-youtube/src/test/resources/org/apache/marmotta/ldclient/test/youtube/youtube-playlist.sparql
----------------------------------------------------------------------
diff --git a/libraries/ldclient/ldclient-provider-youtube/src/test/resources/org/apache/marmotta/ldclient/test/youtube/youtube-playlist.sparql b/libraries/ldclient/ldclient-provider-youtube/src/test/resources/org/apache/marmotta/ldclient/test/youtube/youtube-playlist.sparql
index 5c20b17..e9ca801 100644
--- a/libraries/ldclient/ldclient-provider-youtube/src/test/resources/org/apache/marmotta/ldclient/test/youtube/youtube-playlist.sparql
+++ b/libraries/ldclient/ldclient-provider-youtube/src/test/resources/org/apache/marmotta/ldclient/test/youtube/youtube-playlist.sparql
@@ -19,7 +19,7 @@ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
 PREFIX ma: <http://www.w3.org/ns/ma-ont#>
 ASK {
-    <http://www.youtube.com/playlist?list=FLsrORDOimfQf42SDGJgRY4g> ma:collectionName "Favorite videos" .
+    <http://www.youtube.com/playlist?list=FLsrORDOimfQf42SDGJgRY4g> ma:collectionName "Favorites" .
     <http://www.youtube.com/playlist?list=FLsrORDOimfQf42SDGJgRY4g> ma:hasMember <http://gdata.youtube.com/feeds/api/videos/fUEdwKX-Dw4> .
-    <http://www.youtube.com/playlist?list=FLsrORDOimfQf42SDGJgRY4g> rdf:type ma:Collection
+    <http://www.youtube.com/playlist?list=FLsrORDOimfQf42SDGJgRY4g> rdf:type ma:Collection .
 }