On May 31, 2007, at 1:14 PM, Thomas Drevon wrote:
Vincent Massol wrote:
I didn't see your email below (was it sent to the list?).
Yup!
The notion of tag is not something known to XWiki core. Currently tags are only known at the level of the default wiki so we should probably put the tag cloud code there. As your code below requires some logic, maybe the best is to use Groovy to replace the Java part. You could then have everything located on a single page.
Mmm. Okay, I went with what Guillaume suggested, and made a xar and jar out of it, and contributed it as a plugin: http://www.xwiki.org/ xwiki/bin/view/Code/TagCloud
But I do see your point about eliminating the java-side of this. The logic isn't that hard to implement as a groovy script or velocity macro, I guess.
Yes that would be great and would allow to package it in xwiki's distribution.
The next question is: a Panel or a Page? I'm tempted to say both. I think we should include the tag cloud in the Main.Tags page and we could provide a Panel too. WDYT?
Well, if it were only a page (or a "snippet"?) it might be easier for people to include it wherever they want, including in panels? But you guys more familiar with the level of expertise and mode of use amongst the xwiki masses, so I leave this for you to decide :-)
Also, I agree with Sergiu that it would be better if the font size would be calculated relatively to the number of ocurrences. Good thinking!
I have created a jira issue for this: http://jira.xwiki.org/jira/browse/XWIKI-1311
I just did an update there.
cool. It looks like it still requires some java code though.
Would you be interested in working on this and finishing this?
Sure!
Excellent! Thanks for this.
If so, could you please attach the result to that JIRA issue for inclusion in SVN?
I'm not sure I understood this. Do you want me to commit stuff to svn, or attach stuff to the JIRA issue?
Attach stuff to JIRA (as you don't have commit access to SVN ... yet....).
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 Cheers, -Vincent