nntprss-commit Mailing List for nntp//rss
Status: Beta
Brought to you by:
jasonbrome
You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(8) |
Oct
(25) |
Nov
|
Dec
(8) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
|
Feb
(19) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(7) |
Aug
(12) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(17) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(53) |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:19:20
|
Update of /cvsroot/nntprss/nntprss In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2889 Modified Files: CHANGELOG Log Message: Minor updates Index: CHANGELOG =================================================================== RCS file: /cvsroot/nntprss/nntprss/CHANGELOG,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** CHANGELOG 30 Jul 2005 01:55:07 -0000 1.3 --- CHANGELOG 17 Dec 2007 04:19:24 -0000 1.4 *************** *** 1,4 **** ! TBD - nntp//rss v0.5-beta-2 + Introduced Item Processors - this allows custom modules to be plugged into the polling engine. ItemProcessor classes are called when new --- 1,7 ---- ! TBD - nntp//rss v0.5-beta-3 + + Support feed redirection with relative URLs + + Fixed Atom URI resolution for Feed + Entry links - now support + resolution of relative URIs + Introduced Item Processors - this allows custom modules to be plugged into the polling engine. ItemProcessor classes are called when new *************** *** 21,25 **** + Added HSQLDB -> Derby and HSQLDB -> MySQL migration - + Experimental JDBM implementation + Support deviations from dc:date spec, including yyyy-MM-dd + Catch InternalError thrown by Crimson parser when parsing certain --- 24,27 ---- *************** *** 28,32 **** + Derby now default persistence engine in nntp//rss - hsqldb is no longer supported. - + Experimental JDBM DAO implementation + Categories implemented + Added granular article expiration --- 30,33 ---- |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:19:10
|
Update of /cvsroot/nntprss/nntprss In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2876 Modified Files: .classpath Log Message: Removed jdbm Index: .classpath =================================================================== RCS file: /cvsroot/nntprss/nntprss/.classpath,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** .classpath 16 Dec 2007 21:48:10 -0000 1.4 --- .classpath 17 Dec 2007 04:19:10 -0000 1.5 *************** *** 17,22 **** <classpathentry kind="lib" path="ext/lib/commons-logging.jar"/> <classpathentry kind="lib" path="ext/lib/mysql.jar"/> - <classpathentry kind="lib" path="ext/lib/jdbm-0.20.jar" sourcepath="C:/projects/jdbm/src/main"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="output" path="bin"/> </classpath> --- 17,22 ---- <classpathentry kind="lib" path="ext/lib/commons-logging.jar"/> <classpathentry kind="lib" path="ext/lib/mysql.jar"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="lib" path="ext/lib/derby.jar"/> <classpathentry kind="output" path="bin"/> </classpath> |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:18:47
|
Update of /cvsroot/nntprss/nntprss In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2453 Modified Files: build.properties Log Message: Minor updates Index: build.properties =================================================================== RCS file: /cvsroot/nntprss/nntprss/build.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** build.properties 26 Oct 2004 01:15:21 -0000 1.1 --- build.properties 17 Dec 2007 04:18:50 -0000 1.2 *************** *** 1 **** ! version=0.5-beta-1 \ No newline at end of file --- 1 ---- ! version=0.5-beta-3 \ No newline at end of file |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:18:36
|
Update of /cvsroot/nntprss/nntprss/ext/lib In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2433/ext/lib Removed Files: jdbm-0.20.jar Log Message: Removed jdbm --- jdbm-0.20.jar DELETED --- |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:18:26
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2412/src/org/methodize/nntprss/util Modified Files: XMLHelper.java Log Message: Minor updates Index: XMLHelper.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util/XMLHelper.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** XMLHelper.java 17 May 2006 04:13:38 -0000 1.14 --- XMLHelper.java 17 Dec 2007 04:18:28 -0000 1.15 *************** *** 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... *************** *** 50,53 **** --- 50,55 ---- public class XMLHelper { + public static final String XML_NS_URI = "http://www.w3.org/XML/1998/namespace"; + public static String getChildElementValue( Element parentElm, |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:18:11
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2395/src/org/methodize/nntprss/util Modified Files: WorkerThread.java Log Message: Minor updates Index: WorkerThread.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util/WorkerThread.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** WorkerThread.java 17 May 2006 04:13:38 -0000 1.7 --- WorkerThread.java 17 Dec 2007 04:18:14 -0000 1.8 *************** *** 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... *************** *** 39,43 **** private boolean active = true; private Runnable job = null; ! private SimpleThreadPool threadPool = null; public WorkerThread( --- 39,43 ---- private boolean active = true; private Runnable job = null; ! private final SimpleThreadPool threadPool; public WorkerThread( |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:18:00
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2110/src/org/methodize/nntprss/util Modified Files: SimpleThreadPool.java Log Message: Minor updates Index: SimpleThreadPool.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util/SimpleThreadPool.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** SimpleThreadPool.java 17 May 2006 04:13:38 -0000 1.8 --- SimpleThreadPool.java 17 Dec 2007 04:18:03 -0000 1.9 *************** *** 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... *************** *** 40,49 **** //TODO: implement clean shutdown ! ! private Stack threadStack = new Stack(); ! private ThreadGroup threadGroup = null; ! private String threadName; ! //private int threadCount = 0; ! private int maxThreads; public SimpleThreadPool(String name, String threadName, int maxThreads) { --- 40,47 ---- //TODO: implement clean shutdown ! private final Stack threadStack = new Stack(); ! private final ThreadGroup threadGroup; ! private final String threadName; ! private final int maxThreads; public SimpleThreadPool(String name, String threadName, int maxThreads) { |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:17:45
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1981/src/org/methodize/nntprss/util Modified Files: RSSHelper.java Log Message: Copyright date Index: RSSHelper.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util/RSSHelper.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** RSSHelper.java 17 May 2006 04:13:38 -0000 1.8 --- RSSHelper.java 17 Dec 2007 04:17:49 -0000 1.9 *************** *** 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... |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:17:31
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1970/src/org/methodize/nntprss/util Modified Files: HttpUserException.java Log Message: Minor updates Index: HttpUserException.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util/HttpUserException.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** HttpUserException.java 17 May 2006 04:13:38 -0000 1.6 --- HttpUserException.java 17 Dec 2007 04:17:34 -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,48 **** public class HttpUserException extends Exception { ! private int status; ! public HttpUserException(int status) { ! this.status = status; ! } ! public int getStatus() { ! return status; ! } } --- 38,51 ---- public class HttpUserException extends Exception { ! private static final long serialVersionUID = -8653391878322255929L; ! private final int status; ! ! public HttpUserException(int status) { ! this.status = status; ! } ! ! public int getStatus() { ! return status; ! } } |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:17:16
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1946/src/org/methodize/nntprss/util Modified Files: HTMLHelper.java Log Message: Minor updates Index: HTMLHelper.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util/HTMLHelper.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** HTMLHelper.java 17 May 2006 04:13:38 -0000 1.7 --- HTMLHelper.java 17 Dec 2007 04:17:18 -0000 1.8 *************** *** 6,10 **** /* ----------------------------------------------------------- * nntp//rss - a bridge between the RSS world and NNTP clients ! * Copyright (c) 2002-2006 Jason Brome. All Rights Reserved. * * email: nn...@me... --- 6,10 ---- /* ----------------------------------------------------------- * nntp//rss - a bridge between the RSS world and NNTP clients ! * Copyright (c) 2002-2007 Jason Brome. All Rights Reserved. * * email: nn...@me... *************** *** 19,23 **** * http://www.w3.org/TR/html401/sgml/entities.html * ! * Portions © International Organization for Standardization 1986: * Permission to copy in any form is granted for use with * conforming SGML systems and applications as defined in --- 19,23 ---- * http://www.w3.org/TR/html401/sgml/entities.html * ! * Portions � International Organization for Standardization 1986: * Permission to copy in any form is granted for use with * conforming SGML systems and applications as defined in *************** *** 49,53 **** public class HTMLHelper { ! private static Map escapeMap = new HashMap(); static { --- 49,53 ---- public class HTMLHelper { ! private static final Map escapeMap = new HashMap(); static { |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:17:01
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1843/src/org/methodize/nntprss/util Modified Files: FixedThreadPool.java Log Message: Minor updates Index: FixedThreadPool.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util/FixedThreadPool.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** FixedThreadPool.java 17 May 2006 04:13:38 -0000 1.9 --- FixedThreadPool.java 17 Dec 2007 04:17:04 -0000 1.10 *************** *** 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... *************** *** 44,56 **** public class FixedThreadPool { ! private ThreadGroup threadGroup = null; ! private List pool = new ArrayList(); ! private boolean shutdown = false; ! private String threadName; ! private Logger log = Logger.getLogger(FixedThreadPool.class); private class WorkerThread extends Thread { ! private boolean shutdown = false; private Runnable task; --- 44,57 ---- public class FixedThreadPool { ! private static final Logger log = Logger.getLogger(FixedThreadPool.class); ! ! private final ThreadGroup threadGroup; ! private final List pool = new ArrayList(); ! private final String threadName; ! private volatile boolean shutdown = false; private class WorkerThread extends Thread { ! private volatile boolean shutdown = false; private Runnable task; *************** *** 115,133 **** // so lets assign our pool threads to a specific group ! if (name != null) { ! threadGroup = new ThreadGroup(name); ! } else { ! threadGroup = new ThreadGroup("anonymous"); ! } ! ! if (threadName != null) { ! this.threadName = threadName; ! } else { ! this.threadName = "STP-anonymous"; ! } for (int i = 0; i < maxThreads; i++) { WorkerThread worker = ! new WorkerThread(threadGroup, threadName + " #" + i); pool.add(worker); worker.start(); --- 116,125 ---- // so lets assign our pool threads to a specific group ! this.threadGroup = new ThreadGroup(name != null ? name : "anonymous"); ! this.threadName = threadName != null ? threadName : "STP-anonymous"; for (int i = 0; i < maxThreads; i++) { WorkerThread worker = ! new WorkerThread(this.threadGroup, this.threadName + " #" + i); pool.add(worker); worker.start(); |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:16:33
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1548/src/org/methodize/nntprss/util Modified Files: CRLFPrintWriter.java Log Message: Copyright date Index: CRLFPrintWriter.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util/CRLFPrintWriter.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** CRLFPrintWriter.java 17 May 2006 04:13:38 -0000 1.8 --- CRLFPrintWriter.java 17 Dec 2007 04:16:37 -0000 1.9 *************** *** 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... |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:16:22
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1532/src/org/methodize/nntprss/util Modified Files: Base64.java Log Message: Minor updates Index: Base64.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util/Base64.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Base64.java 17 May 2006 04:13:38 -0000 1.7 --- Base64.java 17 Dec 2007 04:16:25 -0000 1.8 *************** *** 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... |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:16:03
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1467/src/org/methodize/nntprss/util Modified Files: AppConstants.java Log Message: Use static initializer, update ve Index: AppConstants.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/util/AppConstants.java,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** AppConstants.java 24 Aug 2005 23:12:10 -0000 1.20 --- AppConstants.java 17 Dec 2007 04:16:05 -0000 1.21 *************** *** 3,7 **** /* ----------------------------------------------------------- * nntp//rss - a bridge between the RSS world and NNTP clients ! * Copyright (c) 2002-2005 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... *************** *** 44,52 **** public final class AppConstants { ! private static DocumentBuilderFactory docBuilderFactory; ! private static String platform; ! private static String userAgent; ! ! public static final AppConstants appConstants = new AppConstants(); public static final String NNTPRSS_CONFIGURATION_FILE = --- 44,50 ---- public final class AppConstants { ! private static final DocumentBuilderFactory docBuilderFactory; ! private static final String platform; ! private static final String userAgent; public static final String NNTPRSS_CONFIGURATION_FILE = *************** *** 58,62 **** public static final String USERS_CONFIG = "users.properties"; ! public static final String VERSION = "0.5-beta-2"; public static final int OPEN_ENDED_RANGE = -1; --- 56,60 ---- public static final String USERS_CONFIG = "users.properties"; ! public static final String VERSION = "0.5-beta-3"; public static final int OPEN_ENDED_RANGE = -1; *************** *** 65,70 **** public static final int CONTENT_TYPE_HTML = 2; public static final int CONTENT_TYPE_MIXED = 3; ! ! private AppConstants() { // Private constructor... initialize platform string StringBuffer pltfmBuf = new StringBuffer(); --- 63,68 ---- public static final int CONTENT_TYPE_HTML = 2; public static final int CONTENT_TYPE_MIXED = 3; ! ! static { // Private constructor... initialize platform string StringBuffer pltfmBuf = new StringBuffer(); *************** *** 98,101 **** --- 96,102 ---- } + private AppConstants() { + } + public static DocumentBuilder newDocumentBuilder() throws ParserConfigurationException { |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:15:35
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/plugin/examples In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1116/src/org/methodize/nntprss/plugin/examples Modified Files: ItemLogPlugin.java Log Message: Minor updates Index: ItemLogPlugin.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/plugin/examples/ItemLogPlugin.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ItemLogPlugin.java 17 May 2006 04:13:38 -0000 1.3 --- ItemLogPlugin.java 17 Dec 2007 04:15:38 -0000 1.4 *************** *** 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... *************** *** 43,47 **** public class ItemLogPlugin implements ItemProcessor { ! private Logger log = Logger.getLogger(ItemLogPlugin.class); public void initialize(Element config) throws PluginException { --- 43,47 ---- public class ItemLogPlugin implements ItemProcessor { ! private static final Logger log = Logger.getLogger(ItemLogPlugin.class); public void initialize(Element config) throws PluginException { |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:15:22
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/plugin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1098/src/org/methodize/nntprss/plugin Modified Files: PluginException.java Log Message: Minor updates Index: PluginException.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/plugin/PluginException.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** PluginException.java 17 May 2006 04:13:38 -0000 1.4 --- PluginException.java 17 Dec 2007 04:15:22 -0000 1.5 *************** *** 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,40 **** --- 38,42 ---- public class PluginException extends Exception { + private static final long serialVersionUID = 1419836804225091609L; + } |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:15:06
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/plugin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1067/src/org/methodize/nntprss/plugin Modified Files: ItemProcessor.java Log Message: Copyright date Index: ItemProcessor.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/plugin/ItemProcessor.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ItemProcessor.java 17 May 2006 04:13:38 -0000 1.4 --- ItemProcessor.java 17 Dec 2007 04:15:06 -0000 1.5 *************** *** 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... |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:14:48
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/nntp In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv684/src/org/methodize/nntprss/nntp Modified Files: NNTPServerListener.java Log Message: Minor updates Index: NNTPServerListener.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/nntp/NNTPServerListener.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** NNTPServerListener.java 17 May 2006 04:13:38 -0000 1.9 --- NNTPServerListener.java 17 Dec 2007 04:14:52 -0000 1.10 *************** *** 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... *************** *** 32,38 **** import java.io.IOException; ! import java.net.InetAddress; ! import java.net.ServerSocket; ! import java.net.Socket; import org.apache.log4j.Logger; --- 32,36 ---- import java.io.IOException; ! import java.net.*; import org.apache.log4j.Logger; *************** *** 44,56 **** public class NNTPServerListener extends Thread { ! private Logger log = Logger.getLogger(NNTPServerListener.class); ! private ServerSocket serverSocket = null; ! private boolean active = true; ! private NNTPServer nntpServer = null; public NNTPServerListener(NNTPServer nntpServer, int port) throws Exception { ! serverSocket = new ServerSocket(port); this.nntpServer = nntpServer; } --- 42,64 ---- public class NNTPServerListener extends Thread { ! private static final Logger log = Logger.getLogger(NNTPServerListener.class); ! private volatile boolean active = true; ! ! private final ServerSocket serverSocket; ! private final NNTPServer nntpServer; public NNTPServerListener(NNTPServer nntpServer, int port) throws Exception { ! try { ! serverSocket = new ServerSocket(port); ! } catch(BindException be) { ! if(port <= 1024) { ! throw new Exception("Bind exception establishing NNTP server socket on port " + port ! + " - if running on Unix, are you running as root?"); ! } else { ! throw be; ! } ! } this.nntpServer = nntpServer; } |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:14:36
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/nntp In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv672/src/org/methodize/nntprss/nntp Modified Files: NNTPServer.java Log Message: Minor updates Index: NNTPServer.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/nntp/NNTPServer.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** NNTPServer.java 16 Dec 2007 21:49:05 -0000 1.12 --- NNTPServer.java 17 Dec 2007 04:14:39 -0000 1.13 *************** *** 31,47 **** * ----------------------------------------------------- */ - import java.io.Externalizable; import java.io.IOException; import java.io.InputStream; ! import java.io.ObjectInput; ! import java.io.ObjectOutput; ! import java.net.InetAddress; ! import java.net.Socket; ! import java.net.SocketException; ! import java.net.UnknownHostException; ! import java.util.Enumeration; ! import java.util.HashMap; ! import java.util.Map; ! import java.util.Properties; import org.apache.log4j.Logger; --- 31,38 ---- * ----------------------------------------------------- */ import java.io.IOException; import java.io.InputStream; ! import java.net.*; ! import java.util.*; import org.apache.log4j.Logger; *************** *** 60,68 **** */ ! public class NNTPServer implements Externalizable { ! public static final int EXTERNAL_VERSION = 1; ! private Logger log = Logger.getLogger(NNTPServer.class); private NNTPServerListener listener = null; --- 51,60 ---- */ ! public class NNTPServer { ! private static final Logger log = Logger.getLogger(NNTPServer.class); ! // 30 minute default timeout on NNTP client connections ! private static final int DEFAULT_CONNECTION_TIMEOUT = 30 * 60 * 1000; private NNTPServerListener listener = null; *************** *** 71,79 **** private InetAddress address = null; ! private static final int MAX_NNTP_CLIENT_THREADS = 5; ! ! // 30 minute default timeout on NNTP client connections ! private static final int DEFAULT_CONNECTION_TIMEOUT = 30 * 60 * 1000; ! private int contentType = AppConstants.CONTENT_TYPE_MIXED; private boolean secure = false; --- 63,67 ---- private InetAddress address = null; ! //private static final int MAX_NNTP_CLIENT_THREADS = 5; private int contentType = AppConstants.CONTENT_TYPE_MIXED; private boolean secure = false; *************** *** 81,87 **** private String hostName = null; ! private ChannelDAO channelDAO; ! private Map users = new HashMap(); public NNTPServer() { --- 69,75 ---- private String hostName = null; ! private final ChannelDAO channelDAO; ! private final Map users = new HashMap(); public NNTPServer() { *************** *** 167,171 **** public void shutdown() { ! listener.shutdown(); } --- 155,161 ---- public void shutdown() { ! if(listener != null) { ! listener.shutdown(); ! } } *************** *** 258,284 **** } - /* (non-Javadoc) - * @see java.io.Externalizable#readExternal(java.io.ObjectInput) - */ - public void readExternal(ObjectInput in) - throws IOException, ClassNotFoundException { - - in.readInt(); - contentType = in.readInt(); - secure = in.readBoolean(); - footnoteUrls = in.readBoolean(); - hostName = in.readUTF(); - } - - /* (non-Javadoc) - * @see java.io.Externalizable#writeExternal(java.io.ObjectOutput) - */ - public void writeExternal(ObjectOutput out) throws IOException { - out.writeInt(EXTERNAL_VERSION); - out.writeInt(contentType); - out.writeBoolean(secure); - out.writeBoolean(footnoteUrls); - out.writeUTF(hostName != null ? hostName : ""); - } - } --- 248,250 ---- |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:14:18
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/nntp In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv647/src/org/methodize/nntprss/nntp Modified Files: ClientHandler.java Log Message: Minor updates Index: ClientHandler.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/nntp/ClientHandler.java,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** ClientHandler.java 17 May 2006 04:13:38 -0000 1.17 --- ClientHandler.java 17 Dec 2007 04:14:21 -0000 1.18 *************** *** 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... *************** *** 87,98 **** public class ClientHandler implements Runnable { ! private static final int RETRIEVE_LIMIT = 1000; ! private Logger log = Logger.getLogger(ClientHandler.class); ! private Socket client = null; ! private ChannelManager channelManager = ChannelManager.getChannelManager(); ! private DateFormat df; ! private DateFormat nntpDateFormat; ! private NNTPServer nntpServer; // Required --- 87,93 ---- public class ClientHandler implements Runnable { ! private static final Logger log = Logger.getLogger(ClientHandler.class); ! private static final int RETRIEVE_LIMIT = 1000; // Required *************** *** 122,125 **** --- 117,126 ---- private static final int NO_CURRENT_ARTICLE = -1; + private final Socket client; + private final ChannelManager channelManager = ChannelManager.getChannelManager(); + private final DateFormat df; + private final DateFormat nntpDateFormat; + private final NNTPServer nntpServer; + public ClientHandler(NNTPServer nntpServer, Socket client) { this.nntpServer = nntpServer; *************** *** 1441,1449 **** PrintWriter pw = new CRLFPrintWriter( ! new OutputStreamWriter(client.getOutputStream())); PrintWriter bodyPw = new CRLFPrintWriter( ! new OutputStreamWriter(client.getOutputStream(), "utf-8")); // Send 201 connection header --- 1442,1450 ---- PrintWriter pw = new CRLFPrintWriter( ! new OutputStreamWriter(os)); PrintWriter bodyPw = new CRLFPrintWriter( ! new OutputStreamWriter(os, "utf-8")); // Send 201 connection header |
|
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... |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:13:42
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/feed/parser In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32703/src/org/methodize/nntprss/feed/parser Modified Files: RSSParser.java Log Message: Minor updates Index: RSSParser.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/feed/parser/RSSParser.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** RSSParser.java 17 May 2006 04:14:33 -0000 1.12 --- RSSParser.java 17 Dec 2007 04:13:45 -0000 1.13 *************** *** 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... *************** *** 92,97 **** }; ! private static RSSParser rssParser = new RSSParser(); ! private Logger log = Logger.getLogger(RSSParser.class); private RSSParser() { --- 92,97 ---- }; ! private static final RSSParser rssParser = new RSSParser(); ! private static final Logger log = Logger.getLogger(RSSParser.class); private RSSParser() { *************** *** 184,193 **** itemCount--) { Element itemElm = (Element) itemList.item(itemCount); - String title; - String link; - String description; - ByteArrayOutputStream bos; - byte[] signatureSource; - byte[] signature; String signatureStr = generateItemSignature(md, itemElm); --- 184,187 ---- *************** *** 245,249 **** if (pubDateStr != null && pubDateStr.length() > 0) { // Parse Date... ! log.info("pubDate == " + pubDateStr); try { pubDate = --- 239,243 ---- if (pubDateStr != null && pubDateStr.length() > 0) { // Parse Date... ! log.debug("pubDate == " + pubDateStr); try { pubDate = |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:13:26
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/feed/parser In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32686/src/org/methodize/nntprss/feed/parser Modified Files: ParserCallback.java Log Message: Minor updates Index: ParserCallback.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/feed/parser/ParserCallback.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ParserCallback.java 17 May 2006 04:13:53 -0000 1.6 --- ParserCallback.java 17 Dec 2007 04:13:30 -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... *************** *** 36,40 **** import javax.swing.text.html.HTML.Tag; - import org.methodize.nntprss.feed.Item; import org.w3c.dom.Document; import org.w3c.dom.Element; --- 36,39 ---- *************** *** 50,54 **** private boolean inItem = false; private String currentText = null; - private Item currentItem = null; private Element currentItemElm = null; --- 49,52 ---- *************** *** 57,63 **** private Document doc = null; - private ParserCallback() { - } - public ParserCallback(Document doc) { this.doc = doc; --- 55,58 ---- |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:13:12
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/feed/parser In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32673/src/org/methodize/nntprss/feed/parser Modified Files: LooseParser.java Log Message: Minor updates Index: LooseParser.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/feed/parser/LooseParser.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** LooseParser.java 17 May 2006 04:13:53 -0000 1.6 --- LooseParser.java 17 Dec 2007 04:13:16 -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... *************** *** 31,43 **** * ----------------------------------------------------- */ ! import java.io.CharArrayReader; ! import java.io.CharArrayWriter; ! import java.io.FileInputStream; ! import java.io.IOException; ! import java.io.InputStream; ! import java.io.InputStreamReader; ! import java.io.Reader; ! import java.util.ArrayList; ! import java.util.List; import javax.swing.text.html.parser.DTD; --- 31,35 ---- * ----------------------------------------------------- */ ! import java.io.*; import javax.swing.text.html.parser.DTD; *************** *** 47,51 **** import javax.xml.parsers.ParserConfigurationException; - import org.methodize.nntprss.feed.Channel; import org.methodize.nntprss.util.AppConstants; import org.methodize.nntprss.util.XMLHelper; --- 39,42 ---- *************** *** 147,152 **** public static void main(String args[]) { try { ! Channel tstChannel = new Channel("test", "http://localhost/"); ! List items = new ArrayList(); InputStream is = new FileInputStream("c:\\test.xml"); --- 138,143 ---- public static void main(String args[]) { try { ! // Channel tstChannel = new Channel("test", "http://localhost/"); ! // List items = new ArrayList(); InputStream is = new FileInputStream("c:\\test.xml"); |
|
From: Jason B. <jas...@us...> - 2007-12-17 04:12:56
|
Update of /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/feed/parser In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32294/src/org/methodize/nntprss/feed/parser Modified Files: GenericParser.java Log Message: Minor updates Index: GenericParser.java =================================================================== RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/feed/parser/GenericParser.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** GenericParser.java 17 May 2006 04:13:53 -0000 1.8 --- GenericParser.java 17 Dec 2007 04:12:59 -0000 1.9 *************** *** 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... *************** *** 47,51 **** public abstract class GenericParser { ! protected ItemProcessor[] itemProcessors; public abstract boolean isParsable(Element docRootElement); --- 47,51 ---- public abstract class GenericParser { ! protected final ItemProcessor[] itemProcessors; public abstract boolean isParsable(Element docRootElement); *************** *** 65,69 **** } ! String stripControlChars(String string) { StringBuffer strippedString = new StringBuffer(); for (int charCount = 0; charCount < string.length(); charCount++) { --- 65,69 ---- } ! static String stripControlChars(String string) { StringBuffer strippedString = new StringBuffer(); for (int charCount = 0; charCount < string.length(); charCount++) { |