Search issues and improvements, and Social !*&$W% media
Fixed a bug in the search results whereby a result found in the personography was linking to a page that could not display. At the same time, I decided to improve the search functionality so that now each hit in a document links to the anchor of that hit (as in Mariage). The only wrinkle here is that hits in editorial notes are not displayed, but we'll wait for a clearer idea of the new layout before we work on that; I think we should probably be including notes in static form in a list at the bottom, as we do in Mariage.
I then started trying to deal with a layout bug caused by the Facebook Like button. After some investigation and hacking, I got it fixed, but now I've had a good look at how that stuff works, and taken a look through the JavaScript code that FB injects into the page, it's absolutely obvious that this is a vector for widget-jacking, and there's no much we can do about it. Even if all URLs we control are changed to https (which they are, now), the JavaScript, which is rather obfuscated, is full of plain http links which presumably lead to session cookies being sent in the clear. Horrible stuff.