Mercurial > xib
comparison example_config.xml @ 172:64a0e9636ae6
removed encoding.py, charsets handling is now in irclib and custom charsets can be set per server in the configuration file
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Tue, 02 Feb 2010 20:19:50 +0100 |
parents | e0eea72ea493 |
children |
comparison
equal
deleted
inserted
replaced
171:489c157d9e82 | 172:64a0e9636ae6 |
---|---|
4 <!-- WARNING: do NOT set debug to "true" if you are sending the bot's stderr to a file, it logs every XMPP stanza and IRC event without controlling the size of the resulting file --> | 4 <!-- WARNING: do NOT set debug to "true" if you are sending the bot's stderr to a file, it logs every XMPP stanza and IRC event without controlling the size of the resulting file --> |
5 <admin jid='admin1@example.net' /> | 5 <admin jid='admin1@example.net' /> |
6 <admin jid='admin2@example.net' /> | 6 <admin jid='admin2@example.net' /> |
7 <bridge mode='normal' say_level='all'> | 7 <bridge mode='normal' say_level='all'> |
8 <xmpp-room jid='dream-world@chat.example.com'/> | 8 <xmpp-room jid='dream-world@chat.example.com'/> |
9 <irc chan='#dream-world' server='irc.example.org'/> | 9 <irc chan='#dream-world' server='irc.example.org' charsets='utf-8 iso8859_15'/> |
10 <!-- separate codecs by a space --> | |
11 <!-- see <http://docs.python.org/library/codecs.html#standard-encodings> for a list of codecs --> | |
10 </bridge> | 12 </bridge> |
11 <bridge mode='minimal' say_level='nothing'> | 13 <bridge mode='minimal' say_level='nothing'> |
12 <xmpp-room jid='room@chat.example.com'/> | 14 <xmpp-room jid='room@chat.example.com'/> |
13 <irc chan='#chan' server='irc.example.org' connection_interval='2'/> <!-- connection_interval is in seconds --> | 15 <irc chan='#chan' server='irc.example.net' connection_interval='2'/> <!-- connection_interval is in seconds --> |
14 </bridge> | 16 </bridge> |
15 </bot> | 17 </bot> |
16 <!-- WARNING: do NOT start two bots with the same JID or the same nickname --> | 18 <!-- WARNING: do NOT start two bots with the same JID or the same nickname --> |
17 <!-- WARNING: two bots connecting to the same XMPP MUC server and/or the same IRC server may conflict, it is better to use multiple bridges --> | 19 <!-- WARNING: two bots connecting to the same XMPP MUC server and/or the same IRC server may conflict, it is better to use multiple bridges --> |
18 <!-- NOTICE: even if you use multiple bridges instead of multiple bots, conflicts may still appear if somebody else is running a bot on the same XMPP MUC server and/or the same IRC server --> | 20 <!-- NOTICE: even if you use multiple bridges instead of multiple bots, conflicts may still appear if somebody else is running a bot on the same XMPP MUC server and/or the same IRC server --> |