Introduce a general purpose error function, and use it to add 404 errors for feed based pages when the entry isn't in the feed.