[nntprss-commit] nntprss/src/org/methodize/nntprss/feed/publish MetaWeblogPublisher.java, 1.6, 1.7
Status: Beta
Brought to you by:
jasonbrome
|
From: Jason B. <jas...@us...> - 2007-12-17 04:14:02
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/feed/publish In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv369/src/org/methodize/nntprss/feed/publish Modified Files: MetaWeblogPublisher.java BloggerPublisher.java Publisher.java PublishManager.java PublisherException.java MovableTypePublisher.java LiveJournalPublisher.java Log Message: Minor updates Index: LiveJournalPublisher.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/feed/publish/LiveJournalPublisher.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** LiveJournalPublisher.java 17 May 2006 04:13:38 -0000 1.6 --- LiveJournalPublisher.java 17 Dec 2007 04:14:04 -0000 1.7 *************** *** 3,7 **** /* ----------------------------------------------------------- * nntp//rss - a bridge between the RSS world and NNTP clients ! * Copyright (c) 2002-2006 Jason Brome. All Rights Reserved. * * email: nn...@me... --- 3,7 ---- /* ----------------------------------------------------------- * nntp//rss - a bridge between the RSS world and NNTP clients ! * Copyright (c) 2002-2007 Jason Brome. All Rights Reserved. * * email: nn...@me... *************** *** 116,120 **** params.add(struct); ! Map response = (Map) xmlrpc.execute(METHOD_POSTEVENT, params); // Discard response --- 116,120 ---- params.add(struct); ! /* Map response = (Map) */ xmlrpc.execute(METHOD_POSTEVENT, params); // Discard response *************** *** 153,157 **** params.add(struct); ! Map userInfo = (Map) xmlrpc.execute(METHOD_LOGIN, params); //TODO: think about message returned in userInfo --- 153,157 ---- params.add(struct); ! /* Map userInfo = (Map) */ xmlrpc.execute(METHOD_LOGIN, params); //TODO: think about message returned in userInfo Index: PublisherException.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/feed/publish/PublisherException.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** PublisherException.java 17 May 2006 04:13:38 -0000 1.6 --- PublisherException.java 17 Dec 2007 04:14:04 -0000 1.7 *************** *** 3,7 **** /* ----------------------------------------------------------- * nntp//rss - a bridge between the RSS world and NNTP clients ! * Copyright (c) 2002-2006 Jason Brome. All Rights Reserved. * * email: nn...@me... --- 3,7 ---- /* ----------------------------------------------------------- * nntp//rss - a bridge between the RSS world and NNTP clients ! * Copyright (c) 2002-2007 Jason Brome. All Rights Reserved. * * email: nn...@me... *************** *** 38,42 **** public class PublisherException extends Exception { ! public PublisherException(Throwable cause) { super(cause); } --- 38,44 ---- public class PublisherException extends Exception { ! private static final long serialVersionUID = -5838081523381952542L; ! ! public PublisherException(Throwable cause) { super(cause); } Index: BloggerPublisher.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/feed/publish/BloggerPublisher.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** BloggerPublisher.java 17 May 2006 04:13:38 -0000 1.6 --- BloggerPublisher.java 17 Dec 2007 04:14:04 -0000 1.7 *************** *** 3,7 **** /* ----------------------------------------------------------- * nntp//rss - a bridge between the RSS world and NNTP clients ! * Copyright (c) 2002-2006 Jason Brome. All Rights Reserved. * * email: nn...@me... --- 3,7 ---- /* ----------------------------------------------------------- * nntp//rss - a bridge between the RSS world and NNTP clients ! * Copyright (c) 2002-2007 Jason Brome. All Rights Reserved. * * email: nn...@me... *************** *** 84,88 **** Boolean.valueOf((String) profile.get(PROP_PUBLISH))); ! String postId = (String) xmlrpc.execute(METHOD_NEWPOST, params); } catch (Exception e) { --- 84,88 ---- Boolean.valueOf((String) profile.get(PROP_PUBLISH))); ! /* String postId = (String) */ xmlrpc.execute(METHOD_NEWPOST, params); } catch (Exception e) { *************** *** 110,114 **** params.addElement(profile.get(PROP_PASSWORD)); ! Map userInfo = (Map) xmlrpc.execute(METHOD_GETUSERINFO, params); } catch (Exception e) { --- 110,114 ---- params.addElement(profile.get(PROP_PASSWORD)); ! /* Map userInfo = (Map) */ xmlrpc.execute(METHOD_GETUSERINFO, params); } catch (Exception e) { Index: MetaWeblogPublisher.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/feed/publish/MetaWeblogPublisher.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** MetaWeblogPublisher.java 17 May 2006 04:13:38 -0000 1.6 --- MetaWeblogPublisher.java 17 Dec 2007 04:14:04 -0000 1.7 *************** *** 3,7 **** /* ----------------------------------------------------------- * nntp//rss - a bridge between the RSS world and NNTP clients ! * Copyright (c) 2002-2006 Jason Brome. All Rights Reserved. * * email: nn...@me... --- 3,7 ---- /* ----------------------------------------------------------- * nntp//rss - a bridge between the RSS world and NNTP clients ! * Copyright (c) 2002-2007 Jason Brome. All Rights Reserved. * * email: nn...@me... *************** *** 34,42 **** import java.io.BufferedReader; import java.io.InputStreamReader; ! import java.util.HashMap; ! import java.util.Hashtable; ! import java.util.List; ! import java.util.Map; ! import java.util.Vector; import org.apache.xmlrpc.XmlRpcClient; --- 34,38 ---- import java.io.BufferedReader; import java.io.InputStreamReader; ! import java.util.*; import org.apache.xmlrpc.XmlRpcClient; *************** *** 52,60 **** private static final String METHOD_NEWPOST = "metaWeblog.newPost"; - private static final String BLOGGER_APP_KEY = - "0B18094ACF9546D113015FD8376930FA62A827"; - - private static final String METHOD_GETUSERINFO = "blogger.getUserInfo"; - private static final String METHOD_GETCATEGORIES = "metaWeblog.getCategories"; --- 48,51 ---- *************** *** 107,111 **** Boolean.valueOf((String) profile.get(PROP_PUBLISH))); ! String postId = (String) xmlrpc.execute(METHOD_NEWPOST, params); } catch (Exception e) { --- 98,102 ---- Boolean.valueOf((String) profile.get(PROP_PUBLISH))); ! /* String postId = (String) */ xmlrpc.execute(METHOD_NEWPOST, params); } catch (Exception e) { *************** *** 136,141 **** params.addElement(profile.get(PROP_PASSWORD)); ! List categories = ! (List) xmlrpc.execute(METHOD_GETCATEGORIES, params); } catch (Exception e) { --- 127,132 ---- params.addElement(profile.get(PROP_PASSWORD)); ! /* List categories = ! (List) */ xmlrpc.execute(METHOD_GETCATEGORIES, params); } catch (Exception e) { Index: Publisher.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/feed/publish/Publisher.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Publisher.java 17 May 2006 04:13:38 -0000 1.6 --- Publisher.java 17 Dec 2007 04:14:04 -0000 1.7 *************** *** 3,7 **** /* ----------------------------------------------------------- * nntp//rss - a bridge between the RSS world and NNTP clients ! * Copyright (c) 2002-2006 Jason Brome. All Rights Reserved. * * email: nn...@me... --- 3,7 ---- /* ----------------------------------------------------------- * nntp//rss - a bridge between the RSS world and NNTP clients ! * Copyright (c) 2002-2007 Jason Brome. All Rights Reserved. * * email: nn...@me... Index: MovableTypePublisher.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/feed/publish/MovableTypePublisher.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** MovableTypePublisher.java 17 May 2006 04:13:38 -0000 1.6 --- MovableTypePublisher.java 17 Dec 2007 04:14:04 -0000 1.7 *************** *** 3,11 **** import java.io.BufferedReader; import java.io.InputStreamReader; ! import java.util.HashMap; ! import java.util.Hashtable; ! import java.util.List; ! import java.util.Map; ! import java.util.Vector; import org.apache.xmlrpc.XmlRpcClient; --- 3,7 ---- import java.io.BufferedReader; import java.io.InputStreamReader; ! import java.util.*; import org.apache.xmlrpc.XmlRpcClient; *************** *** 14,18 **** /* ----------------------------------------------------------- * nntp//rss - a bridge between the RSS world and NNTP clients ! * Copyright (c) 2002-2006 Jason Brome. All Rights Reserved. * * email: nn...@me... --- 10,14 ---- /* ----------------------------------------------------------- * nntp//rss - a bridge between the RSS world and NNTP clients ! * Copyright (c) 2002-2007 Jason Brome. All Rights Reserved. * * email: nn...@me... *************** *** 52,58 **** private static final String METHOD_NEWPOST = "metaWeblog.newPost"; - private static final String BLOGGER_APP_KEY = - "0B18094ACF9546D113015FD8376930FA62A827"; - private static final String METHOD_GETCATEGORYLIST = "mt.getCategoryList"; --- 48,51 ---- *************** *** 104,108 **** Boolean.valueOf((String) profile.get(PROP_PUBLISH))); ! String postId = (String) xmlrpc.execute(METHOD_NEWPOST, params); } catch (Exception e) { --- 97,101 ---- Boolean.valueOf((String) profile.get(PROP_PUBLISH))); ! /* String postId = (String) */ xmlrpc.execute(METHOD_NEWPOST, params); } catch (Exception e) { *************** *** 133,138 **** params.addElement(profile.get(PROP_PASSWORD)); ! List categories = ! (List) xmlrpc.execute(METHOD_GETCATEGORYLIST, params); } catch (Exception e) { --- 126,131 ---- params.addElement(profile.get(PROP_PASSWORD)); ! /* List categories = ! (List) */ xmlrpc.execute(METHOD_GETCATEGORYLIST, params); } catch (Exception e) { Index: PublishManager.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/feed/publish/PublishManager.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** PublishManager.java 17 May 2006 04:13:38 -0000 1.6 --- PublishManager.java 17 Dec 2007 04:14:04 -0000 1.7 *************** *** 3,7 **** /* ----------------------------------------------------------- * nntp//rss - a bridge between the RSS world and NNTP clients ! * Copyright (c) 2002-2006 Jason Brome. All Rights Reserved. * * email: nn...@me... --- 3,7 ---- /* ----------------------------------------------------------- * nntp//rss - a bridge between the RSS world and NNTP clients ! * Copyright (c) 2002-2007 Jason Brome. All Rights Reserved. * * email: nn...@me... |