Hello,
I gave the XMPP API a try and it does not work for me. The bot is
active and in my IM contact list. I created the post handler
following the API instruction:
class XmppHandler(webapp.RequestHandler):
def post(self):
logging.info("XMPP Received.")
message = xmpp.Message(self.request.POST)
if message.body[0:5].lower() == 'hello':
message.reply("Greetings!")
else:
message.reply("I have no idea.")
def get(self):
self.response.out.write("Hello")
I even added a "get" method to make sure the handler is setup
properly. The GET is handled ok and returns Hello in the browser.
I get no log message from the "logging.info()" call I make. No errors
in the log also.
Anyone try this yet or have success?
Barry
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---