a rewrite of Mark Pilgrim's & Aaron Swartz's feedfinder