How to parse the data from Google Alerts?

John Scipione picture John Scipione · May 13, 2009 · Viewed 26.1k times · Source

Firstly, How would you get Google Alerts information into a database other than to parse the text of the email message that Google sends you?

It seems that there is no Google Alerts API.

If you must parse text, how would you go about parsing out the relevant pieces of the email message?

Answer

Bill Karwin picture Bill Karwin · May 14, 2009

When you create the alert, set the "Deliver To" to "Feed" and then you can consume the feed XML as you would any other feed. This is much easier to parse and digest into a database.