summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-news/nntprss/files/nntprss-config.xml')
-rw-r--r--net-news/nntprss/files/nntprss-config.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/net-news/nntprss/files/nntprss-config.xml b/net-news/nntprss/files/nntprss-config.xml
new file mode 100644
index 0000000..c013149
--- /dev/null
+++ b/net-news/nntprss/files/nntprss-config.xml
@@ -0,0 +1,40 @@
+<?xml version='1.0' encoding='UTF-8'?>
+
+<!-- nntp//rss bootstrap configuration -->
+<!-- http://www.methodize.org/nntprss -->
+
+<nntprss>
+
+<!-- MySQL -->
+ <db connect='jdbc:mysql://127.0.0.1/nntprssdb?user=nntprss&amp;password=w0rldn3ws&amp;autoReconnect=true' driverClass='com.mysql.jdbc.Driver' daoClass='org.methodize.nntprss.feed.db.MySQLChannelDAO'/>
+
+<!-- Listener port for NNTP server -->
+ <nntp port='9119'/>
+
+<!-- Listener port for web admin interface -->
+ <admin port='7810'/>
+
+<!-- Poller configuration - number of threads -->
+ <poller threads='5'/>
+
+<!-- Subscription listeners -->
+<!--
+ <subscribe name='AmphetaDesk' port='8888' path='/index.html' param='add_url' />
+ <subscribe name='Radio Userland' port='5335' path='/system/pages/subscriptions' param='url' />
+ <subscribe name='Awasu' port='2604' path='/subscribe' param='url' />
+ <subscribe name='BottomFeeder' port='8666' path='/btf' param='rss' />
+ <subscribe name='Headline Viewer' port='8900' path='/add_provider' param='url' />
+ <subscribe name='Wildgrape NewsDesk' port='8888' path='NewsDesk.html' param='add_url' />
+-->
+
+<!-- Initial channel list -->
+<!-- These are the channels defined during a fresh installation of nntp//rss -->
+
+ <channels>
+
+ <channel name='org.slashdot' url='http://slashdot.org/index.rss' historical='true'/>
+ <channel name='org.methodize' url='http://rss.methodize.org/nntprss.xml' historical='true'/>
+
+ </channels>
+
+</nntprss>