I once built a little API that would read in a perfectly normal RSS feed -- by which I mean "an RSS feed that's messed up in a number of important ways" -- and then spit out a spec-compliant version. Basically something you could prepend to a feed URL to get an idealized version.
