Try our conversational search powered by Generative AI!

Magnus Rahl
Feb 6, 2009
  5334
(0 votes)

Social bookmarking as Dynamic Content

Many of you have probably built sites with social bookmarking icons or similar (“Share on facebook” etc.). Just for fun I decided to create an easily extendable implementation for this, and to do it as Dynamic Content to enable editors to place whatever social bookmarking icons whereever they like.

Description

Here is a screen dump of an example page using my QuickLink Dynamic Content:

quicklink

The broken images seem to be broken because they are all gathered from their respective sites, and my browser seems to be handling this great amount of connections/lookups badly. I advice you to cache the images locally in your site (their location are set in a config file).

In edit mode the editor simply selects what implementations to include, so by adding the QuickLink dynamic content several times to a page with different icons enabled the layout can be controlled a bit more. What type of html element the icons are rendered in is also configurable (standard is ul/li).

profileinfo_edit

Extensions

All the icons in the first portion of the image above are generated by a special implementation of the IQuickLink/IQuickLinkFactory interfaces that is purely configuration driven. To add another bookmarking service, provided it follows the same pattern (a posting url with the page url and title in the query string) you merely have to add a new section in the QuickLink.config file.

The more advanced implementation last in the example is included mostly for demonstration how to implement the interfaces, the default configuration driven setup is probably enough for many purposes.

Download

Both compiled dlls and source are available here. N.B. the QuickLink dynamic content uses the DynamicContentBase also available from the same location.

Feb 06, 2009

Comments

Please login to comment.
Latest blogs
Optimizely and the never-ending story of the missing globe!

I've worked with Optimizely CMS for 14 years, and there are two things I'm obsessed with: Link validation and the globe that keeps disappearing on...

Tomas Hensrud Gulla | Apr 18, 2024 | Syndicated blog

Visitor Groups Usage Report For Optimizely CMS 12

This add-on offers detailed information on how visitor groups are used and how effective they are within Optimizely CMS. Editors can monitor and...

Adnan Zameer | Apr 18, 2024 | Syndicated blog

Azure AI Language – Abstractive Summarisation in Optimizely CMS

In this article, I show how the abstraction summarisation feature provided by the Azure AI Language platform, can be used within Optimizely CMS to...

Anil Patel | Apr 18, 2024 | Syndicated blog

Fix your Search & Navigation (Find) indexing job, please

Once upon a time, a colleague asked me to look into a customer database with weird spikes in database log usage. (You might start to wonder why I a...

Quan Mai | Apr 17, 2024 | Syndicated blog