Better error checking for post content and excerpt.