Gunnar (back from a two-month vacation in India) pointed me to a Web 2.0-ish service named WebSnapr. The service basically does what you might know from Alexa and the CustomizeGoogle extension for Firefox: It creates thumbnails of websites that can be embedded in your blog. Neat!
Future versions of dasBlog will be likely to support the
BaseUrl macro which returns, well … the base URL of your blog! I've just checked in the macro code.
Now assign the
previewlink class to each anchor that should be previewed. Try it out by moving your mouse over these links: Microsoft, CNN, Google.
I was wondering why the WebSnapr scripts (here's another one with more eye candy) use the
class attribute to mark the links as to be previewed. I consider the
rel attribute more appropriate because various microformats and LightBox are using them.
Rel also integrates better with Windows Live Writer as is displays a
rel ComboBox in the "Insert Hyperlink" window.
Another update: dasBlog supports a feature called Click-Through which basically tracks all links clicked inside your blog posts. It's a nice feature that allows the blogger to stay informed what kind of content readers like. If Click-Through is turned on, all URLs inside blog entries will be replaced with
<URL to your blog>/ct.ashx?id=<Blog entry ID>&url=<URL-encoded original URL> which of course breaks WebSnapr previews.
The updated WebSnapr script includes a fix for Click-Throughs by simply removing the prepended Click-Through URL and decoding the original link URL.
rel attribute and dasBlog Click-Throughs.