Getting new items from an RSS feed

Hi everyone,

I have an RSS feed that updates. I’d like to find the new items (based
on the database) since the last time I checked, take them and store
them into the database, and repeat this cycle. Does anyone know of a
good way to do this?