For a while I was thinking about how I was going to display comments for my little HN newsreader, while having convenience and support for the things I want to make convenient. But what a fool I am! Why not do the following:
1. Create a new NSURLProtocol with the prefix “hn:” whose responses get passed through a content-annotating proxy.
2. Point a UIWebView at <hn://news.ycombinator.com/>. Note the scheme.
Done!
And now the problem is reduced to something I’m comfortable with: manipulating streams of bytes :-)