EDIT: Because I get downvoted despite stating my opinion on the topic, I adjusted the statement.
JSON Feed
11–20 of 225 posts
Re: JSON Feed
#12Also, despite the fact this is technically not the responsibility of the spec itself, I would strongly suggest some words on the implications of the fact that the HTML fields are indeed HTML and the wisdom of passing them through some sort of HTML filter before displaying them.
In fact that's also part of why I suggest going ahead and letting titles contain HTML. All HTML is going to need to be filtered anyhow, and it's OK for clients to filter titles to a smaller valid tag list, or even filter out all tags. Suggesting (but not mandating) a very basic list of tags for that field might be a good compromise.
Re: JSON Feed
#13> JSON is simpler to read and write, and it’s less prone to bugs. Less prone to bugs? How's that?
JSON parsers have a much smaller 'feature surface' meaning that there are fewer nooks and crannies for bugs to live in. One example of a bug that often festered in XML parsers: https://en.wikipedia.org/wiki/Billion_laughs (there is no JSON equivalent of this) The generalized theory, for those interested : https://en.wikipedia.org/wiki/Rule_of_least_power
Re: JSON Feed
#14Re: JSON Feed
#15Do we really need this? Atom is fine for feeds. Avoiding XML just for the sake of avoiding XML, because it isn't "cool" anymore is just dump groupthink. If this industry has a problem, it's FDD - Fad Driven Development and IIICIS (If It Isn't Cool, It Sucks) thinking.
We don't prefer JSON to XML for any reason other than that XML is terrible by comparison.
Re: JSON Feed
#16> JSON is simpler to read and write, and it’s less prone to bugs. Less prone to bugs? How's that?
RSS is sometimes ambiguous and there's a lot of variation. It can be hard to parse correctly. Not sure about Atom, though.
I've written a reasonably-popular podcast feed validator, and I don't understand either of these criticisms. Mind elaborating?
Re: JSON Feed
#17Re: JSON Feed
#18> JSON is simpler to read and write, and it’s less prone to bugs. Less prone to bugs? How's that?
Re: JSON Feed
#19[flagged]
Re: JSON Feed
#20Do we really need this? Atom is fine for feeds. Avoiding XML just for the sake of avoiding XML, because it isn't "cool" anymore is just dump groupthink. If this industry has a problem, it's FDD - Fad Driven Development and IIICIS (If It Isn't Cool, It Sucks) thinking.
We don't prefer JSON to XML for any reason other than that XML is terrible by comparison.