SMO Tools > Social Bookmarking > Social Bookmarking Tools

Rating Name Update Type Publisher Price

* LiveMarks Scripts SWiK


go


Print
this article

How LiveMarks Works

LiveMarks consists of two parts:
- import script
- display script


The import script

The import script is run via a cron job. It runs all the time every day, pulling in the del.icio.us RSS feed. In case del.icio.us feeds are inaccessable, or overflow happens, LiveMarks uses a system of redundant mirrors to maintain a steady stream of bookmarks.

Uniqueness

RSS Item Uniqueness is a hard problem. Like most aggregators, LiveMarks uses an imperfect solution that works most of the time: it takes arbitrary uniqueness criteria and anything that doesn’t fit within this criteria is ignored.

LiveMark’s uniqueness criteria works as follows: each bookmark has a set of properties that includes an author, a link, and a title. These are hashed and put into a unique hash column in the database.


The display script

The display script uses AJAX to populate the client bookmark cache without refreshing the page and script.aculo.us and some custom Javascript to get the effect of links scrolling down the page.

After a while, in order to prevent link overload, the script wipes out the bottom of the list of links.

Popularity is calculated by sorting link bookmark frequency within a relatively recent time period and cutting off after a set limit. Bookmark newness is calculated by comparing a url against the database of known links and finding if the bookmark appears before a very recent time period.


Open Source Projects used

  • Linux Apache MySQL PHP-my current web-framework of choice.
  • MagpieRSS-the one and only RSS library for PHP
  • XHConn-very simple Ajax library
  • script.aculo.us-Neato Javascript visual effects library
  • Written using Vim over SSH
publisher-author
SWiK
Requirements
MagpieRSS, XHConn, script.aculo.us
License
Free
Platform
Linux Apache MySQL PHP
Money Back
n/a
See too
  • Related  
  • Similar  
  • Recommended