Contents
TagCloud
Description
Create a Tagcloud
Download & Release Notes
Download |
Release Version |
Moin Version |
Release Notes |
|
1.5 |
|
Usage
[[TagCloud(maxTags=20,autoCreate=False)]]
autoCreate=True: auto create "tag page" if not exist
Example
See http://www.iam-wiki.org for an example interaction with ParserMarket/Frame
Copyright
Christian Groh - christian dot groh at doubleSlash dot de
License
Bugs
Discussion
It seems that the macro expects a line of comma-separated tags at the end of the file after a horizontal ruler. Could it work with normal categories (which are separated by space or newline)? Also it seems that tags must be ASCII. A non-ASCII character in a tag raised an error. I thought MoinMoin would accept Unicode everywhere. --ChristophKoenig
I have uploaded my modified version of TagCloud. It is now working for MoinMoin 1.8 and utf8 coding. However, the original RegEx is not working properly, so I delete all () and \r. It works for me, but maybe not for everyone. Just a quick try, because I am new to this, and I would appreciate if anyone could tell me how to develop and debug macros.
Anyway, for utf8 support, search for all "utf8" in the TagCloud_utf8.py. I have tried Chinese, and it is working. BTW, my tag syntax is as below:
---- tag1, tag2, 标签3 ----
It requires two ----, slightly different with the original version. And I can NOT reach the author Christian Groh. Hope someone can help me out with right RegEx for all platforms. --WenliangLu
With no license at all, normal copyright law applies, which means nobody may copy, modify, and/or distribute your code. Please consider to license you code under a free_software_license. -- MartinBayer 2008-12-03 16:13:24
Oooh! I just modify the code of Christian Groh, which do not come with a license. I can not reach Christian Groh now, so I don't know what he think of that. Should I remove my uploaded file? --WenliangLu
Hello ChristianGroh, JordanCronin and WenliangLu, I just did a rewrite of your macro and changed the functionality, kind of a fork :). Mainly the reason was that I wanted to use "Category" and not just some tags and remove some page saving / "caching" stuff, you may see here my first release (alpha status) MacroMarket/CategoryCloud. I hope that it's not a problem with your current macro (e.g. licence). thx -- MarcelHäfner 2009-10-20 22:37:22