Skip to content

Commit

Permalink
Bug 7257: xmpp: added support for xml element in a body of a message
Browse files Browse the repository at this point in the history
xmpp-bot: added support for xml element in a body of a message

web-framework:
* implemented print-change generic function (which returns a string)
* added support for a base-url keyword to send uris, not only relative links
  (in print-change and print-xml)
* export valid-user? GF

buddha:
 * hardcoded ns.ripe.net as authoritative NS for ipv4 reverse delegations
 * fix printing of dhcpd config file 
 * use xmpp bot for changes
 * use http authentication instead of cookies and http forms
  • Loading branch information
hannesm committed Dec 20, 2006
1 parent f0ff941 commit d724c1d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library.dylan
Expand Up @@ -7,7 +7,7 @@ define library xmpp-bot
use io;
use system;
use xmpp;
use xml-parser, import: { simple-xml };
use xml-parser, import: { simple-xml, xml-parser };

// Add any more module exports here.
export xmpp-bot;
Expand Down
1 change: 1 addition & 0 deletions module.dylan
Expand Up @@ -10,6 +10,7 @@ define module xmpp-bot
use standard-io;
use xmpp;
use simple-xml;
use xml-parser;

// Add binding exports here.
export <xmpp-bot>, broadcast-message;
Expand Down
2 changes: 1 addition & 1 deletion xmpp-bot.dylan
Expand Up @@ -84,7 +84,7 @@ define method auto-subscriber (xmpp-bot, client, presence)
end;
end;

define method broadcast-message (bot :: <xmpp-bot>, message :: <string>)
define method broadcast-message (bot :: <xmpp-bot>, message :: type-union(<string>, <element>))
do(method (user)
send(bot.client,
make(<message>,
Expand Down

0 comments on commit d724c1d

Please sign in to comment.