I'm writing a WPF app, and I've been pondering for a while on how to show a preview of an HTML page then when the user clicks on a glyph the display expands and shows the full HTML page.
So to cut a long story short, I was reviewing flagged posts when it jumped up and smacked me in the face - the flagged posts listed on the page are the HTML equivalent of what I want. I did a view source just to check it out, and of course the SO devs have used a sprinkle of CSS (and probably a dash of jQuery) to achieve their trickery. But even so, I still have a few questions:
- is the text for the post summary parsed out on the fly when the page is rendered or is it parsed when the question/answer is submitted and stored in the database?
- what is used to parse that summary text? Is it a publicly available library or some top secret SO code? (or is it done using [gasp!!] PERL??!!)
- in the reader's esteemed opinion, what would be the most effective way to implement this interchangeable summary/full HTML view in WPF? (yes, I asked for opinions - Meta is full of opinions so I thought I would blatantly troll for some more. MOAR!!)
Wow. Have I asked a technical implementation question about SO that hasn't been asked before?