Make it del.icio.us
February 17, 2007 11:20 AM   Subscribe

How do I create an ordinary "post to del.icio.us" link? The Del folks provide very informative instructions on creating a button using extensions, and on creating a bookmarklet or link using javascript. But for those for whom neither option works, how do you simply create an ordinary link that can be added to the Favorites list?
posted by yclipse to Computers & Internet (10 answers total)
 
Like this.
posted by smackfu at 11:32 AM on February 17, 2007


Wait, I think I misunderstood. It sounds like you want a generic link that will post the current site to del.icio.us. But I don't think it's possible without javascript, since you have to give them the URL of the page somehow.
posted by smackfu at 11:35 AM on February 17, 2007


Bookmark this?
posted by macadamiaranch at 11:45 AM on February 17, 2007


I agree with smackfu. It isn't possible to create a single link that will work with any URL because del.icio.us doesn't do anything fancy like checking referrer headers for URLs. The URL you're posting has to be in the query string.
posted by scottreynen at 1:00 PM on February 17, 2007


Even worse than that... most, if not all, browsers do not send the referer (sic) header when you click on a link in your Favorites/Bookmarks.
posted by smackfu at 1:43 PM on February 17, 2007


Bookmark this.
posted by jimfl at 2:03 PM on February 17, 2007


Grrr. Make a bookmark of this

javascript:location.href='http://del.icio.us/post?v=4;url='+encodeURIComponent(location.href)+';title='+encodeURIComponent(document.title)
posted by jimfl at 2:04 PM on February 17, 2007 [1 favorite]


In both Safari and Camino (the browsers I'm most acquainted with) you can move the bookmark-bar bookmarklet into the Favorites menu. That's what I've done, and what jimfl seems to be showing you how to do as well.
posted by adamrice at 2:43 PM on February 17, 2007


Thanks to all. I thought that there was a non-JS way to do it, but I guess not.
posted by yclipse at 4:45 PM on February 17, 2007


If you are attempting to do this on a blog, I would advise you that Feedburner offers a very simple little script that you can use to create "Add to del.icio.us, digg, technorati" and other sites.

The bad news is, it is a javascript. The good news is, it's pretty darn easy.

If you want to see it in action you can see it on my blog.

If you want to get it, first sign up at Feedburner (free), then turn on then enable FeedFlair on the Optimize tab.
posted by jpozadzides at 8:48 PM on February 17, 2007


« Older Cheap Printers in Canada   |   Cooking the books Newer »
This thread is closed to new comments.