Capturing Incoming Messages

Kevin M Stange kevin at simguy.net
Thu Sep 13 00:30:25 EDT 2007


Rumely, Mike wrote:
> Hi all,
> 
>       My name is Mike Rumely and I working on my senior design project
> at the University of Portland. I am attempting to write a program that
> captures the text of a received message and the sender of the message.
> Would you all recommend starting pidgin with the "-d" flag and parsing
> the debug info for messages or is there a better way? I would like this
> to be a stand alone application but a plugin could hook into the
> "message-receiving" signal, would you all recommend that instead?
> 

There is nothing that says a protocol plugin must show message text in
the debug output, and many don't, or don't do so in a useful format for
parsing.  You are better off writing a plugin or perhaps utilizing
Pidgin's DBUS support to gather this information.

Kevin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://pidgin.im/pipermail/devel/attachments/20070912/bf553b76/attachment.sig>


More information about the Devel mailing list