My web application parses URLs from certain RSS-feeds. I'm using Simple Pie for this purpose. Parsing is working perfectly. All parsed URLs are stored in database and I'm generating a webpage from this URL-table.
How can I check if RSS-feed have a new URL to offer which is not yet brought to my database? At the moment I check the whole URL-table through and compare the first URLs from the feed, but I doubt this would be most efficient way of handling this...