[xwiki-dev] Simple implementation of a tag cloud for xwiki

Thomas Drevon thomas.drevon at intermedia.uio.no
Thu May 31 16:13:43 CEST 2007


Vincent Massol wrote:
> http://jira.xwiki.org/jira/browse/XWIKI-1311
> Attach stuff to JIRA (as you don't have commit access to SVN ... yet....).

Ok, done! I re-wrote the whole thing only using velocity code. It seems 
to work fine. I also implemented the relative font size that Sergiu 
suggested, but I'm not completely satisfied with the result. Feel very 
free to tweak the formula that calculates the font-size :)

I updated the JIRA issue, this time including all the velocity code. I 
couldn't find a way to mark the issue as resolved, but I guess that 
function's reserved for an admin of some sort.

BTW: I'm having trouble deleting the plugin 
(http://www.xwiki.org/xwiki/bin/view/Code/TagCloud ) I created on 
xwiki.org, and I need to do that in order to creat a snippet with the 
same name.

>> Thanks for the enthusiasm on this! I have a couple of thoughts on how 
>> tags currently behave in xwiki, but I'll try to write a separate email 
>> on that subject a bit later.
> 
> Thanks to you. We do need to improve tagging in xwiki. One thing we need 
> is the ability to tag a page without having to go in edit mode.
> There are also some ideas here: http://jira.xwiki.org/jira/browse/XWIKI-523

Ah, yes this would be really sweet. One of the reasons why we chose to 
use xwiki was because we thought it had good support for tags.

Right now, it seems that tags can be added to a page that doesn't have a 
parent, but blog entries (for instance) won't handle even if the 
appropriate input field is on the page. At least until the servlet 
engine is restarted. /Then/ a customized input fields for tags will 
work. Am I right? At least this seems to be my experience, but I'm not 
positive that I've considered all the facets of this issue.


cheers :-)
Thomas




More information about the devs mailing list