You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Bob Paige <bo...@gmail.com> on 2008/04/18 23:08:18 UTC

groups or categories?

I am new to JSPWiki and am trying to setup a wiki for our development group.

Having used TiddlyWiki extensively (http://www.tiddlywiki.com) I am used to
tagging individual pages and referencing scripts in other pages to list
pages of that type. I wonder if JSPWiki has anything like this?

For example, I can imagine creating a page and tagging it with 'MainPage'. I
would then invoke some script from the LeftMenu page that automatically
lists all pages tagged with 'MainPage'. Thus, the left menu is dynamic (in
addition to whatever static items I put there).

Further, suppose this page discusses the login dialog for our application
(call the page LoginDialog). I might also have LoginDialog-Requirements,
LoginDialog-GUIImpl, LoginDialog-ServerImpl, etc. pages. I could rely on
people to always provide a back-link to the LoginDialog page (and use the
referrers plugin to display that list), but I would rather be able to tag
all those pages as 'belonging' to LoginDialog and automatically list them as
such through a plugin on the LoginDialog page.

As a side-note: I feel this functionality is different from referrers
because referrers would list any arbitrary cross-links existing in the wiki.
The concept I am describing is like adding automatic structure to the wiki
(in that by assigning a category, another page dynamically lists links in
that category).

Does JSPWiki currently support something like this?

Being a Java developer I am fine with writing my own plugin if one does not
exist. If there is something similar in existence that I could start from, I
would appreciate a pointer.

Thanks.

-- 
Bobman

Re: Tagging Support for JSPWiki (Was: groups or categories?)

Posted by Bob Paige <bo...@gmail.com>.
Murray,

I'd love to use your tagplugin, but unfortunately I cannot get it to work
consistently. I am willing to debug it if you can help me.

Does anyone else have any suggestions for tagging of JSPWiki pages?

-- 
Bobman

On Tue, Jun 17, 2008 at 10:13 AM, Bob Paige <bo...@gmail.com> wrote:

> Murray,
>
> Sorry for taking so long in getting back to this, but I am looking at
> JSPWiki and the TagPlugin again. I would like to debug the problem I am
> having, but I can't find the sources for your plugin. I have the
> ceryle-tag-plugin-20080422.zip from the web site, but no sources.
>
> Thanks.
>
> --
> Bobman
>
>
> On Tue, Apr 22, 2008 at 9:58 AM, Bob Paige <bo...@gmail.com> wrote:
>
>> Murray,
>>
>> I have confirmed it is not a browser caching bug by (as you suggest) using
>> shift-load in Firefox.
>>
>> I have not tried debugging from sources, but I'll try that when I have a
>> chance and let you know what I find.
>>
>> --
>> Bobma
>>
>>
>> On Tue, Apr 22, 2008 at 9:13 AM, Murray Altheim <mu...@altheim.com>
>> wrote:
>>
>>> Bob Paige wrote:
>>>
>>>> Murray,
>>>>
>>>> Thanks for the quick fix! It works now and I am experimenting with it.
>>>>
>>>
>>> Hi Bob,
>>>
>>> Good to hear.
>>>
>>>  One odd thing I've found: the HasTagOf doesn't seem to always work.
>>>>
>>>> 1. create page 'Project' with:
>>>> Main page of the Project.
>>>> [{HasTagOf Project}]
>>>>
>>>
>>> a query? or do you mean
>>>
>>>  [{Tag Project}]
>>>
>>> or
>>>
>>>  [{Tags Project}]
>>>
>>> (same thing.)
>>>
>>>  2. create page 'ProjectPage1' with:
>>>> This is Page 1 of the project
>>>> [{Tag Project Project1Requirements}]
>>>>
>>>> 3. create page 'Project1Requirements' with:
>>>> Requirements for Project1
>>>> [{HasTagOf Project1Requirements}]
>>>>
>>>> The first few times I viewed the 'Project1Requirements' page it said
>>>> there
>>>> were no pages with that tag. About the 5th time I viewed it the link to
>>>> ProjectPage1 appeared.
>>>>
>>>> Is this a plugin issue or a browser-caching issue?
>>>>
>>>
>>> It may even be a TagManager caching issue. There's a
>>> ceryle.tagmanager.usecache
>>> property that can be set to enable or disable caching (see javadocs for
>>> details).
>>>
>>> Note that the TagManager crawls all the wiki pages initially, so be sure
>>> to
>>> give it a bit of time before you start testing. You may wish to
>>> instrument
>>> the TagManager with log or System.err calls to see what's going on. Be
>>> sure
>>> you're actually receiving the wiki events indicating the page contents
>>> have
>>> changed. There's a number of possible issues. It's interesting that if
>>> you
>>> wait long enough things seem to sort themselves out. If you're using
>>> FireFox
>>> you may try shift-clicking the refresh button (if I'm not mistaken that
>>> forces a refresh without using the cache), or turn browser caching off to
>>> see if that makes any difference. There is an initial delay before
>>> crawling
>>> the site for the first time but the TagManager doesn't otherwise have any
>>> built-in delays.
>>>
>>>  I can reproduce it by removing the 'Project' tag from ProjectPage1 and
>>>> viewing the 'Project' page. It immediately showed the correct result of
>>>> 'no
>>>> pages', but after adding the Project tag back again, it took a while for
>>>> it
>>>> to show up again.
>>>>
>>>
>>> That *sounds* like caching, but without some logs or something I don't
>>> know offhand.
>>>
>>> I have noted a couple of bugs with the HasTagOf plugin that are related
>>> to logic, not sure if this is a bug or not.
>>>
>>> Murray
>>>
>>>
>>> ...........................................................................
>>> Murray Altheim <murray07 at altheim.com>                           ===
>>>  = =
>>> http://www.altheim.com/murray/                                     = =
>>>  ===
>>> SGML Grease Monkey, Banjo Player, W>antanabe Zen Monk               = =
>>>  = =
>>>
>>>
>>>      Boundless wind and moon - the eye within eyes,
>>>      Inexhaustible heaven and earth - the light beyond light,
>>>      The willow dark, the flower bright - ten thousand houses,
>>>      Knock at any door - there's one who will respond.
>>>                                      -- The Blue Cliff Record
>>>
>>
>>
>

Re: Tagging Support for JSPWiki (Was: groups or categories?)

Posted by Bob Paige <bo...@gmail.com>.
Murray,

Sorry for taking so long in getting back to this, but I am looking at
JSPWiki and the TagPlugin again. I would like to debug the problem I am
having, but I can't find the sources for your plugin. I have the
ceryle-tag-plugin-20080422.zip from the web site, but no sources.

Thanks.

-- 
Bobman

On Tue, Apr 22, 2008 at 9:58 AM, Bob Paige <bo...@gmail.com> wrote:

> Murray,
>
> I have confirmed it is not a browser caching bug by (as you suggest) using
> shift-load in Firefox.
>
> I have not tried debugging from sources, but I'll try that when I have a
> chance and let you know what I find.
>
> --
> Bobma
>
>
> On Tue, Apr 22, 2008 at 9:13 AM, Murray Altheim <mu...@altheim.com>
> wrote:
>
>> Bob Paige wrote:
>>
>>> Murray,
>>>
>>> Thanks for the quick fix! It works now and I am experimenting with it.
>>>
>>
>> Hi Bob,
>>
>> Good to hear.
>>
>>  One odd thing I've found: the HasTagOf doesn't seem to always work.
>>>
>>> 1. create page 'Project' with:
>>> Main page of the Project.
>>> [{HasTagOf Project}]
>>>
>>
>> a query? or do you mean
>>
>>  [{Tag Project}]
>>
>> or
>>
>>  [{Tags Project}]
>>
>> (same thing.)
>>
>>  2. create page 'ProjectPage1' with:
>>> This is Page 1 of the project
>>> [{Tag Project Project1Requirements}]
>>>
>>> 3. create page 'Project1Requirements' with:
>>> Requirements for Project1
>>> [{HasTagOf Project1Requirements}]
>>>
>>> The first few times I viewed the 'Project1Requirements' page it said
>>> there
>>> were no pages with that tag. About the 5th time I viewed it the link to
>>> ProjectPage1 appeared.
>>>
>>> Is this a plugin issue or a browser-caching issue?
>>>
>>
>> It may even be a TagManager caching issue. There's a
>> ceryle.tagmanager.usecache
>> property that can be set to enable or disable caching (see javadocs for
>> details).
>>
>> Note that the TagManager crawls all the wiki pages initially, so be sure
>> to
>> give it a bit of time before you start testing. You may wish to instrument
>> the TagManager with log or System.err calls to see what's going on. Be
>> sure
>> you're actually receiving the wiki events indicating the page contents
>> have
>> changed. There's a number of possible issues. It's interesting that if you
>> wait long enough things seem to sort themselves out. If you're using
>> FireFox
>> you may try shift-clicking the refresh button (if I'm not mistaken that
>> forces a refresh without using the cache), or turn browser caching off to
>> see if that makes any difference. There is an initial delay before
>> crawling
>> the site for the first time but the TagManager doesn't otherwise have any
>> built-in delays.
>>
>>  I can reproduce it by removing the 'Project' tag from ProjectPage1 and
>>> viewing the 'Project' page. It immediately showed the correct result of
>>> 'no
>>> pages', but after adding the Project tag back again, it took a while for
>>> it
>>> to show up again.
>>>
>>
>> That *sounds* like caching, but without some logs or something I don't
>> know offhand.
>>
>> I have noted a couple of bugs with the HasTagOf plugin that are related
>> to logic, not sure if this is a bug or not.
>>
>> Murray
>>
>>
>> ...........................................................................
>> Murray Altheim <murray07 at altheim.com>                           ===  =
>> =
>> http://www.altheim.com/murray/                                     = =
>>  ===
>> SGML Grease Monkey, Banjo Player, W>antanabe Zen Monk               = =  =
>> =
>>
>>
>>      Boundless wind and moon - the eye within eyes,
>>      Inexhaustible heaven and earth - the light beyond light,
>>      The willow dark, the flower bright - ten thousand houses,
>>      Knock at any door - there's one who will respond.
>>                                      -- The Blue Cliff Record
>>
>
>

Re: Tagging Support for JSPWiki (Was: groups or categories?)

Posted by Bob Paige <bo...@gmail.com>.
Murray,

I have confirmed it is not a browser caching bug by (as you suggest) using
shift-load in Firefox.

I have not tried debugging from sources, but I'll try that when I have a
chance and let you know what I find.

-- 
Bobma

On Tue, Apr 22, 2008 at 9:13 AM, Murray Altheim <mu...@altheim.com>
wrote:

> Bob Paige wrote:
>
> > Murray,
> >
> > Thanks for the quick fix! It works now and I am experimenting with it.
> >
>
> Hi Bob,
>
> Good to hear.
>
>  One odd thing I've found: the HasTagOf doesn't seem to always work.
> >
> > 1. create page 'Project' with:
> > Main page of the Project.
> > [{HasTagOf Project}]
> >
>
> a query? or do you mean
>
>  [{Tag Project}]
>
> or
>
>  [{Tags Project}]
>
> (same thing.)
>
>  2. create page 'ProjectPage1' with:
> > This is Page 1 of the project
> > [{Tag Project Project1Requirements}]
> >
> > 3. create page 'Project1Requirements' with:
> > Requirements for Project1
> > [{HasTagOf Project1Requirements}]
> >
> > The first few times I viewed the 'Project1Requirements' page it said
> > there
> > were no pages with that tag. About the 5th time I viewed it the link to
> > ProjectPage1 appeared.
> >
> > Is this a plugin issue or a browser-caching issue?
> >
>
> It may even be a TagManager caching issue. There's a
> ceryle.tagmanager.usecache
> property that can be set to enable or disable caching (see javadocs for
> details).
>
> Note that the TagManager crawls all the wiki pages initially, so be sure
> to
> give it a bit of time before you start testing. You may wish to instrument
> the TagManager with log or System.err calls to see what's going on. Be
> sure
> you're actually receiving the wiki events indicating the page contents
> have
> changed. There's a number of possible issues. It's interesting that if you
> wait long enough things seem to sort themselves out. If you're using
> FireFox
> you may try shift-clicking the refresh button (if I'm not mistaken that
> forces a refresh without using the cache), or turn browser caching off to
> see if that makes any difference. There is an initial delay before
> crawling
> the site for the first time but the TagManager doesn't otherwise have any
> built-in delays.
>
>  I can reproduce it by removing the 'Project' tag from ProjectPage1 and
> > viewing the 'Project' page. It immediately showed the correct result of
> > 'no
> > pages', but after adding the Project tag back again, it took a while for
> > it
> > to show up again.
> >
>
> That *sounds* like caching, but without some logs or something I don't
> know offhand.
>
> I have noted a couple of bugs with the HasTagOf plugin that are related
> to logic, not sure if this is a bug or not.
>
> Murray
>
>
> ...........................................................................
> Murray Altheim <murray07 at altheim.com>                           ===  =
> =
> http://www.altheim.com/murray/                                     = =
>  ===
> SGML Grease Monkey, Banjo Player, W>antanabe Zen Monk               = =  =
> =
>
>
>      Boundless wind and moon - the eye within eyes,
>      Inexhaustible heaven and earth - the light beyond light,
>      The willow dark, the flower bright - ten thousand houses,
>      Knock at any door - there's one who will respond.
>                                      -- The Blue Cliff Record
>

Re: Tagging Support for JSPWiki (Was: groups or categories?)

Posted by Murray Altheim <mu...@altheim.com>.
Bob Paige wrote:
> Murray,
> 
> Thanks for the quick fix! It works now and I am experimenting with it.

Hi Bob,

Good to hear.

> One odd thing I've found: the HasTagOf doesn't seem to always work.
> 
> 1. create page 'Project' with:
> Main page of the Project.
> [{HasTagOf Project}]

a query? or do you mean

   [{Tag Project}]

or

   [{Tags Project}]

(same thing.)

> 2. create page 'ProjectPage1' with:
> This is Page 1 of the project
> [{Tag Project Project1Requirements}]
> 
> 3. create page 'Project1Requirements' with:
> Requirements for Project1
> [{HasTagOf Project1Requirements}]
> 
> The first few times I viewed the 'Project1Requirements' page it said there
> were no pages with that tag. About the 5th time I viewed it the link to
> ProjectPage1 appeared.
> 
> Is this a plugin issue or a browser-caching issue?

It may even be a TagManager caching issue. There's a ceryle.tagmanager.usecache
property that can be set to enable or disable caching (see javadocs for details).

Note that the TagManager crawls all the wiki pages initially, so be sure to
give it a bit of time before you start testing. You may wish to instrument
the TagManager with log or System.err calls to see what's going on. Be sure
you're actually receiving the wiki events indicating the page contents have
changed. There's a number of possible issues. It's interesting that if you
wait long enough things seem to sort themselves out. If you're using FireFox
you may try shift-clicking the refresh button (if I'm not mistaken that
forces a refresh without using the cache), or turn browser caching off to
see if that makes any difference. There is an initial delay before crawling
the site for the first time but the TagManager doesn't otherwise have any
built-in delays.

> I can reproduce it by removing the 'Project' tag from ProjectPage1 and
> viewing the 'Project' page. It immediately showed the correct result of 'no
> pages', but after adding the Project tag back again, it took a while for it
> to show up again.

That *sounds* like caching, but without some logs or something I don't
know offhand.

I have noted a couple of bugs with the HasTagOf plugin that are related
to logic, not sure if this is a bug or not.

Murray

...........................................................................
Murray Altheim <murray07 at altheim.com>                           ===  = =
http://www.altheim.com/murray/                                     = =  ===
SGML Grease Monkey, Banjo Player, W>antanabe Zen Monk               = =  = =

       Boundless wind and moon - the eye within eyes,
       Inexhaustible heaven and earth - the light beyond light,
       The willow dark, the flower bright - ten thousand houses,
       Knock at any door - there's one who will respond.
                                       -- The Blue Cliff Record

Re: Tagging Support for JSPWiki (Was: groups or categories?)

Posted by Bob Paige <bo...@gmail.com>.
Murray,

Thanks for the quick fix! It works now and I am experimenting with it.

One odd thing I've found: the HasTagOf doesn't seem to always work.

1. create page 'Project' with:
Main page of the Project.
[{HasTagOf Project}]

2. create page 'ProjectPage1' with:
This is Page 1 of the project
[{Tag Project Project1Requirements}]

3. create page 'Project1Requirements' with:
Requirements for Project1
[{HasTagOf Project1Requirements}]

The first few times I viewed the 'Project1Requirements' page it said there
were no pages with that tag. About the 5th time I viewed it the link to
ProjectPage1 appeared.

Is this a plugin issue or a browser-caching issue?

I can reproduce it by removing the 'Project' tag from ProjectPage1 and
viewing the 'Project' page. It immediately showed the correct result of 'no
pages', but after adding the Project tag back again, it took a while for it
to show up again.

-- 
Bobman

On Mon, Apr 21, 2008 at 6:07 PM, Murray Altheim <mu...@altheim.com>
wrote:

> Okay, I've fixed the plugin name aliasing issue and just uploaded
> both the jar file and as a zip package including icons and CSS
> stylesheet. The fixed files are dated 20080422. See
>
>   See section "Distribution"
>   http://purl.org/ceryle/wiki/Wiki.jsp?page=WikiTags
>
>   See section "Download the Wiki Tag Distribution"
>   http://purl.org/ceryle/wiki/Wiki.jsp?page=InstallingWikiTags
>
> resp.
>
> [I'm planning on updating the CeryleWiki from its current JSPWiki
> v2.4.102 to the latest stable 2.6.2 soon and hopefully can get that
> pesky ShortURLConstructor finally working. It'd be nice to have
> shorter URLs.]
>
> Murray
>
> Bob Paige wrote:
>
> > Murray,
> >
> > I've installed the tags plugin on my fresh JSPWiki install as described
> > on
> > the above page, but I'm having a few problems.
> >
> > My first test was to create a page called 'Project' and add the
> > following to
> > it (after a simple one-line description):
> > [{HasTagOf Project}]
> >
> > This resulted in a ClassNotFoundException looking for
> > org/ceryle/wiki/plugin/assertion/HasAssertedTagOfPlugin
> >
> > I get a similar error (looking for some assertion class) if I use the
> > 'Tag'
> > call.
> >
>
>
> ...........................................................................
> Murray Altheim <murray07 at altheim.com>                           ===  =
> =
> http://www.altheim.com/murray/                                     = =
>  ===
> SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               = =  =
> =
>
>      Boundless wind and moon - the eye within eyes,
>      Inexhaustible heaven and earth - the light beyond light,
>      The willow dark, the flower bright - ten thousand houses,
>      Knock at any door - there's one who will respond.
>                                      -- The Blue Cliff Record
>

Re: Tagging Support for JSPWiki (Was: groups or categories?)

Posted by Murray Altheim <mu...@altheim.com>.
Okay, I've fixed the plugin name aliasing issue and just uploaded
both the jar file and as a zip package including icons and CSS
stylesheet. The fixed files are dated 20080422. See

    See section "Distribution"
    http://purl.org/ceryle/wiki/Wiki.jsp?page=WikiTags

    See section "Download the Wiki Tag Distribution"
    http://purl.org/ceryle/wiki/Wiki.jsp?page=InstallingWikiTags

resp.

[I'm planning on updating the CeryleWiki from its current JSPWiki
v2.4.102 to the latest stable 2.6.2 soon and hopefully can get that
pesky ShortURLConstructor finally working. It'd be nice to have
shorter URLs.]

Murray

Bob Paige wrote:
> Murray,
> 
> I've installed the tags plugin on my fresh JSPWiki install as described on
> the above page, but I'm having a few problems.
> 
> My first test was to create a page called 'Project' and add the following to
> it (after a simple one-line description):
> [{HasTagOf Project}]
> 
> This resulted in a ClassNotFoundException looking for
> org/ceryle/wiki/plugin/assertion/HasAssertedTagOfPlugin
> 
> I get a similar error (looking for some assertion class) if I use the 'Tag'
> call.

...........................................................................
Murray Altheim <murray07 at altheim.com>                           ===  = =
http://www.altheim.com/murray/                                     = =  ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               = =  = =

       Boundless wind and moon - the eye within eyes,
       Inexhaustible heaven and earth - the light beyond light,
       The willow dark, the flower bright - ten thousand houses,
       Knock at any door - there's one who will respond.
                                       -- The Blue Cliff Record

Re: Tagging Support for JSPWiki (Was: groups or categories?)

Posted by Murray Altheim <mu...@altheim.com>.
Bob Paige wrote:
> Murray,
> 
> I've installed the tags plugin on my fresh JSPWiki install as
> described on the above page, but I'm having a few problems.
> 
> My first test was to create a page called 'Project' and add 
> the following to it (after a simple one-line description):
> [{HasTagOf Project}]

Hi Bob,

These are likely aliasing problems with a ready solution.

But first of all, to declare a tag you'd use the Tag plugin itself. The
HasTagOf plugin is a query on existing tags, so to declare a "Project"
tag on a page you'd more likely want to use

  [{Tag Project}]

> This resulted in a ClassNotFoundException looking for
> org/ceryle/wiki/plugin/assertion/HasAssertedTagOfPlugin
> 
> I get a similar error (looking for some assertion class) if I use
> the 'Tag' call.
> 
> Looks like this is dependent on your assertion framework?

Only in the sense that I've forgotten to change the commenting in
the aliasing classes, since what I'm doing is changing which classes
are called when "[{Tag}]" and "[{HasTagOf}]" are encountered.

When using the Assertion Framework, the classes Tag.java and
HasTagOf.java are aliases to (i.e., extend) AssertTagPlugin.java
and HasAssertedTagOfPlugin.java (resp.). When the Assertion
Framework is not in use these should extend TagPlugin and
HasTagOfPlugin (resp/). If you look in the aliasing files you
can see the commenting. If you change the commenting and
recompile things will work. I'll go ahead and make those changes
and post a new distribution later today since the default should
be to not use the Assertion Framework (I just happen to always
be using it in my development work so I'd not noticed). I'll also
try to improve the documentation on which plugin to use when.

Thanks for pointing out this error,

Murray

...........................................................................
Murray Altheim <murray07 at altheim.com>                           ===  = =
http://www.altheim.com/murray/                                     = =  ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               = =  = =

       Boundless wind and moon - the eye within eyes,
       Inexhaustible heaven and earth - the light beyond light,
       The willow dark, the flower bright - ten thousand houses,
       Knock at any door - there's one who will respond.
                                       -- The Blue Cliff Record

Re: Tagging Support for JSPWiki (Was: groups or categories?)

Posted by Bob Paige <bo...@gmail.com>.
Murray,

I've installed the tags plugin on my fresh JSPWiki install as described on
the above page, but I'm having a few problems.

My first test was to create a page called 'Project' and add the following to
it (after a simple one-line description):
[{HasTagOf Project}]

This resulted in a ClassNotFoundException looking for
org/ceryle/wiki/plugin/assertion/HasAssertedTagOfPlugin

I get a similar error (looking for some assertion class) if I use the 'Tag'
call.

Looks like this is dependent on your assertion framework?

-- 
Bobman


On Mon, Apr 21, 2008 at 3:39 AM, Murray Altheim <mu...@altheim.com>
wrote:

> Alexey Kakunin wrote:
>
> > Murray
> > Seems you did a great job - we just planned to implement oun tagging
> > in our EmForge (http://www.emforge.org) project - but seems it will
> > be better to reuse it.
> >
> [...]
>
> Alexey,
>
> Turns out I'd already created an ant target for the TagPlugin and
> posted a distribution on 2007-08-03, but I've just updated that
> with a new distribution using the current code. For details check
> out the WikiTags page at:
>
>   http://altheim.4java.ca/ceryle/wiki/Wiki.jsp?page=WikiTags
>
> I believe the current code should be functional as a standalone
> (i.e., I've briefly checked dependencies) but would appreciate
> feedback if this doesn't work. There is a link to detailed
> installation instructions (including icons and stylesheet) on the
> above page.
>
> Feedback welcome.
>
> Cheers,
>
> Murray
>
>
> --
>
>
> ...........................................................................
> Murray Altheim <murray07 at altheim.com>                           ===  =
> =
> http://www.altheim.com/murray/                                     = =
>  ===
> SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               = =  =
> =
>
>      Boundless wind and moon - the eye within eyes,
>      Inexhaustible heaven and earth - the light beyond light,
>      The willow dark, the flower bright - ten thousand houses,
>      Knock at any door - there's one who will respond.
>                                      -- The Blue Cliff Record
>

Tagging Support for JSPWiki (Was: groups or categories?)

Posted by Murray Altheim <mu...@altheim.com>.
Alexey Kakunin wrote:
> Murray
> Seems you did a great job - we just planned to implement oun tagging
> in our EmForge (http://www.emforge.org) project - but seems it will
> be better to reuse it.
[...]

Alexey,

Turns out I'd already created an ant target for the TagPlugin and
posted a distribution on 2007-08-03, but I've just updated that
with a new distribution using the current code. For details check
out the WikiTags page at:

    http://altheim.4java.ca/ceryle/wiki/Wiki.jsp?page=WikiTags

I believe the current code should be functional as a standalone
(i.e., I've briefly checked dependencies) but would appreciate
feedback if this doesn't work. There is a link to detailed
installation instructions (including icons and stylesheet) on the
above page.

Feedback welcome.

Cheers,

Murray


-- 

...........................................................................
Murray Altheim <murray07 at altheim.com>                           ===  = =
http://www.altheim.com/murray/                                     = =  ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               = =  = =

       Boundless wind and moon - the eye within eyes,
       Inexhaustible heaven and earth - the light beyond light,
       The willow dark, the flower bright - ten thousand houses,
       Knock at any door - there's one who will respond.
                                       -- The Blue Cliff Record

Re: groups or categories?

Posted by Murray Altheim <mu...@altheim.com>.
Alexey Kakunin wrote:
> Murray
> Seems you did a great job - we just planned to implement oun tagging in our
> EmForge (http://www.emforge.org) project - but seems it will be better to
> reuse it.

Hi Alexey,

Yes, I'm always in favour of reuse when possible (no sense in spending
time on something that's already been accomplished), and I'm happy to
see someone using the TagPlugin as it would be good to get it tested
more thoroughly since we're also planning on using it in a production
environment within the next six months.

> I have some implementation questions:
> 1. Do you think it is hard to extract TagPlugin and TagCloudPlugin from
> Ceryle Project?

I'm happy to create a separate distribution next time I do some work
on it. This week is a bit overstretched so no promises for now but I
can probably manage it next weekend or early next week.

> 2. Is it ok to use their sources in another LGPL project (EmForge)?

All of the Ceryle project code is distributed under an Apache 2.0
license.

> 3. How tags are stored? Is it possible to add/remove/control tags
> programattically from our source-code (for example we will wrtite own
> control to add tags)

All tags are processed by a TagManager class, see

    TagManager
    http://www.altheim.com/ceryle/wiki/Wiki.jsp?page=TagManager

    TagManager API
    http://www.altheim.com/ceryle/api/index.html?org/ceryle/wiki/plugin/tag/TagManager.html

If there are specific features that you feel necessary I'm happy to
discuss them, as I might find those same features valuable in our
implementation -- we've not got that far along in the design so I'd
appreciate hearing about holes in the design/API.

> Thank you for any advise.

You're welcome.

Murray

...........................................................................
Murray Altheim <murray07 at altheim.com>                           ===  = =
http://www.altheim.com/murray/                                     = =  ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               = =  = =

       Boundless wind and moon - the eye within eyes,
       Inexhaustible heaven and earth - the light beyond light,
       The willow dark, the flower bright - ten thousand houses,
       Knock at any door - there's one who will respond.
                                       -- The Blue Cliff Record

Re: groups or categories?

Posted by Alexey Kakunin <ak...@emdev.ru>.
Murray
Seems you did a great job - we just planned to implement oun tagging in our
EmForge (http://www.emforge.org) project - but seems it will be better to
reuse it.

I have some implementation questions:
1. Do you think it is hard to extract TagPlugin and TagCloudPlugin from
Ceryle Project?
2. Is it ok to use their sources in another LGPL project (EmForge)?
3. How tags are stored? Is it possible to add/remove/control tags
programattically from our source-code (for example we will wrtite own
control to add tags)

Thank you for any advise.

2008/4/19, Murray Altheim <mu...@altheim.com>:
>
> Bob Paige wrote:
>
> > I am new to JSPWiki and am trying to setup a wiki for our development
> > group.
> >
> > Having used TiddlyWiki extensively (http://www.tiddlywiki.com) I am used
> > to
> > tagging individual pages and referencing scripts in other pages to list
> > pages of that type. I wonder if JSPWiki has anything like this?
> >
> > For example, I can imagine creating a page and tagging it with
> > 'MainPage'. I
> > would then invoke some script from the LeftMenu page that automatically
> > lists all pages tagged with 'MainPage'. Thus, the left menu is dynamic
> > (in
> > addition to whatever static items I put there).
> >
>
> There's no native support for tagging in JSPWiki but there is a tag plugin
> that is part of the CeryleWikiPlugins:
>
>   Tag Plugin
>   http://www.altheim.com/ceryle/wiki/Wiki.jsp?page=TagPlugin
>
> This works either with or without the Assertion Framework I've been
> working on -- if part of the Assertion Framework the tags are handled
> as assertions of the form:
>
>   [{Assert [PageName] HasTag [TagName] }]
>
> There's also a TagCloudPlugin that works with the TagPlugin. There are
> examples shown on the CeryleWiki:
>
>    http://www.altheim.com/ceryle/wiki/Wiki.jsp?page=TagCloudPlugin
>
> This works with JSPWiki version 2.6 and likely a few versions prior,
> but there is no promises prior to 2.6. I will be updating it to work
> with 2.7+/2.8+.
>
> Murray
>
>
> ...........................................................................
> Murray Altheim <murray07 at altheim.com>                           ===  =
> =
> http://www.altheim.com/murray/                                     = =
>  ===
> SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               = =  =
> =
>
>      Boundless wind and moon - the eye within eyes,
>      Inexhaustible heaven and earth - the light beyond light,
>      The willow dark, the flower bright - ten thousand houses,
>      Knock at any door - there's one who will respond.
>                                      -- The Blue Cliff Record
>



-- 
With best regards,
Alexey Kakunin

Re: groups or categories?

Posted by Murray Altheim <mu...@altheim.com>.
Bob Paige wrote:
> I am new to JSPWiki and am trying to setup a wiki for our development group.
> 
> Having used TiddlyWiki extensively (http://www.tiddlywiki.com) I am used to
> tagging individual pages and referencing scripts in other pages to list
> pages of that type. I wonder if JSPWiki has anything like this?
> 
> For example, I can imagine creating a page and tagging it with 'MainPage'. I
> would then invoke some script from the LeftMenu page that automatically
> lists all pages tagged with 'MainPage'. Thus, the left menu is dynamic (in
> addition to whatever static items I put there).

There's no native support for tagging in JSPWiki but there is a tag plugin
that is part of the CeryleWikiPlugins:

    Tag Plugin
    http://www.altheim.com/ceryle/wiki/Wiki.jsp?page=TagPlugin

This works either with or without the Assertion Framework I've been
working on -- if part of the Assertion Framework the tags are handled
as assertions of the form:

    [{Assert [PageName] HasTag [TagName] }]

There's also a TagCloudPlugin that works with the TagPlugin. There are
examples shown on the CeryleWiki:

     http://www.altheim.com/ceryle/wiki/Wiki.jsp?page=TagCloudPlugin

This works with JSPWiki version 2.6 and likely a few versions prior,
but there is no promises prior to 2.6. I will be updating it to work
with 2.7+/2.8+.

Murray

...........................................................................
Murray Altheim <murray07 at altheim.com>                           ===  = =
http://www.altheim.com/murray/                                     = =  ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               = =  = =

       Boundless wind and moon - the eye within eyes,
       Inexhaustible heaven and earth - the light beyond light,
       The willow dark, the flower bright - ten thousand houses,
       Knock at any door - there's one who will respond.
                                       -- The Blue Cliff Record