Page History
...
I've had some reasonable success at using Kerio's NNTP with commons-net: http://commons.apache.org/net/
Still looking for alternatives as commons-net's api isn't superb, and has some scary longstanding issues: https://issues.apache.org/jira/browse/NET-298 https://issues.apache.org/jira/browse/NET-276
Open questions
- Implement an observer/listener pattern on forum instead of relying on jcr ?
- would match the idea of having
ForumManager
returnForum
,Thread
andMessage
bean instances instead of exposing jcr nodes. - jcr observation can filter per node type but it filters on the parent node type, ie we need to filter for
mgnl:thread
andmgnl:message
(the latter, because messages can be nested), and thus we can't useForumManager.getMessage()
directly from the EventListener. The EventListener would have to 1) fetch the node and check its type 2) either bypass ForumManager altogether or let ForumManager re-fetch the node - we still need deferred and buffered execution of events if possible, so I need to look into reusing
info.magnolia.cms.util.DelayedExecutor
or thejava.util.concurrent
package.
- would match the idea of having
- Scheduler: avoid overlapping jobs: MGNLSCH-18@jira
- Can we post directly to nntp with Kerio ? yes we can
- filter forum markup ? (probably not, especially if we use markdown)
- filter email signatures and quotes (some regex work should help, but what do we do with inlined quotes?)
Overview
Content Tools