OUseful.Info, the blog…

Trying to find useful things to do with emerging technologies in open education

Drag and Drop Ordered Links in Delicious?

leave a comment »

One of the things I’ve been interested in for some time is how to use social bookmarking services like delicious as a database for ordered link collections (for example, Ordered Lists of Links from delicious Using Yahoo Pipes).

I don’t have time to try this right now, so here’s a quick holding post about a plan for the future:

- pinch the code used for this jquery demo: “Dynamic Drag’n Drop With jQuery And PHP” which shows how to update a database with the new list order using “an Ajax request in the backend”…

- populate the list using the delicious api from a (logged in) users’ specified tags;

- identify the position of each item in the list using a special machinetag tag. Rewrite the jquery demo to use a delicious API call in place of the demo database update function. I’m guessing that this would mean using the https://api.del.icio.us/v1/posts/add? call, and just copying everything from the previous version of the bookmark apart from the item number machine tag?

- cobble together a Javascript script to pull a tagged list from delicious, as JSON, that includes ordered list machine tags and display the list, appropriately ordered; also provide a ‘reverse order’ switch ;-)

- cobble together a simple web service using a minimal PHP script that will grab a tagged list from delicious, with machine tags, and then display it as an ordered RSS list (also provide a ‘reverse order’ switch in the URI).

If anyone builds these before I do, please post a link to the demo :-)

Written by Tony Hirst

August 20, 2009 at 1:40 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 337 other followers

%d bloggers like this: