Upsert instead of insert

If there's already a post in the database, don't post it again.