From 999cdcb5bd467acc94ef87060d38c7894c2ef3d6 Mon Sep 17 00:00:00 2001 From: Brian Remmington Date: Fri, 26 Aug 2011 14:55:36 +0000 Subject: [PATCH] Publishing: final config adjustments for each of the publishing channel types git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30100 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../alfresco/facebook-publishing-context.xml | 37 +++++++++---------- config/alfresco/flickr-publishing-context.xml | 4 +- .../alfresco/linkedin-publishing-context.xml | 31 ++++++++-------- .../alfresco/twitter-publishing-context.xml | 4 +- .../facebook/FacebookChannelType.java | 2 +- .../youtube/YouTubePublishingHelper.java | 4 +- 6 files changed, 40 insertions(+), 42 deletions(-) diff --git a/config/alfresco/facebook-publishing-context.xml b/config/alfresco/facebook-publishing-context.xml index 3e45992057..207fb6ce02 100644 --- a/config/alfresco/facebook-publishing-context.xml +++ b/config/alfresco/facebook-publishing-context.xml @@ -2,26 +2,25 @@ - - - - alfresco/model/facebookPublishingModel.xml - - - + + + + alfresco/model/facebookPublishingModel.xml + + + - - - + + + - - - - - - - - - + + + + + + + + diff --git a/config/alfresco/flickr-publishing-context.xml b/config/alfresco/flickr-publishing-context.xml index a88f409e9e..91c8a5e9e0 100644 --- a/config/alfresco/flickr-publishing-context.xml +++ b/config/alfresco/flickr-publishing-context.xml @@ -22,8 +22,8 @@ - - + + diff --git a/config/alfresco/linkedin-publishing-context.xml b/config/alfresco/linkedin-publishing-context.xml index c007df534d..059d9c10c4 100644 --- a/config/alfresco/linkedin-publishing-context.xml +++ b/config/alfresco/linkedin-publishing-context.xml @@ -2,22 +2,21 @@ - - - - alfresco/model/linkedInPublishingModel.xml - - - + + + + alfresco/model/linkedInPublishingModel.xml + + + - - - - - - - - - + + + + + + + + diff --git a/config/alfresco/twitter-publishing-context.xml b/config/alfresco/twitter-publishing-context.xml index acb153ed4f..4e5301bc56 100644 --- a/config/alfresco/twitter-publishing-context.xml +++ b/config/alfresco/twitter-publishing-context.xml @@ -14,8 +14,8 @@ - - + + diff --git a/source/java/org/alfresco/repo/publishing/facebook/FacebookChannelType.java b/source/java/org/alfresco/repo/publishing/facebook/FacebookChannelType.java index bac6f3d453..67e43e4e69 100644 --- a/source/java/org/alfresco/repo/publishing/facebook/FacebookChannelType.java +++ b/source/java/org/alfresco/repo/publishing/facebook/FacebookChannelType.java @@ -40,7 +40,7 @@ import org.springframework.social.oauth2.OAuth2Parameters; public class FacebookChannelType extends AbstractChannelType { public final static String ID = "facebook"; - public final static String DEFAULT_REDIRECT_URI = "http://cognite.net/alfresco/stand-alone-auth-return.html"; + public final static String DEFAULT_REDIRECT_URI = "http://alfresco.com/stand-alone-auth-return.html"; private FacebookPublishingHelper publishingHelper; private String redirectUri = DEFAULT_REDIRECT_URI; diff --git a/source/java/org/alfresco/repo/publishing/youtube/YouTubePublishingHelper.java b/source/java/org/alfresco/repo/publishing/youtube/YouTubePublishingHelper.java index 3b4fb5a506..3645582035 100644 --- a/source/java/org/alfresco/repo/publishing/youtube/YouTubePublishingHelper.java +++ b/source/java/org/alfresco/repo/publishing/youtube/YouTubePublishingHelper.java @@ -47,8 +47,8 @@ public class YouTubePublishingHelper { String youtubeUsername = (String) nodeService.getProperty(parent, PublishingModel.PROP_CHANNEL_USERNAME); String youtubePassword = (String) nodeService.getProperty(parent, PublishingModel.PROP_CHANNEL_PASSWORD); - service = new YouTubeService("Alfresco Kickoff Demo", - "AI39si71pRNHkfExcTpqcZewDtI4GHWuPAXyRPL2Xq-RQUBWlE1bqn77ANXEL5lZUWFDz6ZlS_XWCw8hlr2BJY1TnC-EMs4e4g"); + service = new YouTubeService("Alfresco", + "AI39si78RHlniONCtnu9o8eBfwZToBAp2ZbbURm5eoJjj4gZi0LcxjDqJTzD35oYokmtFXbCo5ojofbimGnMlRbmNrh7-M7ZCw"); try { service.setUserCredentials(youtubeUsername, youtubePassword);