My Recommendation Snippet (ver. 2.0)

What's this ?

"My Recommendation Snippet" is a recommendation link list generator extracted from site owner's bookmarks archived in If you tell your ID to the site, you can get the site owner's bookmarks as a recommendation. While creating your recommendation list, the relevance between your tags and site owner's tags are calculated, and then site owner's archived bookmarks are fetched using most common tag information.

Why is this cool ?

Because we don't need any server infrastructure for generating recommendation list. Entire generation process is done in client side Javascript. JSON (or JSONP) and On-Demand JavaScript techniques are used to get posts.

How does it work ?

Seeing is believing. Demonstration is below here.


Cool. I want to use this module for my site.

You can cut and paste generated code to your site.
To generate order-made script code for your site, you have to input your id into the text box below.

HTML Code Generator

Site Owner's ID:
Bookmarks Display Size (default : 5):
Recommendation Mode :
Debug :

How can I customize the output view ?

You can use some template language like TrimPath JST. Just setting 'template' property to the instance.


<script type="text/javascript" src="./js/trimpath/template.js"></script>
<script type="text/javascript">
var ownerId = 'stomita'; // Change this ID to your ID ! 
var drv = new DelRecView(ownerId);
drv.template = TrimPath.parseTemplate(document.getElementById('resultTemplate').value);

I'd like to download code.

You can download JavaScript source code from here (zipped). Old source code (ver 0.1) can be downloaded from here (zipped).

Update History


shinichi.tomita * at * hotmail * dot * com