Showing posts with label delicious. Show all posts
Showing posts with label delicious. Show all posts

Friday, July 27, 2007

more del.icio.us hacks

I'm seeing more possibilities for library applications in del.icio.us. Seeing that you can use link rolls to generate links within a Web page, it seemed like it would be useful to be able to upload any lists of links you'd already published. Since delicious doesn't have a direct means of uploading links except through browser bookmarks, I set out to find a way to bulk load links from files into Firefox bookmarks and from there into delicious. I'd heard of "screen scraping" as a way of pulling the data from a Web site you were viewing, but searching Google didn't help find anything I could make use of.

In the process I found an article about exporting bookmarks from IE which mentioned the favorites file. That set me to looking for a bookmarks file, which I then copied to my desktop. This seems to be a simple html document with a DL tagged list. Copying the format for the entries I found there, I was able to upload a list of links I pulled from another file. (I haven't figured out how to display html tags within a blog post - it is treated as code instead of raw text.) After a bit of trial and error I was able to bulk load more than 1,000 entries into my Firefox bookmarks and from there directly into delicious.

http://del.icio.us/ldjaffe

Here I've encountered two new frustrations with delicious. First, it automatically marks all the items bulk loaded in this way as "unshared" and I haven't found a way to change this setting in a lump. Second, I'd like delicious to feature a link checker. That would make sense, no?

Back to the project: the idea isn't to have uploaded a lot of links for its own sake. I'm looking at ways to re-use this information in library guides once it has been properly tagged. I've started one example at my Geocities site.

http://www.jaffebros.com/pottery/

I hope this will replace the old pottery links site I started years ago. It currently runs on Filemaker but hasn't worked well since Filemaker has changed some of its features. It's not pretty at the moment but I'm just sketching in the raw content before I begin worrying about how it looks. I think there is enough there, however, to demonstrate the functionality.

Wednesday, July 25, 2007

del.icio.us part 3

OK, so here's the cool stuff (which completely trumps any of the issues I mentioned in my last post).

* link rolls - http://del.icio.us/help/linkrolls
You'll find this function under "settings" (not help). At its simplest it creates a javascript string you can paste into an HTML document that will pull your links into your Web page live. That means any changes you make to your del.icio.us links will change on your page. This alone is cool enough - IMHO - for us to drop everything and start building up libraries of del.icio.us links and importing them into our subject guides.

To see any example of the sort of thing I'll describe below, see
http://library.ucsc.edu/~ldjaffe/del.html

I was really surprised that none of the examples of libraries using del.icio.us took advantage of this capability. Two just pointed to their del.icio.us site and one imported the entire tag cloud into a page. It seems you can do so much more with the link roll function AND feature it within your existing Web site that this is the way to go. No? Yes!

And, that's just the minimum. The link roll utility let's you specify which items are displayed and customize how your links will look. Some of these features aren't (well) documented, but if you look around a bit and experiment, you can figure out some easy hacks. For instance, you can specify more than one condition (additional tags) be met for inclusion of links (e.g., library+pathfinder). If you thought ahead, you could tag your links with this in mind. For instance, if you were doing a guide for a class, tag all the related links with the class number and some other feature (astro101+reference, astro+journals, etc). Then build a page that clusters those items according to relevant categories. You can easily generate four or five link roll scripts and paste them into a page to make a quick and easy guide.

The trick here is getting the links into del.icio.us. I was hoping to find a way to bulk import Web page contents directly or at least to import them into a browser's bookmarks as an intermediate step but haven't found one yet. I did use the menubar tool to add all the links from one of my guides but that was tedious. However, I think that's going to be worthwhile in the long run.

* tag rolls - http://del.icio.us/help/tagrolls
For the moment, I think these look cooler than they really are (but maybe I shouldn't underestimate the importance of looking good). These are less apparently customizable than the link rolls, but only apparently. Having generated scripts for both formats, I noticed that they shared similar syntax, which suggested that you could limit tag clouds to links with specific tags. The example we were pointed to included all the tags for all the links in a particular collection, whether or not they were relevant. Obviously you can manage that by having subject-specific collections but that rubs against the grain.

original javascript code:

script type="text/javascript" src="http://del.icio.us/feeds/js/tags/ldjaffe?icon;size=12-35;color=87ceeb-0000ff;title=my%20del.icio.us%20tags;name;showadd"

... and the hacked version (all caps)

script type="text/javascript" src="http://del.icio.us/feeds/js/tags/ldjaffe/JEWISH+LIBRARY?icon;size=12-35;color=87ceeb-0000ff;title=my%20del.icio.us%20tags;name;showadd"

So, take a look and let me know what you think. http://library.ucsc.edu/~ldjaffe/del.html

Monday, July 23, 2007

del.icio.us

... just like the name. I'm loving this tool! I've had bookmarks on at least three different computers, and even more different browsers, for years and haven't found a way to coordinate my resources before this. This makes me very very happy.

I actually signed up to delicious months ago but was using a public computer at the time and got stuck at the point where it allows you to install menu bar utilities for your browser and import bookmarks. It took until this assignment for me to get back to it. It helps that I've switched to Firefox in the intervening time. It was a bit tricky figuring out how to bulk import Safari book marks (first import them into Firefox and then use delicious import tool in Firefox).

Having spent the first while organizing (checking and re-tagging) my bookmarks within delicious, I've just started to scratch the surface of what it can do. I've tried searching for other sources by tags and have added some good resources into my list. I'm also very interested in the Link Roll feature. I don't have any lists that are as complete or as clean as I'd like, but I can see some very nice applications for this.

The whole idea of collective tagging and sharing resources seems to be the perfect embodiment of Web 2.0.