I've uploaded some sample code
<http://code.google.com/p/frackim/>demonstrating a Python-based PSHB
subscriber which provides a PSHB to XMPP
gateway. You can find the code at
http://code.google.com/p/frackim/source/browse/ and a running demo is at
http://frackim.appspot.com . Feel free to use your XMPP client to subscribe
to receive updates from the demo. Also, I would greatly appreciate any
coding/feature suggestions from the many of your who are probably much
better Python coders than I am...
"FrackIM" allows you to "Follow" or "Track" messages which originate either
from XMPP IM or from PubSubHubbub. Read the
then add frac...@appspot.com to your buddy list.
The software uses the AppEngine Prospective Search Service and delivers
results using AppEngine's XMPP service. Topic-based behavior is implemented
by subscribing to messages using a query that constrains the "follow"
attribute of messages. This attribute contains either an XMPP JID or an
HTTP URL (the URL is, of course, a PSHB "topic"). For example:
/subscribe follow:huffingtonpost.com is like a topic-based subscription in
To get "content-based" behavior, you create a subscription that constrains
the "track" attribute of a message. Thus:
/subscribe track:obama is content-based and will match any IM or PSHB
message that contains the word "Obama".
of course, you can combine the two together like this:
/subscribe follow:huffingtonpost.com AND track:obama which would return
only messages published by HuffingtonPost that contain the word Obama.
I hope at least some of you find this to be useful. Please do provide
suggestions for how to improve this tool. I am also interested in any
suggestions you may have for other "push" services for which I could build
and interface to broaden the range of content that is handled by this tool.