RSS Word Counter

My good friend Jason Scott Furr had the idea to set up a junk email account and analyze the emails to see which words occur the most. I built this little script in PHP which grabs the gmail account via RSS and analyzes how many time each word occurs in the subject. The script outputs an XML file which Jason imports into Quartz Composer and converts to OSC for video mixing (screenshots coming).

There is a filter to leave out common words such as “the, and, you” etc to make the results more interesting. The filtered words can also be edited in the script.

Though the script currently analyzes an email account, it can be used with any RSS feed or feeds. Simply enter any feed urls at the top of the script and it will analyze all of them together.

You can view the results of the email experiment or download the php script.


Comments are closed.