C flips out and exclaims we can't use smart quotes on the site because when he copies and pastes from our site into blogger it spits out broken xml and 50 people send him email telling him that his feed is broken. ![]() Then we got to talking about using smart quotes on the site. Sites produce a feed, a news reader reads the feed, you bring the news to you. So one day I'm at lunch with C and we are explaining news readers to another person in the group. Note: Be sure to read part II of this topic. If both NetNewsWire and FeedDemon require well-formed Atom feeds, then perhaps we've provided authors of Atom feeds enough incentive to spit out valid XML instead of the tag soup that has infected too many RSS feeds. It's not like well-formed XML is hard to do - Tim Bray has listed the four "Bozo Factor" rules that are required, and I have to think that anyone who can spell "XML" can follow these rules. This isn't just self-serving on my part: it will make it easier for anyone who wants to consume Atom feeds if they can expect them to at least be well-formed. Rather than wasting our time working around validation issues, aggregator authors such as myself can spend our time coding the features our users really want. ![]() So, I coded my own XML parser, and made it extremely forgiving of problematic feeds.Ītom, however, is a new format, and there's a chance we can get it right. A number of very popular RSS feeds are shockingly invalid, and I couldn't expect FeedDemon to compete in the RSS aggregator market if it couldn't handle them. This made it impossible to use an off-the-shelf validating XML parser, since it would choke on so many existing feeds. When I started coding FeedDemon, I immediately ran into an ugly problem: a huge number of RSS feeds are invalid. In fairness I have to consider this decision open to input from my customers, but I want to explain why I believe this is important. ![]() FeedDemon will also support Atom, but if an Atom feed isn't well-formed XML, FeedDemon will display an error rather than try to parse it. So, I'll add to the stink by stating that my plan is the same as Brent's. Some people aren't too happy about this, claiming that he's applying a double standard that will make Atom appear less useful than RSS. NetNewsWire creator Brent Simmons recently announced that NetNewsWire's future support for Atom will require Atom feeds to be well-formed.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |