Say what a site sent when it is not XML at all #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
doghouse(http://feeds2.feedburner.com/thedoghousediaries/feed) answers 200,text/xml, with a 35-byte body:Unable to establish a DB connection. The publisher's database is down.parse()reports "not RSS (reached end of input without finding a complete channel) and not Atom (unexpected end of input)", which hides the one sentence that says what happened, and ipx has never stored an entry from this feed.explain_failurereturnsNonefor garbled feeds on purpose (its doc comment says why), and that is right for broken XML. A body with no markup at all is a different case: the site sent an error message instead of the feed. When the body does not start with<(after whitespace and a BOM), haveparse()saythe site sent "<first line, capped>" instead of a feed, and haveexplain_failureflag it as the publisher's problem. Leave malformed XML as it is. (src/feed.rs:262,src/feed.rs:107)Found 2026-09-14: 76 of 1,102 feeds carried a stored error; everything else with a subscriber classified cleanly through
explain_failure.