|
Cookbook /
DeliciousSummary: Insert a del.icio.us user's links or tags into PmWiki
Version: 1.1
Prerequisites: PmWiki 2.0.beta25
Status: Stable
Maintainer: JonHaupt
Categories: Includes
Questions answered by this recipe
Descriptiondel.icio.us, the social bookmarking site, offers the use of javascript tagrolls and linkrolls to be used on blogs and other web sites. This script enables you to include those rolls in a PmWiki installation. In addition, the script allows you to include a badge showing how many times a page has been bookmarked using del.icio.us, and offering the opportunity to save the page to the user's del.icio.us bookmarks. To use this feature, install the delicious.phpΔ script into the cookbook/ directory, then add an The script can generate linkrolls and tagrolls. The simplest linkroll can be created by using the markup In order to produce a tagometer badge, you simply type The recipe is derived from the del.icio.us help pages, specifically those related to tagrolls, linkrolls, and tagometer. The following is a list of arguments: For
For
Release Notes
March 2006 (1.0) : Initial release Comments2006/10/02, Daniel I don't think del.icio.us provides this option; since the links are sent on the fly by del.icio.us's database, we're sort of forced to use whatever code they send. I think the thinking at the moment is that browsers offer the option of opening links in a new window or tab, so it's unnecessary to force the user to do it one way or another. I think using CSS you might be able to tweak it somehow, but I'm really not sure how you'd do that. - JonHaupt
2007/02/14, Tobias I believe this is a limitation of del.icio.us, as it doesn't know how to tell that those two urls are the same thing. I think the only way to avoid this is to make sure that the URI is always one or the other--perhaps by using a rewrite rule. It seems like probably the second one is safer, so you could rewrite all of the first one to the second one. otherwise, it's up to del.icio.us to become a smarter system. -j
2007/04/07, Mark Question though, if I just want to show the tagometer badge but not the tags or person count, just the clickable image. Thanks. Mark See AlsoContributors |