That makes sense. For one thing, if you're loading a feed from a mirror, the URI you got it from may not mean anything...but then, if we go with my prior suggestion of only reporting errors to the same server you loaded from, those wouldn't be reported anyway.1) The URI of the feed with the errorI think this would be more reliably controlled by the server manipulating
the URI for each feed. All errors can go to the same script, if necessary.
Bill Kearney posted something like
<link rel="service.error" type="application/x.atom+xml" href="http://example.com/errors?blogid=12345"/>
I'd vote for coming up with a set of error numbers for different types of things rather than using text descriptions--partly for size, partly for language issues, partly for ease of summarizing what errors have been reported. Perhaps text could be included too, as is done with HTTP status codes. There could be a number for "other" errors in case something unexpected happens. But I think there would be just a few classes of error that would cover almost every case: character not in the character set, mismatched tags, attributes missing opening or closing quote marks (or even an equals sign), unknown entity, unknown element (perhaps that should be ignored--certainly if it's in a namespace other than atom and the client simply doesn't know about that namespace), no xml text declaration (or whatever <?xml ... ?> is called...which would occur long before you got to the error service URI, so would you even look for it?).2) What the error wasOK, but in a standard format and/or just a text description? I'm trying to
think of a way to transmit an optimal amount of info while minimizing spam
usefulness.
Agreed. No point doing that.4) The user agent reporting the error (could come from the HTTP headers)I don't think we should duplicate any HTTP header.