Hacker News new | ask | show | jobs
by econ 263 days ago
In the days of AJAX a friend asked mockingly, why xml? why JSON? Why not HTML? We didn't really have an answer.

He wrote a few lines of js grabbing a div from a different page. The "parsing" was a split()[1] on a formatted comment.

I still don't have an answer.