title: Process notifications from Google Alert (using PubSubHubbub): PHP or Python
body: <p>I have created some custom alerts using Google alerts. I have set the alerts up so that they are sent to my Google account (RSS) feed.</p>
  
  <p>According to the <a href="http://www.google.com/support/alerts/bin/static.py?page=guide.cs&amp;guide=28413&amp;topic=28417" rel="nofollow">deliver to RSS feed</a> section, "Developers and feed readers can receive real-time updates by subscribing to the feed using the PubSubHubbub protocol. This allows applications to be notified of new alerts as they become available".</p>
  
  <p>Despite trawling the net for several hours, I have not been able to find a simple example (PHP or Python) that shows how I may automatically process the feed data as it comes in.</p>
  
  <p>What I'm looking for is a simple example, that will respond to the new feed message as it arrives - for example, simply log the feed message to file.</p>
  
  <p>Can anyone post a simple snippet in either PHP or Python, that shows how I may get started in automating the PubSubHubbub updates that arrive on the Google alert RSS feed?</p>