Say you want to have a del.icio.us-alike feature, but just for personal use or maybe just a for a selected group. Well, you can, if you run a Domino server which runs Domino 6 or later. Takes actually around 5 minutes to set up.

Follow me, I’ll show you :-)

First, create a new database, call it anything you like.

In that database, we’ll start creating form called URL that will act as a place holder to store the URL and the title. Add at least 2 fields, Title and URL and give them the following default values:

For title: @UrlQueryString("TITLE");

For URL: @UrlQueryString("URL");

See below for what my form looks like:

delicious1.gif
I added a category field allowing me to better organize the links. The Category field is actually hidden and contains

@Trim(ExistingCategory : NewCategory)

as a formula and is set to computed when composed. The ExistingCategory field contains

"":@Unique(@DbColumn("":"";"":"";"(Categories)";1))

as a lookup formula in the formula for choices.

NewCategory is just a plain text field.

The Save button contains

@Command([FileSave]);
@UrlOpen(URL);

I’ve created a 2 views, one called “(Categories)” (to be used in the @Dbcolumn formula) and one called URLs. Both list document based on the URL form. The first one has one column, containing “Category” as a formula, the other one (the URLS view) has 2 columns, the first one showing Category and is categorized and the second column has this formula:

"[<a href=\""+url+"\">"+title+"</a>]"

We’re almost done. Now we have to create 2 links. I’ve put them on a page and specified in the database properties to launch that page on open. The links are:

"javascript:location.href='http://www.yourserver.com/"+@WebDbName+
"/url?openform&url='+encodeURIComponent(location.href)+'&title='+
encodeURIComponent(document.title)"

and

"javascript:location.href='http://www.yourserver.com/"+@WebDbName+
"/urls?openview'"

The first one links to the URL form, the second to the urls view. I put those links in a computed link hotspot naming the first one ‘Add Url’, the second one ‘My Urls’. Bookmark those links in your browser, navigate to a page you want to bookmark, click the ‘Add Url’ bookmark and your form should pop up, click ’save’ and you’re redirected back to former page and your bookmark has been stored.

If this all dazzles you (which I totally can understand given the number of @Formulas on this page): here is the zipped database for you to download. Make sure you modify the hotspot links on the How To page.

Download: urlstore.zip