Edit detail for GeneralDiscussion200310 revision 1 of 8

1 2 3 4 5 6 7 8
Editor: simon
Time: 2006/05/02 23:44:23 GMT+0
Note:

changed:
-
Archived GeneralDiscussion.




From unknown Wed Oct 1 03:47:58 -0700 2003
From: 
Date: Wed, 01 Oct 2003 03:47:58 -0700
Subject: Bewitched, bothered, and bewildered...
Message-ID: <20031001034758-0700@zwiki.org>
In-reply-to: <20021214171530-0800@zwiki.org>

OK, I am havign a hard time getting it. Is there a manual? A book? I am hacking away on my Zwiki, but I have no clue about how to start a new page? How is it done? Can someone send help to dlp@psu.edu?

From unknown Wed Oct 1 04:17:35 -0700 2003
From: 
Date: Wed, 01 Oct 2003 04:17:35 -0700
Subject: ZWIKI & Apache
Message-ID: <20031001041735-0700@zwiki.org>
In-reply-to: <20021214171530-0800@zwiki.org>

I might sound like blasphemic - but is there a way to run ZWiki on a apache ?

From DeanG Wed Oct 1 07:04:00 -0700 2003
From: DeanG
Date: Wed, 01 Oct 2003 07:04:00 -0700
Subject: ZWIKI & Apache
Message-ID: <20031001070400-0700@zwiki.org>
In-reply-to: <20031001041735-0700@zwiki.org>

Yes, and not blashphemic, but it's a Zope issue more than Zwiki. See http://www.google.com/search?q=zope+with+apache

From lauratrippi Wed Oct 1 13:03:04 -0700 2003
From: laura trippi
Date: Wed, 01 Oct 2003 13:03:04 -0700
Subject:  *clean* site! and re: mailing list
Message-ID: <1B9F1ACA-F44A-11D7-B17B-000A278FD74C@sfu.ca>
In-reply-to: <20031001112410-0700@zwiki.org>

Hi, Simon and all,

Zwiki.org is looking great! Major reno and much appreciated (I'm trying 
not to be a Pollyanna here, can you tell?).

Quick note: the link from FrontPage on "mailing list" goes here:

http://zwiki.org/[FAQ]#How%20does%20subscription%20work?

which doesn't mention anything about subscribing to the whole wiki 
mailing list. The WikiMail page says: "to learn how to use this site's 
mail features, see the FrontPage." I ended up going to my draft (not 
quite orphaned and badly named) WikiMailAtZwikiDotOrg to find the link 
to the all-wiki mailman list (to change my options).

Ah, I see that link lives on the subscribe form. Maybe edit FrontPage 
to read::

  Most discussion happens on GeneralDiscussion. To monitor activity 
across the site,
  subscribe to the "whole wiki":http://zwiki.org/mailman/listinfo/zwiki 
list.

Since I'm not super active on the site, I'm never sure whether I should 
just throw a suggested onto a page and let Simon or someone edit it out 
if it's unwanted...?

thanks,


-LaT


From DeanG Wed Oct 1 13:10:13 -0700 2003
From: DeanG
Date: Wed, 01 Oct 2003 13:10:13 -0700
Subject: comment without content
Message-ID: <20031001131013-0700@zwiki.org>
In-reply-to: <20021214171530-0800@zwiki.org>

Forgive my redundancy, but should comments without a subject and/or body be posted?  Zwiki seem to get a few each week.

From DanMcmullen Wed Oct 1 15:27:19 -0700 2003
From: DanMcmullen
Date: Wed, 01 Oct 2003 15:27:19 -0700
Subject: comment without content
Message-ID: <20031001152719-0700@zwiki.org>
In-reply-to: <20021214171530-0800@zwiki.org>

perhaps labelling the comment button "add this comment" would clarify things.  (as well as doing nothing for empty comments.)

From DeanGoodmanson Thu Oct 2 07:37:50 -0700 2003
From: DeanGoodmanson
Date: Thu, 02 Oct 2003 07:37:50 -0700
Subject: navigation tags
Message-ID: <20031002073750-0700@zwiki.org>
In-reply-to: <20021214171530-0800@zwiki.org>

Would the new navigation be well augmented with link tags? http://extensionroom.mozdev.org/more-info.php/linktoolbar

Resources: http://lists.w3.org/Archives/Public/www-html/2001Oct/0026.html , http://www.w3.org/TR/html4/types.html#type-links

From DanMcmullen Thu Oct 2 15:00:10 -0700 2003
From: DanMcmullen
Date: Thu, 02 Oct 2003 15:00:10 -0700
Subject: ZWiki hosting?
Message-ID: <20031002150010-0700@zwiki.org>
In-reply-to: <20021214171530-0800@zwiki.org>

hello all!  i'm about ready to buy some web space somewhere that will let me install a customized ZWiki for a couple of prototype ecommunity sites i'm involved in.  Zettai.net's "!WebMaster" plan looks like it will do this, at $290/yr.  (http://www.zettai.net/ZopeHosting/)  does anyone have any experience w/ them, good or bad?  any other options worth considering?  tia, dan


From DeanG Thu Oct 2 15:23:22 -0700 2003
From: DeanG
Date: Thu, 02 Oct 2003 15:23:22 -0700
Subject: ZWiki hosting?
Message-ID: <20031002152322-0700@zwiki.org>
In-reply-to: <20031002150010-0700@zwiki.org>

Did you, or your mail app add the escapes to the brackets on that URL?  It caused the link to fail (easy correction, though.)  Test 2: <http://www.zettai.net/ZopeHosting/>  <-- that should be recognized, as brackets have no place in URL's and come through outlook copy/pastes like that.  I think that will actually be hidden thinking it's an SGML tag.

From DanMcmullen Thu Oct 2 15:57:54 -0700 2003
From: DanMcmullen
Date: Thu, 02 Oct 2003 15:57:54 -0700
Subject: ZWiki hosting?
Message-ID: <20031002155754-0700@zwiki.org>
In-reply-to: <20031002152322-0700@zwiki.org>

interesting.  i did that manually in a web post.  it's just a convention i use to disambiguate where URLs begin/end.  will avoid it in the future.

From lauratrippi Fri Oct 3 00:43:48 -0700 2003
From: laura trippi
Date: Fri, 03 Oct 2003 00:43:48 -0700
Subject:  navigation tags
Message-ID: <4E1164B9-F575-11D7-AF0D-000A278FD74C@sfu.ca>
In-reply-to: <20031002073750-0700@zwiki.org>

Dean, do you mean the new nav links on the upper left?

> Would the new navigation be well augmented with link tags?
> http://extensionroom.mozdev.org/more-info.php/linktoolbar

You mean putting it in a div w/nice styles? I might not be getting 
this, but something to help the different links pop out would be good. 
They kind of blur together as they are.

I was giving a demo for a class last week and wanted to show them 
"RecentChanges" at zwiki.org and couldn't find it. =}

I wasn't exactly focusing fully at the time but, still.

Hope that's not totally off topic.

--LaT


From DeanGoodmanson Fri Oct 3 09:06:35 -0700 2003
From: DeanGoodmanson
Date: Fri, 03 Oct 2003 09:06:35 -0700
Subject: navigation tags
Message-ID: <20031003090635-0700@zwiki.org>
In-reply-to: <4E1164B9-F575-11D7-AF0D-000A278FD74C@sfu.ca>

> You mean putting it in a div w/nice styles? 

Now that you mention it, that is a higher priority to me, but not what I was getting at.  There are &lt;link> tags that can get added for book-like sites that work with Mozilla & co. navigation bars.  When I looked at it a year ago it was OK but we didn't have the next/previous stuff that is there now.

I agree that the top could use more word seperation.  I like the text, though. I don't like MoinMoin's micro-toolbar of links.

Would you mind posting an example of how you might div up the header? It might help my momentum. :-}

From danmcmullen Sat Oct 4 09:49:51 -0700 2003
From: dan mcmullen
Date: Sat, 04 Oct 2003 09:49:51 -0700
Subject:  stylin' ZWiki (was: navigation tags)
Message-ID: <3F7EFAFE.6020107@pacific.net>
In-reply-to: <E1A5oJC-000Gbl-02@imeme>

navigation tag formatting seems to me to be part of a larger issue of 
how to make ZWiki more "stylesheet friendly" out of the ..., er, tarball 
as it were.  rendering the nav tags in a div is an instance of this.

more generally, removing "hard coded" style specs embedded in particular 
elements of the page templates would help a lot.  replacing them with 
functionally based class tags would be good.  this might make it 
necessary to have a stylesheet by default.

another nice thing might be to refactor wikipage.pt as a collection 
metal macros for the various parts of the page.  this could 
significantly simplify wikipage.pt, making customization easier.

this is an area i'm interested in & i'd be willing to help.  also, might 
this be better discussed over in ZwikiOneReleaseDiscussion?  seems it's 
part of the question of "what are the *really* necessary new features & 
fixes?" for after 0.23.


From lauratrippi Sat Oct 4 14:29:00 -0700 2003
From: laura trippi
Date: Sat, 04 Oct 2003 14:29:00 -0700
Subject:  stylin' ZWiki
Message-ID: <BD4F32F6-F6B1-11D7-BACC-000A278FD74C@sfu.ca>
In-reply-to: <3F7EFAFE.6020107@pacific.net>

On Saturday, October 4, 2003, at 09:53 AM, dan mcmullen wrote:

> navigation tag formatting seems to me to be part of a larger issue of 
> how to make ZWiki more "stylesheet friendly" out of the ..., er, 
> tarball as it were.

Yes! Thanks for bringing that up, Dan. I agree it's best to tackle the 
nav tags w/in the context of the larger style sheet issue instead of 
piecemeal.

> more generally, removing "hard coded" style specs embedded in 
> particular elements of the page templates would help a lot.  replacing 
> them with functionally based class tags would be good.  this might 
> make it necessary to have a stylesheet by default.

Yes, and I think having a (simple, clear) zwiki style sheet by default 
is *fine*. By now, style sheets are, shall say, very much *embedded* in 
web coding practice. Unfortunately I can't help with this at the 
moment, and don't have a solid sense of how much effort would be 
involved.

Is there anyone else who can help? I'm swamped till the end of the 
semester....

> another nice thing might be to refactor wikipage.pt as a collection 
> metal macros for the various parts of the page.  this could 
> significantly simplify wikipage.pt, making customization easier.

Yes, otherwise, it's not really a ZPT so much as a DTML doc inside a 
page template? But since I have yet to grasp ZPT, and I'm no developer, 
I'm not really in a position to be lobbying for it. =}

> this is an area i'm interested in & i'd be willing to help.  also, 
> might this be better discussed over in ZwikiOneReleaseDiscussion?  
> seems it's part of the question of "what are the *really* necessary 
> new features & fixes?" for after 0.23.

Makes sense to me but I'll leave that to Simon, Dean et al: What do you 
think?

--LaT


From SimonMichael Sat Oct 4 20:38:34 -0700 2003
From: SimonMichael
Date: Sat, 04 Oct 2003 20:38:34 -0700
Subject: hello, Zwiki 0.23rc4 released
Message-ID: <20031004203834-0700@zwiki.org>
In-reply-to: <20021214171530-0800@zwiki.org>

I'm back from several wonderful days in the mountains. Meanwhile - excellent work, bug squad! No longer the restful trickle of issues I've been used to.. I'll need to adjust.. this is very good. 

Laura it's good to hear you are finding the site cleaner. Your subscription clarification on FrontPage sounds good, please go ahead with that kind of thing, we'll refine it further if needed. 
I've tried to make FrontPage as simple as possible but it needs to explain things clearly.

Now, I've just chewed up a long saturday with great ease! :-/ 
More replies when bandwidth allows. Keep on the good work y'all.

Zwiki 0.23rc4 
2003-10-04

	* provide all the metadata recommended at
	  http://zwiki.org/ZwikiAndZCatalog in page brains. This may fix
	  some problems.

	* call setupCatalog automatically from the CMF install script, to
	  simplify plone installation. This adds all the indexes and
	  metadata that Zwiki expects from a catalog (see setupCatalog or
	  http://zwiki.org/ZwikiAndZCatalog for a list). NB these will
	  apply for all catalogable plone objects, not just zwiki pages,
	  but will (hopefully!) be empty/harmless for the non-pages.

	* ensure pages() always returns brains with complete metadata,
	  even when a partial catalog is present. This allows a number of
	  things to keep working (at the cost of more zodb access), eg
	  creating/renaming in a cmf/plone site where setupCatalog has not
	  been called (IssueNo0623 and others)

	* saving a page via ftp or webdav after removing the blank line
	  between headers and text was giving an error. (Dan !McMullen)
	  This should fix the error (but may not do what's wanted..)

	* convert more unit tests to ZopeTestCase; make MockZWikiPage a
	  bit more useful


From SimonMichael Sat Oct 4 21:10:45 -0700 2003
From: SimonMichael
Date: Sat, 04 Oct 2003 21:10:45 -0700
Subject: stylin' ZWiki
Message-ID: <20031004211045-0700@zwiki.org>
In-reply-to: <3F7EFAFE.6020107@pacific.net>

> might this be better discussed over in ZwikiOneReleaseDiscussion?

Time for another "topic judgment".. (I guess we see these on mailing lists too, but less often.) 
That page mentions (via SimonsPlan2004) some general stylesheet things as part of the plan for 1.0. I would say that page is good for discussing what major things will/will not be in 1.0, and the timing of same. I would discuss specific stylesheet issues here (or on one of the more appropriate stylesheet pages, if it exists). Would anyone care to review and clean up the stylesheet pages ? I think the major ones are listed on WikiCleanup.

From SimonMichael Sun Oct 5 13:42:08 -0700 2003
From: SimonMichael
Date: Sun, 05 Oct 2003 13:42:08 -0700
Subject: 0.23rc5 released
Message-ID: <20031005134208-0700@zwiki.org>

Zwiki 0.23rc5 
2003-10-05

        * zwiki_plone: the experimental skin-based versions of DTML pages
	  are now generated automatically and the tracker has been added
	  (untested). These are: recentchanges, searchwiki, useroptions,
	  issuetracker, filterissues. 

	* put the single-thread-per-page code behind a 'fewer_threads'
	  option, disabled by default. 

	* first tests for CMF/Plone and page hierarchy; finally, a working
	  test for rename(), in CMF/non-CMF; fix a bug in rename where
	  children's parents field was not updated, leading to an error
	  when you tried to view that child

From SimonMichael Sun Oct 5 13:54:13 -0700 2003
From: SimonMichael
Date: Sun, 05 Oct 2003 13:54:13 -0700
Subject: Bewitched, bothered, and bewildered...
Message-ID: <20031005135413-0700@zwiki.org>
In-reply-to: <20031001034758-0700@zwiki.org>

Did you find the FrontPage ? HelpPage ? [FAQ] ? When you went there did they help ?

I want to know if the docs are failing so we can make them better.

From SimonMichael Sun Oct 5 14:04:05 -0700 2003
From: SimonMichael
Date: Sun, 05 Oct 2003 14:04:05 -0700
Subject: ZWiki hosting?
Message-ID: <20031005140405-0700@zwiki.org>
In-reply-to: <20031002150010-0700@zwiki.org>

I haven't used Zettai but they look good. I also like Imeme, though I'm not so fond of freebsd - what OS does Zettai use ?

From SimonMichael Sun Oct 5 14:05:40 -0700 2003
From: SimonMichael
Date: Sun, 05 Oct 2003 14:05:40 -0700
Subject: comment without content
Message-ID: <20031005140540-0700@zwiki.org>
In-reply-to: <20031001152719-0700@zwiki.org>

We have seen a surpising number of junk comments lately haven't we. If changing the add a comment button, how about just "add comment" ? I agree we should ignore a comment with blank subject and body if we don't already.

From SimonMichael Sun Oct 5 14:09:15 -0700 2003
From: SimonMichael
Date: Sun, 05 Oct 2003 14:09:15 -0700
Subject: navigation tags
Message-ID: <20031005140915-0700@zwiki.org>
In-reply-to: <4E1164B9-F575-11D7-AF0D-000A278FD74C@sfu.ca>

> wanted to show them "RecentChanges" at zwiki.org and couldn't find it. =}

That's not good. :) I assume you're seeing it now though. It's on the FrontPage and (unless you're in minimal mode) at the top of every page - but it's just "changes" there now, I went with the CommonPlace-style links.



From SimonMichael Sun Oct 5 21:30:35 -0700 2003
From: SimonMichael
Date: Sun, 05 Oct 2003 21:30:35 -0700
Subject: blog pearls, disorganized thoughts
Message-ID: <20031005213035-0700@zwiki.org>

I just did a little blog-surfing. Laura is writing such wonderful stuff -
"[1]":http://www.netvironments.org/blog/archives/2003_09_01_archives_html#106473814120097082
"[2]":http://www.netvironments.org/blog/archives/2003_09_01_archives_html#106471167694525477
"[3]":http://www.netvironments.org/blog/archives/2003_09_01_archives_html#106458649069140739
"[4]":http://www.netvironments.org/blog/archives/2003_09_01_archives_html#106400399374164779 
. I'm feeling guilty for my techie ways! 

(So is "Tim":http://ongoing.net ).

Laura I hope we can clear up some of these wiki issues one of these days. Reading of your heroic efforts with the latest tech makes me think that sometimes we need to go simple, maybe drop a new tool or stay more on the beaten path with it for a few months till it improves. It's clear we need to pick our battles and conserve energy in this ongoing explosion of tech issues. This is not to discourage you, but give yourself credit - I've never heard of anyone integrating Movable Type and zope before.  (Though I hear MT is excellent, from my point of view it's a dead end in "this":http://www.tbray.org/ongoing/When/200x/2003/07/12/WebsThePlace sense)

Having said that, anything that fixes the one-inch wide text column on your blog will a very good thing.

I can well see the potential for confusion with learning current wiki and plone mixed together - I would find that very confusing too. Each makes more sense, can be grasped more easily and is more mature when considered on it's own. If it were me I think I'd try and hide one or the other until students get the urge to explore their overlap. What's the Simplest Thing That Could Possibly Work ? What if you gave them a standard plone site and a standard wiki (outside of plone) side by side and let them figure out which works best for what and later, what integration might look like ?

Anyhow, thanks for your reports and insights, they make good reading. I'm sad to learn about Edward Said too.


From SimonMichael Sun Oct 5 21:53:29 -0700 2003
From: SimonMichael
Date: Sun, 05 Oct 2003 21:53:29 -0700
Subject: blog pearls, disorganized thoughts
Message-ID: <20031005215329-0700@zwiki.org>
In-reply-to: <20031005213035-0700@zwiki.org>

And when I say "we need to pick our battles" I don't mean "pitiful newbie, you are out of your depth again" :) I am, probably everyone else is, facing the very similar problems. The last two days I've been struggling to make ZopeTestCase-based unit tests work with the testrunner script as advertised, as everyone claims it does, only to be mired in endless PYTHONPATH, SOFTWARE_HOME, rsync, import sequence problems with no success yet. I got lucky with a quick answer in the #perl channel this morning, but on the #zope channel they usually laugh at my feeble inquiries.. or at least that's what I imagine in the deafening silence. I did get a kind, serious attempt at solving the problem from janko (thanks!).. though futile.. and I got some sympathy while moaning about zope.org and old plone's horizontal-scrolling problems. I would say getting on IRC is a very good move, see you there.

From HansBeck Mon Oct 6 05:50:12 -0700 2003
From: Hans Beck
Date: Mon, 06 Oct 2003 05:50:12 -0700
Subject: More than one tracker or more attributes per issue ?
Message-ID: <E97AF426E6699F43818217A796F9F5CB015AD9@am-mail.am_1_2000>



Hi, 

Is it possible to have more than one Issue Tracker in a Zwiki, i.e. one for
product A  and one for product B ? Or if not, it is possible to add more
attributes of issues (than category, serverity, status) by using ZMI ?

-- Hans 


From DeanGoodmanson Mon Oct 6 09:38:16 -0700 2003
From: DeanGoodmanson
Date: Mon, 06 Oct 2003 09:38:16 -0700
Subject: More than one tracker or more attributes per issue ?
Message-ID: <20031006093816-0700@zwiki.org>
In-reply-to: <E97AF426E6699F43818217A796F9F5CB015AD9@am-mail.am_1_2000>

I'd suggest a SubWiki for more than one tracker. 

More attributes via ZMI? That's a bit of a doozy.  Adding a field isn't a simple operation, and doing it automatically sounds like a slippery slope. The biggest problem being presentation (text field, drop down, ??).  If each of the custom fields were simply "text" (string, list, text,??), it might work by adding handling of *kw arguments to the add/edit/insert, but catalog and UI updating issues still present a big dilema, let alone security and ???  We can probably continue this at the ZwikiTracker page.

From DeanGoodmanson Mon Oct 6 12:33:46 -0700 2003
From: DeanGoodmanson
Date: Mon, 06 Oct 2003 12:33:46 -0700
Subject: PotentialPages
Message-ID: <20031006123346-0700@zwiki.org>

I've recently discovered canonical links.  Anyone created a PotentialPages page based on this?  ( canonicalLinks - links )

This pages canonical links: ZWiki:GeneralDiscussion/canonicalLinks

From lauratrippi Mon Oct 6 21:18:12 -0700 2003
From: laura trippi
Date: Mon, 06 Oct 2003 21:18:12 -0700
Subject:  0.23rc5 released
Message-ID: <459B822B-F87D-11D7-A3AD-000A278FD74C@sfu.ca>

Simon, I'm installing Zope/Plone/Zwiki on a new machine, using Plone 
1.0.5: does this release fix some of the issues noted in your reply to 
Curtis:

http://zwiki.org/ZwikiAndPlone#msg20031004115011-0700@zwiki.org

I'm tempted to try it but this install is for my plone course site: 
what would you recommend?

thanks much,

--LaT


From unknown Mon Oct 6 21:34:55 -0700 2003
From: 
Date: Mon, 06 Oct 2003 21:34:55 -0700
Subject: PotentialPages
Message-ID: <20031006213455-0700@zwiki.org>
In-reply-to: <20031006123346-0700@zwiki.org>

Looks like canonicalLinks and links include all links, not just WikiNames, so a simple PotentialPages is not possible.

From SimonMichael Tue Oct 7 17:16:09 -0700 2003
From: Simon Michael
Date: Tue, 07 Oct 2003 17:16:09 -0700
Subject:  More than one tracker or more attributes per
 issue ?
Message-ID: <3F835670.3090801@joyful.com>
In-reply-to: <E97AF426E6699F43818217A796F9F5CB015AD9@am-mail.am_1_2000>

Hi.. not with the current code, you'd have to extend/modify it. It's set up for one tracker per wiki at present.


From SimonMichael Tue Oct 7 17:18:43 -0700 2003
From: Simon Michael
Date: Tue, 07 Oct 2003 17:18:43 -0700
Subject:   0.23rc5 released
Message-ID: <3F83570D.5010500@joyful.com>
In-reply-to: <459B822B-F87D-11D7-A3AD-000A278FD74C@sfu.ca>

It fixes the issues with the catalog not being set up right, so all you should have to think about is enabling DTML (by renaming the no_dtml.dtml file) and granting the desired zwiki permissions.


From SimonMichael Tue Oct 7 17:20:52 -0700 2003
From: Simon Michael
Date: Tue, 07 Oct 2003 17:20:52 -0700
Subject:   0.23rc5 released
Message-ID: <3F835790.9040709@joyful.com>
In-reply-to: <459B822B-F87D-11D7-A3AD-000A278FD74C@sfu.ca>

PS so what I'd recommend is (0. keep your Data.fs backed up, of course) 1. make a Products/old subdirectory 2. move Products/ZWiki to old 3. unpack the latest ZWiki in Products 4. restart zope and use it happily 5. but if for any reason you need to quickly revert, replace the one in old


From SimonMichael Tue Oct 7 17:34:08 -0700 2003
From: Simon Michael
Date: Tue, 07 Oct 2003 17:34:08 -0700
Subject:  Localization
Message-ID: <3F835AAE.6080508@joyful.com>
In-reply-to: <20030929120253-0700@zwiki.org>

I agree, we could/should/will do this.


From unknown Wed Oct 8 17:51:18 -0700 2003
From: 
Date: Wed, 08 Oct 2003 17:51:18 -0700
Subject: Can't Edit Pages??
Message-ID: <20031008175118-0700@zwiki.org>

I have installed ZWiki on a hosted site (Zettai are excellent by the way) and I am completely confused.
The install seemed to go OK but none of the pages display the option to "edit".  I am pretty sure that I have permissions set OK.  When I "View" the page inside the Zope ZMI the edit option is displayed.  When  I view it normally it is not.

Any ideas?

From unknown Wed Oct 8 18:36:17 -0700 2003
From: 
Date: Wed, 08 Oct 2003 18:36:17 -0700
Subject: comment without content
Message-ID: <20031008183617-0700@zwiki.org>
In-reply-to: <20031005140540-0700@zwiki.org>

I think "add this comment" makes more sense than "add a comment" or "add comment". Also, the change required to the source for ignoring empty comments is pretty simple (below, but may not render quite right on this page) -- could it be done for the 0.23 release perhaps? It may not be the most elegant solution, but it definitely worked for me as a quick hack.

In ZWikiPage.py, replace the line in the "comment" procedure:

if subject != '[test]' or self.getId() == 'TestPage':

with the following line:

if (text or subject) and (subject != '[test]' or self.getId() == 'TestPage'):

From unknown Wed Oct 8 19:52:40 -0700 2003
From: 
Date: Wed, 08 Oct 2003 19:52:40 -0700
Subject: Option to disable mailout of page creations
Message-ID: <20031008195240-0700@zwiki.org>

Can this be added sometime?

From DeanG Thu Oct 9 06:55:44 -0700 2003
From: DeanG
Date: Thu, 09 Oct 2003 06:55:44 -0700
Subject: Option to disable mailout of page creations
Message-ID: <20031009065544-0700@zwiki.org>
In-reply-to: <20031008195240-0700@zwiki.org>

Are per-page mailout settings integrated yet?   If that feature was there, you could work around your desire for no new notifications by only getting notifications on the pages you specify.

From DeanG Thu Oct 9 07:03:07 -0700 2003
From: DeanG
Date: Thu, 09 Oct 2003 07:03:07 -0700
Subject: Bookmarks
Message-ID: <20031009070307-0700@zwiki.org>

I'm finding I miss bookmark functionality.  Not that I want them back, but I want quick access to the list of pages I regularly visit/watch.  

I'd prefer that my username be a wiki-linked somewhere on the page, so I can add said bookmarks to my personal page and get to it from there.   This location may also server as an (additional) preferences link when no useroptions have been set.

From DeanGoodmanson Thu Oct 9 07:51:12 -0700 2003
From: DeanGoodmanson
Date: Thu, 09 Oct 2003 07:51:12 -0700
Subject: PageType: STX DTML HTML
Message-ID: <20031009075112-0700@zwiki.org>

I'm running into a number of cases (code examples and narratives) where escaping wiki-linking is the majority of the page and cumbersome.   I'm going to look into creating a new page type for this scenario that does NOT include wikilinks.

But...

1. Is this technically reasonable or toying with the fundamentals.

2. Are there caching/prerendering issues to watch out for?

From DeanG Thu Oct 9 13:15:27 -0700 2003
From: DeanG
Date: Thu, 09 Oct 2003 13:15:27 -0700
Subject: UserOptions oddity
Message-ID: <20031009131527-0700@zwiki.org>

UserOptions only showed 1 item for me today.



From PieterB Fri Oct 10 11:21:59 -0700 2003
From: PieterB
Date: Fri, 10 Oct 2003 11:21:59 -0700
Subject:  http log question
Message-ID: <20031010202153.A22132@gewis.win.tue.nl>
In-reply-to: <20031010090908-0700@zwiki.org>;
 from zwiki-wiki@zwiki.org on Fri, Oct 10, 2003 at 09:09:31AM -0700

On Fri, Oct 10, 2003 at 09:09:31AM -0700, DeanGoodmanson wrote:

> I came across the following in my log file...would someone mind
> telling me what it is?::
> 
>  #.#.#.# - Anonymous (10/Oct/2003:10:49:05 -0500) "GET /p_/sp HTTP/1.1" 304 194 "http://..../WikiPage" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Feedreader; .NET CLR 1.0.3705)"
> 
> In particular::
> 
>  GET /p_/sp HTTP/1.1" 304 194 
> 
> --
> forwarded from http://zwiki.org/GeneralDiscussion#msg20031010090908-0700@zwiki.org
> 

I think it's got something to do with your RSS-feed because of the
Feedreader user agent. The /p_/* and /misc_/* are used for serving 
Zope images (see http://www.zope.org/Members/madcow/p_images )

BTW: why didn't your post show up at the GeneralDiscussion? I think it
might be the bracket's in the logfile line, so I removed them.


From DeanG Fri Oct 10 11:38:51 -0700 2003
From: DeanG
Date: Fri, 10 Oct 2003 11:38:51 -0700
Subject: http log question
Message-ID: <20031010113851-0700@zwiki.org>
In-reply-to: <20031010202153.A22132@gewis.win.tue.nl>

Good to here from you, Pieter!  You should crank up a blog again with !PyDS and PyCS. (although it's down today)

I chucked the post as I figured out what the object was.  I'm very interested in a single-hit roll-back feature to clean up silly mistakes like that from the RecentChanges, but OOPS! Mailing list.  (Maybe a 5 minute validation before mailout ;-))

From SimonMichael Sat Oct 11 09:10:42 -0700 2003
From: SimonMichael
Date: Sat, 11 Oct 2003 09:10:42 -0700
Subject: off to New Orleans
Message-ID: <20031011091042-0700@zwiki.org>

This has been a jam-packed week. Sorry for the delay in release - it'll be just the same as rc5. If you'll be at the plone conference, look for me there! I hope to be back online in a day or two.

From Brian Sat Oct 11 14:55:29 -0700 2003
From: Brian
Date: Sat, 11 Oct 2003 14:55:29 -0700
Subject: ZWiki hosting?
Message-ID: <20031011145529-0700@zwiki.org>
In-reply-to: <20031002150010-0700@zwiki.org>

Zettai is great! I've been with them for over 6 months. George Donnelly is friendly, knows his stuff and email replies are always very quick with any issues that arise. His systems are kept very up to date but not at the expense of stability.  Very pleased all around.



From SimonMichael Sun Oct 12 21:13:55 -0700 2003
From: SimonMichael
Date: Sun, 12 Oct 2003 21:13:55 -0700
Subject: 0.23 final released
Message-ID: <20031012211355-0700@zwiki.org>

and this one should be accessible on zope.org too.

I realized that it's been 4 years, not 5. Phew! More time. Also I think we have a way to go to make a good 1.0. SimonsPlan2004 may need to be pushed back.

From unknown Mon Oct 13 06:21:41 -0700 2003
From: 
Date: Mon, 13 Oct 2003 06:21:41 -0700
Subject: #parents:
Message-ID: <20031013062141-0700@zwiki.org>

Not only contents/basic/* but also FilterIssues.stxdtml has #parents: tag.


From unknown Mon Oct 13 08:39:49 -0700 2003
From: 
Date: Mon, 13 Oct 2003 08:39:49 -0700
Subject: setupCatalog
Message-ID: <20031013083949-0700@zwiki.org>

Zope-2.6 does not create Vocabulary automatically when adding !ZCatalog(Zope-2.5 does).
So I think it had better to create Vocabulary if it does not exists.



From SimonMichael Mon Oct 13 19:26:26 -0700 2003
From: Simon Michael
Date: Mon, 13 Oct 2003 19:26:26 -0700
Subject:  setupCatalog
Message-ID: <3F8B79ED.7070804@joyful.com>
In-reply-to: <20031013083949-0700@zwiki.org>

How does this problem show up ? Do you get an error from setupCatalog ?


From SimonMichael Mon Oct 13 19:27:03 -0700 2003
From: Simon Michael
Date: Mon, 13 Oct 2003 19:27:03 -0700
Subject:  UserOptions oddity
Message-ID: <3F8B7A10.4030802@joyful.com>
In-reply-to: <20031009131527-0700@zwiki.org>

Looked ok to me. Working now ?


From SimonMichael Mon Oct 13 19:28:49 -0700 2003
From: Simon Michael
Date: Mon, 13 Oct 2003 19:28:49 -0700
Subject: Re: can't comment via email?
Message-ID: <3F8B7A7A.9030208@joyful.com>
In-reply-to: <3F7624D3.9040209@pacific.net>

dan mcmullen wrote:
> i've tried unsuccessfully a couple of times to post to GeneralDiscussion 
> via email.  thought it might be because i subscribed as "bang+zwiki@" 
> but send mail just as "bang@", but after changing the subscription i 

Yes that would do it. As long as you are subscribed (somewhere) with the 
address you send from, this should work. Any luck ?


From unknown Mon Oct 13 22:02:23 -0700 2003
From: 
Date: Mon, 13 Oct 2003 22:02:23 -0700
Subject: setupCatalog
Message-ID: <20031013220223-0700@zwiki.org>
In-reply-to: <3F8B79ED.7070804@joyful.com>

setupCatalog itself works well. Is there any problem when searching TextIndex field ?
I do'nt know the detail about the relation between Vocabulary and  TextIndex.
Zope-2.6 seems to recommed Lexcon/ZCTextIndex pair instead of Vocabulary/TextIndex.


From unknown Tue Oct 14 11:20:36 -0700 2003
From: 
Date: Tue, 14 Oct 2003 11:20:36 -0700
Subject: More than one tracker or more attributes per issue ?
Message-ID: <20031014112036-0700@zwiki.org>
In-reply-to: <20031006093816-0700@zwiki.org>

By coincidence, I just had this weird idea I wanted to bounce off the crowd. I was thinking of doing some crude BillSeitz:SalesForceAutomation, and wanted a simple way to add new object types (those words used sloppily). Take a look at BillSeitz:WikiForCollaborationWare and do a Find for 'SFA'.

From SimonMichael Tue Oct 14 20:13:50 -0700 2003
From: SimonMichael
Date: Tue, 14 Oct 2003 20:13:50 -0700
Subject: #parents:
Message-ID: <20031014201350-0700@zwiki.org>
In-reply-to: <20031013062141-0700@zwiki.org>

Yes, setupPages uses this tag to set the initial page hierarchy. You should omit the #parents line if you are copying and pasting these pages manually.

From SimonMichael Tue Oct 14 20:21:06 -0700 2003
From: SimonMichael
Date: Tue, 14 Oct 2003 20:21:06 -0700
Subject: PageType: STX DTML HTML
Message-ID: <20031014202106-0700@zwiki.org>
In-reply-to: <20031009075112-0700@zwiki.org>

> Is this technically reasonable

Hi Dean - certainly. I think we had a non-wiki-linking type at one point but I judged it not important enough to keep. I think though it would be nice to be able to easily disable wiki features all the way down to a static web page workalike.

Re bookmarks - add personal page to the top link bar, then ? Could be good, but what to call it, if not.. My Wiki ? :-)

From SimonMichael Tue Oct 14 21:08:03 -0700 2003
From: SimonMichael
Date: Tue, 14 Oct 2003 21:08:03 -0700
Subject: move contents link to the number 2 position ?
Message-ID: <20031014210803-0700@zwiki.org>

I want contents to be r

*looks like we lost some*

From unknown Thu Oct 23 00:02:04 -0700 2003
From: 
Date: Thu, 23 Oct 2003 00:02:04 -0700
Subject: New Comments with 0.21
Message-ID: <20031023000204-0700@zwiki.org>
In-reply-to: <20031022092550-0700@zwiki.org>

The problem and rendered page can be found in: ArnoCommentProblem

BTW: We should really try to do the most unexpectable - write a manual to this :)
I noticed the new Subtopic Rendering - is there a place where this is described ?

From unknown Thu Oct 23 01:04:44 -0700 2003
From: 
Date: Thu, 23 Oct 2003 01:04:44 -0700
Subject: Re: Making AllPages work under Plone
Message-ID: <20031023010444-0700@zwiki.org>
In-reply-to: <3F96E37C.1030903@joyful.com>

> CMF/Plone's catalog is called portal_catalog. AllPages should use the newer pages() instead, which will take care of finding the catalog and restricting the results to the current wiki. Try that.

Thanks a lot. That took me a step forward. The code is now working in my test environment. Unfortunately, it still doesn't work in my real environment. The test environment is a clone of my real one, they both use the same ZWiki CVS head, and I am not able to give account of the different behaviour. 

The real environment raises an AttributeError in this statement: 

<pre>
< dtml-call "REQUEST.set(pageList,REQUEST.get(pageList,[])+[x_sequence_item])">
</pre>

Can you help me once more?
-- 
Andreas


From SimonMichael Thu Oct 23 07:28:20 -0700 2003
From: Simon Michael
Date: Thu, 23 Oct 2003 07:28:20 -0700
Subject:  Re: Making AllPages work under Plone
Message-ID: <3F97E42E.9090204@joyful.com>
In-reply-to: <20031023010444-0700@zwiki.org>

Andreas - I can't see the problem. Can you post a link, or more detail (the traceback in the ZopeLogs might give more clues).


From SimonMichael Thu Oct 23 07:40:51 -0700 2003
From: Simon Michael
Date: Thu, 23 Oct 2003 07:40:51 -0700
Subject: manual
Message-ID: <3F97E723.1060005@joyful.com>
In-reply-to: <20031023000204-0700@zwiki.org>

Arno - great, can you help ? Here are two key places: WikiCleanup - 
cleaning up our existing raw docs; ZWiki - a book-style outline in progress.


From unknown Thu Oct 23 13:05:27 -0700 2003
From: 
Date: Thu, 23 Oct 2003 13:05:27 -0700
Subject: Re: Making AllPages work under Plone
Message-ID: <20031023130527-0700@zwiki.org>
In-reply-to: <3F97E42E.9090204@joyful.com>

> Can you post a link, or more detail (the traceback in the ZopeLogs? might give more clues).


This is the traceback for the error::

<pre>
Traceback (innermost last):
  Module ZPublisher.Publish, line 98, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 39, in call_object
  Module Products.ZWiki.ZWikiPage, line 283, in __call__
  Module Products.ZWiki.CMF, line 122, in __call__
  Module Shared.DC.Scripts.Bindings, line 252, in __call__
  Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
  Module Products.CMFCore.FSPageTemplate, line 167, in _exec
  Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec
  Module Products.CMFCore.FSPageTemplate, line 139, in pt_render
  Module Products.PageTemplates.PageTemplate, line 95, in pt_render
   - <FSPageTemplate at /esm/wikipage_view used for /esm/wiki/AllPages>
  Module TAL.TALInterpreter, line 200, in __call__
  Module TAL.TALInterpreter, line 244, in interpret
  Module TAL.TALInterpreter, line 703, in do_useMacro
  Module TAL.TALInterpreter, line 244, in interpret
  Module TAL.TALInterpreter, line 726, in do_defineSlot
  Module TAL.TALInterpreter, line 244, in interpret
  Module TAL.TALInterpreter, line 592, in do_insertStructure_tal
  Module Products.PageTemplates.TALES, line 217, in evaluate
   - Line 28, Column 4
   - Expression: <PythonExpr here.render(here,request)>
   - Names:
      {'container': <PloneSite instance at 904bcd8>,
       'default': <Products.PageTemplates.TALES.Default instance at 0x86d3a2c>,
       'here': <ZWikiPage 'AllPages' at 0x8914d00>,
       'loop': <SafeMapping instance at 90292c0>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x86c1154>,
       'nothing': None,
       'options': {'REQUEST': <HTTPRequest, URL=http://data:1117/esm/wiki/AllPages>,
                   'RESPONSE': ZServerHTTPResponse(''),
                   'args': (<ZWikiPage 'AllPages' at 0x8914d00>,)},
       'repeat': <SafeMapping instance at 90292c0>,
       'request': <HTTPRequest, URL=http://data:1117/esm/wiki/AllPages>,
       'root': <Application instance at 916b128>,
       'template': <FSPageTemplate at /esm/wikipage_view used for /esm/wiki/AllPages>,
       'traverse_subpath': [],
       'user': zopeadm}
  Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__
   - __traceback_info__: here.render(here,request)
  Module Python expression "here.render(here,request)", line 2, in f
  Module Products.ZWiki.ZWikiPage, line 298, in render
  Module Products.ZWiki.ZWikiPage, line 383, in render_msgstxprelinkdtmlfitissuehtml
  Module OFS.DTMLDocument, line 131, in __call__
  Module DocumentTemplate.DT_String, line 474, in __call__
  Module DocumentTemplate.DT_Let, line 76, in render
  Module DocumentTemplate.DT_In, line 705, in renderwob
  Module DocumentTemplate.DT_Let, line 76, in render
  Module DocumentTemplate.DT_Util, line 201, in eval
   - __traceback_info__: pageList
  Module <string>, line 2, in f
AttributeError: set
</pre>
-- Andreas

From SimonMichael Thu Oct 23 15:20:58 -0700 2003
From: Simon Michael
Date: Thu, 23 Oct 2003 15:20:58 -0700
Subject:  Re: Making AllPages work under Plone
Message-ID: <3F9852FA.70707@joyful.com>
In-reply-to: <20031023130527-0700@zwiki.org>

REQUEST has no set attribute - usually means it's None (put a dtml-var REQUEST in there).  This can happen when calling the page from within another and forgetting to pass the REQUEST argument. 


From SimonMichael Thu Oct 23 15:22:52 -0700 2003
From: Simon Michael
Date: Thu, 23 Oct 2003 15:22:52 -0700
Subject:  Problem gettting started - attribute error
Message-ID: <3F98536D.7010506@joyful.com>
In-reply-to: <20031022215926-0700@zwiki.org>

Yes, this is one of the issues fixed in CVS.


From SimonMichael Thu Oct 23 15:32:04 -0700 2003
From: Simon Michael
Date: Thu, 23 Oct 2003 15:32:04 -0700
Subject:  Problem gettting started - attribute error
Message-ID: <3F98558F.5050201@joyful.com>
In-reply-to: <3F98536D.7010506@joyful.com>

In other words.. ah.. the problem is an invalid parents attribute, so visiting PAGE/reparent should fix things.


From SimonMichael Thu Oct 23 20:04:26 -0700 2003
From: SimonMichael
Date: Thu, 23 Oct 2003 20:04:26 -0700
Subject: interesting
Message-ID: <20031023200426-0700@zwiki.org>

"The Great Library of Amazonia":http://www.wired.com/news/business/0,1367,60948,00.html?tw=wn_tophead_2

From unknown Fri Oct 24 04:16:14 -0700 2003
From: 
Date: Fri, 24 Oct 2003 04:16:14 -0700
Subject: Re: Making AllPages work under Plone
Message-ID: <20031024041614-0700@zwiki.org>
In-reply-to: <3F9852FA.70707@joyful.com>

> REQUEST has no set attribute - usually means it's None (put a dtml-var REQUEST in there).

The dtml-var REQUEST results in an empty string, whereas my test environment dumps an object.  

> This can happen when calling the page from within another and forgetting to pass the REQUEST argument.

Okay, this may be beyond my skills. :-) What can be the cause for this? The rest of the ZWiki and other pages containing DTML-Code (for example RecentChanges) are doing fine. I also had AllPages already running in my test environment. But when I copy my Data.fs from the real system into the test environment, the test environment raises the same error.

I also tried to start from scratch in the test environment: 

1. Delete Data.fs

2. Create a Plone site

3. Install the ZWiki in the Plone site (external method ZWiki.Install, install)

4. Add a folder to the plone site for the ZWiki

5. Create a new ZWiki outside of the Plone site and copy its contents to the Plone-ZWiki

6. Call setupCatalog on the FrontPage

7. Insert AllPages into the FrontPage, create the page and paste the code from zwiki.org into the page

The result is still the same: AllPages raises an AttributeError (REQUEST is empty), whereas the code for RecentChanges does fine. 

-- Andreas

From DeanGoodmanson Fri Oct 24 07:09:23 -0700 2003
From: DeanGoodmanson
Date: Fri, 24 Oct 2003 07:09:23 -0700
Subject: Re: Making AllPages work under Plone
Message-ID: <20031024070923-0700@zwiki.org>
In-reply-to: <20031024041614-0700@zwiki.org>

> but when I copy my Data.fs from the real system into the test environment, the test environment raises the same error.

Catalog snafu?  Does it still happen after clearing and re-finding your zwiki pages?



From unknown Fri Oct 24 07:54:30 -0700 2003
From: 
Date: Fri, 24 Oct 2003 07:54:30 -0700
Subject: Re: Making AllPages work under Plone
Message-ID: <20031024075430-0700@zwiki.org>
In-reply-to: <20031024070923-0700@zwiki.org>

> Catalog snafu? Does it still happen after clearing and re-finding your zwiki pages?

If you are asking if it still happens after clearing the catalog and recreating it from scratch (/setupCatalog), then the answer is yes. In my example above, I even started with a fresh and empty Data.fs. 

-- Andreas

From SimonMichael Fri Oct 24 08:16:43 -0700 2003
From: Simon Michael
Date: Fri, 24 Oct 2003 08:16:43 -0700
Subject:  Re: Making AllPages work under Plone
Message-ID: <3F994101.1080904@joyful.com>
In-reply-to: <20031024075430-0700@zwiki.org>

We're missing something. REQUEST should not be empty. Put dtml-var REQUEST by itself in AllPages and a couple of other pages. What do you get ? Do you have an object named REQUEST in the zodb ?


From SimonMichael Fri Oct 24 17:51:59 -0700 2003
From: Simon Michael
Date: Fri, 24 Oct 2003 17:51:59 -0700
Subject: update
Message-ID: <3F99C7C9.4020005@joyful.com>

A massive round of product clearance and upgrades today. This server is 
now running CMF 1.4.1 and the latest plone 2.0 branch, along with all 
it's dependencies and a few more (ArcheTypes, FileSystemSite, 
SkinnedFolder...).

I've replaced http://zwiki.org/plone with a plone 2 site but it's not 
yet operational (no sidebars for some reason, unlike 
http://zwiki.org/test/plone). There was a bug in CVS preventing wiki 
page creation, fixed.

Dean and I decided on IRC last night to close off the ZMI from anonymous 
visitors (and google) - ie the full history button in the diff screens. 
That ZMI screen wasn't too useful since I pack frequently, and anonymous 
isn't able to restore from history anyway due to a zope bug.

Increased activity in #zwiki (and the other zope channels) lately. I 
hope to be more present on IRC for the next while.


From SimonMichael Fri Oct 24 17:52:34 -0700 2003
From: Simon Michael
Date: Fri, 24 Oct 2003 17:52:34 -0700
Subject: excerpts in search results
Message-ID: <3F99C7E1.3050109@joyful.com>

Dean, I've installed that new feature that you suggested, thanks for the 
code. I took the liberty of renaming and simplifying it as much as I 
could - then wrote some tests and it all blew up again as I grappled 
with the details, when I should have been dreaming! Here's where I got 
to, for your interest::

     def test_excerptAt(self):
         self.page.edit(text='This is a test of the<br>\n excerptAt method,')
 
         self.assertEquals(self.page.excerptAt('excerptat',size=10,highlight=0),
                           '\n excerptAt ')
 
         #self.assertEquals(self.page.excerptAt('this*',size=21,highlight=1),
         #                  '<span class="hit">This</span> is a tes')
         #self.assertEquals(self.page.excerptAt('br',size=4),
         #                  'e&lt;<span class="hit">br</span>&gt;\n')
         # XXX temp
         self.assertEquals(self.page.excerptAt('this*',size=21,highlight=1),
                           '<span class="hit" style="background-color:yellow">This</span> is a tes')
         self.assertEquals(self.page.excerptAt('br',size=4),
                           'e&lt;<span class="hit" style="background-color:yellow">br</span>&gt;\n')
         self.assertEquals(self.page.excerptAt('<br>',size=4,highlight=0),
                           'e&lt;br&gt;\n')
         self.assertEquals(self.page.excerptAt('nomatch'),'')
         self.assertEquals(self.page.excerptAt(''),'')


     security.declareProtected(Permissions.View, 'excerptAt')
     def excerptAt(self, expr, size=100, highlight=1):
         """
         Return an excerpt of this page at the first occurence of expr.

         Intended when presenting search results.  Does a straight
         case-insensitive string search, after first removing any *
         wildcard character (this may not agree exactly with the catalog
         index's search). SGML tags are quoted.

         If no match is found or expr is blank, returns an empty string.

         When highlight is true, each match within the excerpt is enclosed
         in a span with class "hit". This is not 100% reliable because we
         don't handle wildcards and due to the html quoting.

         """
         string = re.sub(r'\*','',expr)
         m = re.search(r'(?i)'+re.escape(string),self.text())
         if m and string:
             middle = (m.start()+m.end())/2
             exstart = max(middle-size/2-1,0)
             exend = min(middle+size/2+1,len(self.text()))
             excerpt = html_quote(self.text()[exstart:exend])
             if highlight:
                 excerpt = re.sub(
                     r'(?i)'+re.escape(html_quote(string)),
                     #'<span class="hit">%s</span>' % html_quote(m.group()),
                     # XXX temp
                     '<span class="hit" style="background-color:yellow">%s</span>' % html_quote(m.group()),
                     excerpt)
             return excerpt
         else:
             return ''


From SimonMichael Fri Oct 24 17:52:40 -0700 2003
From: Simon Michael
Date: Fri, 24 Oct 2003 17:52:40 -0700
Subject: visual editing
Message-ID: <3F99C7EC.8040601@joyful.com>

The latest Epoz and epoz (the NG version, alpha 1 released today) are 
installed. I made a serious attempt at epoz NG with help from guido_w 
but don't have it doing anything useful yet. SkinnedFolder and 
FileSystemSite work very nicely to provide CMF-like skins, without the 
CMF - perfect for epoz & zwiki - but epoz expects file suffixes which 
they hide.

Did I mention the Epoz proof-of-concept ? Andrew Ho (of OIO fame) 
prodded me into it. You can see the present state by following the link 
on TestPage, and any coding help is welcome; the method is in UI.py, and 
needs to be templatized in some appropriate way.

As it happens, at the moment I'm feeling that we've reached the limits 
of standard STX (due to performance and consistency issues).
STX has never been optimized and never will be.
I don't think RST is the answer either. At the plone conference I tried
to come up with a design for a new,  outliner-ish parser/formatter
that could support the most useful bits of STX and RST and zwiki linking 
integrated cleanly as a single whole rather than half a dozen systems 
grafted together, therefore faster and more consistent-feeling.

I think this could be good, but I'm not sure it's the best use of time, 
when rich cross-platform visual editors are finally arriving. Mostly we 
want to fix things on a page, and make beautiful documents with a 
minimum of fuss, expecting the tools to keep a clean semantic 
representation underneath. So I'm feeling quite friendly towards HTML 
and pseudo HTML[1] just at the moment..

.. [1] HTML plus a few carefully-chose convenience markups - blank lines 
create paragraphs, zwiki-style linking, STX emphasis, RST headings ?
Or, STX with much simpler rules.


From unknown Fri Oct 24 18:32:40 -0700 2003
From: 
Date: Fri, 24 Oct 2003 18:32:40 -0700
Subject: excerpts in search results
Message-ID: <20031024183240-0700@zwiki.org>
In-reply-to: <3F99C7E1.3050109@joyful.com>

> . I took the liberty of renaming and simplifying it as much as I could

Thanks! I look forward to working with it.

From unknown Fri Oct 24 19:14:07 -0700 2003
From: 
Date: Fri, 24 Oct 2003 19:14:07 -0700
Subject: excerpts in search results
Message-ID: <20031024191407-0700@zwiki.org>
In-reply-to: <20031024183240-0700@zwiki.org>

I took the wiki liberty of plopping it on the SearchPage. Looks good! As each page requires the page to be woken up, large hits may eat up RAM. :-/   I think I disabled this on the blank search.  

http://zwiki.org/SearchPage?source=search&expr=scroll

From KentTenney Sat Oct 25 02:58:58 -0700 2003
From: Kent Tenney
Date: Sat, 25 Oct 2003 02:58:58 -0700
Subject: Changing reST report_level
Message-ID: <20031025025858-0700@zwiki.org>

In my reST pages, I'm getting messages

"system message INFO/1 .."

I want to suppress these. In ZwikiPage.py I've changed report_level to 2 the line;

t = reStructuredText.HTML(t,report_level=2)#doesn't hide em

but I still get the messages.

TIA for any suggestions -- Kent




From KentTenney Sat Oct 25 09:12:38 -0700 2003
From: Kent Tenney
Date: Sat, 25 Oct 2003 09:12:38 -0700
Subject: reST report_level problem resolved
Message-ID: <20031025091238-0700@zwiki.org>

After correcting a different problem (section heading underline too short), the page started supressing the message as it should.

I don't get it, but now it is working -- Kent

From simon Sat Oct 25 16:55:54 -0700 2003
From: simon
Date: Sat, 25 Oct 2003 16:55:54 -0700
Subject: 0.24rc1 released
Message-ID: <20031025165554-0700@zwiki.org>

You know the drill, download from FrontPage or CVSRepository, bug reports welcome. 
This should be less troublesome than 0.23. See NewHierarchyControls if you haven't already.

I've been thinking about various release process adjustments. At the moment I think the 
one-month release cycle is still best, but I'm going to try and be more disciplined: 
new features and high-risk development during the first half of the month, primarily bugfixes 
during the second half. The test suite continues to improve slowly; we need more tests. 
I think we can continue to generate reliable monthly releases that way.
A quarterly stable release might be nice but too much extra work I think.
Any other ideas welcome.

From simon Sun Oct 26 01:45:14 -0700 2003
From: simon
Date: Sun, 26 Oct 2003 01:45:14 -0700
Subject: memory meter
Message-ID: <20031026014514-0700@zwiki.org>

I've added a memory usage meter to the skin temporarily. MemoryUsage has the code if you want it. See also the pretty ColourTests. 

From DanMcmullen Sun Oct 26 13:20:49 -0800 2003
From: DanMcmullen
Date: Sun, 26 Oct 2003 13:20:49 -0800
Subject: just in time for Halloween...
Message-ID: <20031026132049-0800@zwiki.org>

PerPageStylesHack - not for the faint of heart!

i'm not sure what to make of this myself.  horribly cool?

:-)  dan

From DanMcmullen Sun Oct 26 15:48:56 -0800 2003
From: DanMcmullen
Date: Sun, 26 Oct 2003 15:48:56 -0800
Subject: re: NewHierarchyControls
Message-ID: <20031026154856-0800@zwiki.org>
In-reply-to: <20031025165554-0700@zwiki.org>

how do we manipulate the prev/next order of subpages?

From simon Sun Oct 26 23:32:05 -0800 2003
From: simon
Date: Sun, 26 Oct 2003 23:32:05 -0800
Subject: server trouble
Message-ID: <20031026233205-0800@zwiki.org>

Tried to move the wiki to a SkinnedFolder, major project since it turns out the current Folder has more pages than it can handle within our quota (and most browsers have a hard time with the 2Mb ZMI table, ZEO doesn't have all the right authorization, etc..). Big waste of time, I ended up losing page creation times. Didn't backup first. :( I'm going to see if imeme have a recent one.

From unknown Mon Oct 27 01:49:31 -0800 2003
From: 
Date: Mon, 27 Oct 2003 01:49:31 -0800
Subject: Re: Making AllPages work under Plone
Message-ID: <20031027014931-0800@zwiki.org>
In-reply-to: <3F994101.1080904@joyful.com>

> Put dtml-var REQUEST by itself in AllPages and a couple of other pages. What do you get ?

Inserting dtml-var REQUEST on any page, I get a dump of the request object. I even get the dump, if I insert the statement in AllPages before the comment starting with '< dtml-comment 3. REQUEST ...'. Inserting the statement (e.g. replacing the dtml-call) inside the loop immediately following this comment, I only get an empty string. 

> Do you have an object named REQUEST in the zodb ?

I haven't found one. Where should this object be found?

Thanks for your patience. :-)

-- Andreas

From PieterB Mon Oct 27 14:22:14 -0800 2003
From: PieterB
Date: Mon, 27 Oct 2003 14:22:14 -0800
Subject: Mailman archiver
Message-ID: <20031027142214-0800@zwiki.org>

There is a discussion on the mailman-developers list on the requirements of an archiver:
See: http://news.gmane.org/gmane.mail.mailman.devel or my post at: http://article.gmane.org/gmane.mail.mailman.devel/14954

From PieterB Mon Oct 27 14:46:58 -0800 2003
From: PieterB
Date: Mon, 27 Oct 2003 14:46:58 -0800
Subject: (new)  Requirements for a new archiver
Message-ID: <20031027234654.A85924@gewis.win.tue.nl>
In-reply-to: <1067293730.1785.96.camel@anthem>;
 from barry@python.org on Mon, Oct 27, 2003 at 05:28:50PM -0500

On Mon, Oct 27, 2003 at 05:28:50PM -0500, Barry Warsaw wrote:

> > Also have a look at the "SMART Archiver" project,
> > http://sourceforge.net/projects/smartarchiver/
> I didn't know about that one!

It's a similar university project of the Eindhoven University of
Technology.  The project has just been finished and I assume all
sources are/will be available. I saw the author upload the code to
sf.net, and probably our host gewis.nl will host a demo environment
in a couple of weeks.

About coupling the archiver/mailinglist:

> So I don't want to have to ask the archiver for that url.  I want
> Mailman to be able to calculate it from something unique in the message,
> and have the archiver agree on the algorithm, so that it (or some other
> translation layer) can do the mapping back to the archived article.  Or,
> Mailman should be able to calculate a unique id for the article and
> stuff that in a header for the archiver to index on.

Zwiki has implemented such functionality based on the time that the
message is received/sent. E.g. a mailout for a webpost at the
http://zwiki.org/GeneralDiscussion looks like this in the e-mail:
(look at the generated signature, with a hyperlink to the message
anchor)

> There is a discussion on the mailman-developers list on the
> requirements of an archiver: See:
> http://news.gmane.org/gmane.mail.mailman.devel or my post at:
> http://article.gmane.org/gmane.mail.mailman.devel/14954
> --
> forwarded from http://zwiki.org/GeneralDiscussion#msg20031027142214-0800@zwiki.org

Off course, in this case the msgid, doesn't have to be shared between
the archiver and mailinglist, because zwiki does both in one
application.

Regards,

Pieter

cc: mailman-developers lists, zwiki GeneralDiscussion

-- 
When a broken appliance is demonstrated for the repairman,
it will work perfectly.

From DeanGoodmanson Tue Oct 28 00:00:20 -0800 2003
From: DeanGoodmanson
Date: Tue, 28 Oct 2003 00:00:20 -0800
Subject: NavigationToolbar
Message-ID: <20031028000020-0800@www.zwiki.org>

I tried to get some navigation links built into the HEAD of zwikipage.pt , but keep stumbling over basic ZPT. Any thoughts?::

 <link tal:condition="python:here.previousPage()" rel="Previous"  tal:attributes="href python:here.previousPage()"  />
 <link tal:condition="python:here.nextPage()" rel="Next" tal:attributes="href python:here.nextPage()" />

The condition works, the attributes don't.::

 Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec 
Module Products.PageTemplates.PageTemplateFile, line 103, in _exec 
Module Products.PageTemplates.PageTemplate, line 87, in pt_render
<MyPageTemplateFile at /wiki/SearchPage/>
Warning: Compilation failed
Warning: TAL.TALDefs.TALError: Python expression error: invalid syntax (line 1) in expression "python:\n here.wiki_url() + '/externalEdit_/'\n modules['Products.PythonScripts.standard'].url_quote(here.id()) +\n '?borrow_lock=1'", at line 26, column 1 

 PTRuntimeError 


From DeanGoodmanson Tue Oct 28 22:38:33 -0800 2003
From: DeanGoodmanson
Date: Tue, 28 Oct 2003 22:38:33 -0800
Subject: RecentChanges -- Everythings new
Message-ID: <20031028223833-0800@zwiki.org>

Each item for me in the RecentChanges is listed as New. 


From DirkWESSEL Wed Oct 29 04:00:20 -0800 2003
From: Dirk  WESSEL
Date: Wed, 29 Oct 2003 04:00:20 -0800
Subject: Newbie question
Message-ID: <sf9fb9b2.081@marconi.nacma.nato.int>

** Reply Requested When Convenient **

I'am just new to Zwiki. In my project I have to create a Zwiki site on
which users can create and update new documents.

I'am trying now to find an efficient way to structure the zwiki
accommodating various documents and creating a table of content for the
site as well as for each document.

How can this be achieved?


From DeanGoodmanson Wed Oct 29 08:03:36 -0800 2003
From: DeanGoodmanson
Date: Wed, 29 Oct 2003 08:03:36 -0800
Subject: Newbie question
Message-ID: <20031029080336-0800@zwiki.org>
In-reply-to: <sf9fb9b2.081@marconi.nacma.nato.int>

Does the NavigationAids and new SubTopics features help your site TOC?

For files... Want to mock-up what kind of information you expect to be displayed?

From DeanGoodmanson Wed Oct 29 12:09:54 -0800 2003
From: DeanGoodmanson
Date: Wed, 29 Oct 2003 12:09:54 -0800
Subject: Stand alone Zwiki Page
Message-ID: <20031029120954-0800@zwiki.org>

Is a Zwiki Page still intended to be added to a non-Zwiki folder in the ZMI?    If so, I think the default .pt may fail when checking for enabled subtopics.

From SimonMichael Wed Oct 29 15:17:17 -0800 2003
From: Simon Michael
Date: Wed, 29 Oct 2003 15:17:17 -0800
Subject:  RecentChanges -- Everythings new
Message-ID: <3FA048EC.6040501@joyful.com>
In-reply-to: <20031028223833-0800@zwiki.org>

DeanGoodmanson wrote:
> Each item for me in the RecentChanges is listed as New.

Yup, a mishap on my part mentioned the other day.. I have a backup from 
imeme now and I'll recover the creation times from there.


From SimonMichael Wed Oct 29 15:26:03 -0800 2003
From: Simon Michael
Date: Wed, 29 Oct 2003 15:26:03 -0800
Subject:  Stand alone Zwiki Page
Message-ID: <3FA04B0F.6020009@joyful.com>
In-reply-to: <20031029120954-0800@zwiki.org>

Yes, 'ZWiki Page's are still supposed to work in any kind of folder.
I think I know the problem you mean, but wasn't it fixed in 0.24rc1 ?

A separate issue: I changed 'ZWiki Web' in the ZMI add menu to 'Wiki',
for clarity and consistency with CMF/Plone. 'ZWiki Page' had to remain
unchanged though to avoid tedious upgrade issues. So these two are now 
widely separated in the add menu, and next to 'Wiki' there's a bogus 
'Wiki content' entry that comes from CMF. So I think it's more confusing 
and I'd better change it back to 'ZWiki Web', even though that's a 
made-up term.


From SimonMichael Wed Oct 29 15:34:39 -0800 2003
From: SimonMichael
Date: Wed, 29 Oct 2003 15:34:39 -0800
Subject: Stand alone Zwiki Page
Message-ID: <20031029153439-0800@zwiki.org>
In-reply-to: <3FA04B0F.6020009@joyful.com>

Or, it could be 'ZWiki Wiki' ? Or just 'ZWiki' ? 

From SimonMichael Wed Oct 29 16:14:10 -0800 2003
From: Simon Michael
Date: Wed, 29 Oct 2003 16:14:10 -0800
Subject:  NavigationToolbar
Message-ID: <3FA05653.4030808@joyful.com>
In-reply-to: <20031028000020-0800@www.zwiki.org>

Dean - I think you want a href, not the link tag which is for 
stylesheets etc.

Also, if it matters: that code will calculate the entire wiki hierarchy 
four times, which right now in a large wiki should be avoided. See 
navlinks() for an example of how to calculate it once and reuse.


From SimonMichael Wed Oct 29 16:22:49 -0800 2003
From: Simon Michael
Date: Wed, 29 Oct 2003 16:22:49 -0800
Subject:  Re: Making AllPages work under Plone
Message-ID: <3FA0585A.9090901@joyful.com>
In-reply-to: <20031027014931-0800@zwiki.org>

All: sorry my responses here are sluggish, email has been hellish 
lately. Look for me on #zwiki, it's sometimes more efficient.

> Inserting dtml-var REQUEST on any page, I get a dump of the request
> object. I even get the dump, if I insert the statement in AllPages
> before the comment starting with '< dtml-comment 3. REQUEST ...'.
> Inserting the statement (e.g. replacing the dtml-call) inside the loop
> immediately following this comment, I only get an empty string.

Andreas - that's suspicious. Are you using the same AllPages code as on 
this site ?

>>Do you have an object named REQUEST in the zodb ?
> 
> I haven't found one. Where should this object be found?

That's good, you shouldn't find one there.


From SimonMichael Wed Oct 29 16:43:29 -0800 2003
From: Simon Michael
Date: Wed, 29 Oct 2003 16:43:29 -0800
Subject:  re: NewHierarchyControls
Message-ID: <3FA05D34.3070904@joyful.com>
In-reply-to: <20031026154856-0800@zwiki.org>

DanMcmullen wrote:
> how do we manipulate the prev/next order of subpages?

We don't right now, we would like to be able to.

If it can be added without too much cruft, we should, but I'm also 
thinking the way hierarchy is stored might be due for a change.
Some thoughts I had :

1. **store children instead of parents ?**
Children tend to be more numerous than parents, so this would  make 
calculating the subtopics much cheaper; finding the ancestry is easy by 
comparison. But it would also mean more pages to update when you rename 
a page.

2. **make zwiki pages archetypes and use archetypes relations feature to 
store relationships more effciently ?**

3. **hierarchy defined in pages ?**
This is a bit drastic, but imagine there is no absolute page hierarchy - 
I put a table of contents on FrontPage, and when I click one of the 
links zwiki knows I came from FrontPage and looks there to figure out 
where we are in "the FrontPage hierarchy". If I visit the same page via 
a different table of contents on some other page, we would appear to be 
in "the other hierarchy". This would support re-use of "modules" in 
different "courses", as in the Connexions project. It also might 
deemphasize hierarchy in a positive sense - less chance of having to 
think about where a page belongs up front.
I'm not sure if it's practical though, due to ugly urls or cookies.

Ideas welcome!


From DirkWESSEL Thu Oct 30 00:25:25 -0800 2003
From: Dirk  WESSEL
Date: Thu, 30 Oct 2003 00:25:25 -0800
Subject:  Newbie question
Message-ID: <sfa0d8f7.034@marconi.nacma.nato.int>

** Reply Requested When Convenient **

It might be. But I haven't yet found a way to use it. Documentation is
quite weak on that issue.

What we try to achieve is that we expect a couple of huge documents
with a lots of chapters. I would like to treat these chapters as
separate zwiki pages.

Each wiki page should start with a table of contents (mainly the
sections) and the top page of each document should show the different
wiki pages and there table of contents.

Its very similar to a book structure with the exception that the
various chapters are separate zwiki pages.

>>> DeanGoodmanson <zwiki-wiki@zwiki.org> 10/29/03 05:03PM >>>
Does the NavigationAids and new SubTopics features help your site TOC?

For files... Want to mock-up what kind of information you expect to be
displayed?
--
forwarded from
http://zwiki.org/GeneralDiscussion#msg20031029080336-0800@zwiki.org
     


From unknown Thu Oct 30 01:08:26 -0800 2003
From: 
Date: Thu, 30 Oct 2003 01:08:26 -0800
Subject: Re: Making AllPages work under Plone
Message-ID: <20031030010826-0800@zwiki.org>
In-reply-to: <3FA0585A.9090901@joyful.com>

> Are you using the same AllPages code as on this site ?

Yes, I am. I have copied and pasted the code from editform to editform. 

-- Andreas


From unknown Thu Oct 30 03:22:25 -0800 2003
From: 
Date: Thu, 30 Oct 2003 03:22:25 -0800
Subject: 
Message-ID: <20031030032225-0800@zwiki.org>



From PieterB Thu Oct 30 07:30:27 -0800 2003
From: PieterB
Date: Thu, 30 Oct 2003 07:30:27 -0800
Subject: Kodos - The Python Regex GUI Debugger
Message-ID: <20031030073027-0800@www.zwiki.org>

I just happened to find a link to: Kodos - The Python Regex GUI Debugger, which might be usefull for some of you.

Kodos is a Python GUI utility for creating, testing and debugging regular expressions for the Python programming language. Kodos should aid any developer to efficiently and effortlessly develop regular expressions in Python.
Kodos is an open source project released under the Gnu Public License (GPL).

http://kodos.sourceforge.net/

(i was testing Scratchy, The Apache Log Parser and HTML Report Generator for Python, http://scratchy.sourceforge.net/ . It doesn't want to generete reports for some stupid reason).

From DeanG Thu Oct 30 07:36:00 -0800 2003
From: DeanG
Date: Thu, 30 Oct 2003 07:36:00 -0800
Subject: History statistics
Message-ID: <20031030073600-0800@www.zwiki.org>

I'd like to get the number of page revisions listed on my page.  (And use it to disable the /diff link when there is only 1)

Could someone point me to a Zope resource regarding this? (Besides the diff.py source, that is. ;-))

Note: The diff.py notes that only 20 revisions are available. That's OK for my needs.

From SimonMichael Thu Oct 30 13:12:26 -0800 2003
From: Simon Michael
Date: Thu, 30 Oct 2003 13:12:26 -0800
Subject:   Newbie question
Message-ID: <3FA17D32.3010607@joyful.com>
In-reply-to: <sfa0d8f7.034@marconi.nacma.nato.int>

Dirk WESSEL wrote:
> What we try to achieve is that we expect a couple of huge documents
> with a lots of chapters. I would like to treat these chapters as
> separate zwiki pages.
> 
> Each wiki page should start with a table of contents (mainly the
> sections) and the top page of each document should show the different
> wiki pages and there table of contents.
> 
> Its very similar to a book structure with the exception that the
> various chapters are separate zwiki pages.

I'm interested in this too. We're still exploring how best to do this.

ZopeBookMirror seems closest to what you want. It's a book with one 
(big) page per chapter. There's a per-page table of contents at the top 
of each chapter, which I added manually; in RestructuredText mode you 
could generate these automatically. The top page links to each chapter, 
but does not currently show the detailed contents.

There's a book outline on ZWiki, again with one page per chapter, but 
chapters are currently empty pages with other pages underneath. If 
you're in full mode (or is it always) they'll show a "table of contents" 
linking to the sub topics, each on it's own page.

Hope this helps.


From SimonMichael Thu Oct 30 13:15:21 -0800 2003
From: Simon Michael
Date: Thu, 30 Oct 2003 13:15:21 -0800
Subject:  Re: Making AllPages work under Plone
Message-ID: <3FA17DE0.1000302@joyful.com>
In-reply-to: <20031030010826-0800@zwiki.org>

> Yes, I am. I have copied and pasted the code from editform to
> editform.

Then I'm out of ideas. If you can make this page accessible to me, I can 
figure it out. And/or come and chat with me on #zwiki.


From SimonMichael Thu Oct 30 13:17:10 -0800 2003
From: Simon Michael
Date: Thu, 30 Oct 2003 13:17:10 -0800
Subject:  Kodos - The Python Regex GUI Debugger
Message-ID: <3FA17E4C.3080801@joyful.com>
In-reply-to: <20031030073027-0800@www.zwiki.org>

This sounds great, thanks for these links PB


From SimonMichael Thu Oct 30 22:38:55 -0800 2003
From: SimonMichael
Date: Thu, 30 Oct 2003 22:38:55 -0800
Subject: a rather amazing site
Message-ID: <20031030223855-0800@zwiki.org>

http://www.masternewmedia.org

This guy has a lot of energy, well worth a look.

From danmcmullen Fri Oct 31 12:17:30 -0800 2003
From: dan mcmullen
Date: Fri, 31 Oct 2003 12:17:30 -0800
Subject:   re: NewHierarchyControls
Message-ID: <3FA2C40C.4040809@pacific.net>
In-reply-to: <3FA05D34.3070904@joyful.com>

Simon Michael wrote:

>>> DanMcmullen wrote: >how do we manipulate the prev/next order of
subpages?<

If it can be added without too much cruft, we should, but I'm also
thinking the way hierarchy is stored might be due for a change. Some
thoughts I had :

1. **store children instead of parents ?** Children tend to be more
numerous than parents, so this would make calculating the subtopics
much cheaper; finding the ancestry is easy by comparison. But it would
also mean more pages to update when you rename a page.
<<<

why don't we do both: keep pages doubly linked to parent and children.
this gives the best of both worlds, and would enable some simple way to
edit the order of the child links.  overhead for less frequent things
like renaming seems relatively insignificant to me.

>>> 
2. **make zwiki pages archetypes and use archetypes relations feature
to store relationships more effciently ?**
...
3. **hierarchy defined in pages ?** 
<<<

i'm for keeping it simple initially if we can get something useful
working quickly.

best, dan


From unknown Fri Oct 31 16:02:49 -0800 2003
From: 
Date: Fri, 31 Oct 2003 16:02:49 -0800
Subject: re: NewHierarchyControls
Message-ID: <20031031160249-0800@zwiki.org>
In-reply-to: <3FA2C40C.4040809@pacific.net>

Well, you're right, renaming is infrequent. On the other hand, I've been pushing to make everything avoid touching pages in the zodb as much as possible. I'm afraid that if rename, reparent etc. have to touch a lot of pages they'll go back to being very slow in a large wiki.


From danmcmullen Fri Oct 31 16:38:52 -0800 2003
From: dan mcmullen
Date: Fri, 31 Oct 2003 16:38:52 -0800
Subject:  re: NewHierarchyControls
Message-ID: <3FA30152.1020802@pacific.net>
In-reply-to: <20031031160249-0800@zwiki.org>

zwiki-wiki@zwiki.org wrote:
>>> I'm afraid that if rename, reparent etc. have to
> touch a lot of pages they'll go back to being very slow in a large
> wiki.<<<

how significant will updating a typical number of child pages be compared to the search 
for backlinks to update?  (this is where i assume the bulk of the time in 
rename/reparent goes?)  if we keep a list if children in the parent we don't need to 
search for children to update.


From DeanG Fri Oct 31 22:34:15 -0800 2003
From: DeanG
Date: Fri, 31 Oct 2003 22:34:15 -0800
Subject: Themes
Message-ID: <20031031223415-0800@zwiki.org>

I like the themes.  I'd like to suggest a "custom" category where a path value is editable near the selection.  It's a quick way to view Zwiki under other skins, like those in the "CSS Zen Garden":http://www.csszengarden.com/ , without having to muck around your browser options and keep setting localized to the site.




Archived GeneralDiscussion?.


comments:

Bewitched, bothered, and bewildered... -- Wed, 01 Oct 2003 03:47:58 -0700 reply
OK, I am havign a hard time getting it. Is there a manual? A book? I am hacking away on my Zwiki, but I have no clue about how to start a new page? How is it done? Can someone send help to dlp@psu.edu?

ZWIKI & Apache -- Wed, 01 Oct 2003 04:17:35 -0700 reply
I might sound like blasphemic - but is there a way to run ZWiki? on a apache ?

ZWIKI & Apache --DeanG?, Wed, 01 Oct 2003 07:04:00 -0700 reply
Yes, and not blashphemic, but it's a Zope issue more than Zwiki. See http://www.google.com/search?q=zope+with+apache

clean site! and re: mailing list --laura trippi, Wed, 01 Oct 2003 13:03:04 -0700 reply
Hi, Simon and all,

Zwiki.org is looking great! Major reno and much appreciated (I'm trying not to be a Pollyanna here, can you tell?).

Quick note: the link from FrontPage? on "mailing list" goes here:

http://zwiki.org/[FAQ]?#How%20does%20subscription%20work?

which doesn't mention anything about subscribing to the whole wiki mailing list. The WikiMail? page says: "to learn how to use this site's mail features, see the FrontPage?." I ended up going to my draft (not quite orphaned and badly named) WikiMailAtZwikiDotOrg? to find the link to the all-wiki mailman list (to change my options).

Ah, I see that link lives on the subscribe form. Maybe edit FrontPage? to read:

  Most discussion happens on GeneralDiscussion. To monitor activity 
across the site,
  subscribe to the "whole wiki":http://zwiki.org/mailman/listinfo/zwiki 
list.

Since I'm not super active on the site, I'm never sure whether I should just throw a suggested onto a page and let Simon or someone edit it out if it's unwanted...?

thanks,

-LaT?

comment without content --DeanG?, Wed, 01 Oct 2003 13:10:13 -0700 reply
Forgive my redundancy, but should comments without a subject and/or body be posted? Zwiki seem to get a few each week.

comment without content --DanMcmullen?, Wed, 01 Oct 2003 15:27:19 -0700 reply
perhaps labelling the comment button "add this comment" would clarify things. (as well as doing nothing for empty comments.)

navigation tags --DeanGoodmanson?, Thu, 02 Oct 2003 07:37:50 -0700 reply
Would the new navigation be well augmented with link tags? http://extensionroom.mozdev.org/more-info.php/linktoolbar

Resources: http://lists.w3.org/Archives/Public/www-html/2001Oct/0026.html , http://www.w3.org/TR/html4/types.html#type-links

ZWiki? hosting? --DanMcmullen?, Thu, 02 Oct 2003 15:00:10 -0700 reply
hello all! i'm about ready to buy some web space somewhere that will let me install a customized ZWiki? for a couple of prototype ecommunity sites i'm involved in. Zettai.net's "WebMaster" plan looks like it will do this, at $290/yr. (http://www.zettai.net/ZopeHosting/) does anyone have any experience w/ them, good or bad? any other options worth considering? tia, dan

ZWiki? hosting? --DeanG?, Thu, 02 Oct 2003 15:23:22 -0700 reply
Did you, or your mail app add the escapes to the brackets on that URL? It caused the link to fail (easy correction, though.) Test 2: <-- that should be recognized, as brackets have no place in URL's and come through outlook copy/pastes like that. I think that will actually be hidden thinking it's an SGML tag.

ZWiki? hosting? --DanMcmullen?, Thu, 02 Oct 2003 15:57:54 -0700 reply
interesting. i did that manually in a web post. it's just a convention i use to disambiguate where URLs? begin/end. will avoid it in the future.

navigation tags --laura trippi, Fri, 03 Oct 2003 00:43:48 -0700 reply
Dean, do you mean the new nav links on the upper left?

Would the new navigation be well augmented with link tags? http://extensionroom.mozdev.org/more-info.php/linktoolbar

You mean putting it in a div w/nice styles? I might not be getting this, but something to help the different links pop out would be good. They kind of blur together as they are.

I was giving a demo for a class last week and wanted to show them "RecentChanges?" at zwiki.org and couldn't find it. =}

I wasn't exactly focusing fully at the time but, still.

Hope that's not totally off topic.

--LaT?

navigation tags --DeanGoodmanson?, Fri, 03 Oct 2003 09:06:35 -0700 reply

You mean putting it in a div w/nice styles?

Now that you mention it, that is a higher priority to me, but not what I was getting at. There are <link> tags that can get added for book-like sites that work with Mozilla & co. navigation bars. When I looked at it a year ago it was OK but we didn't have the next/previous stuff that is there now.

I agree that the top could use more word seperation. I like the text, though. I don't like MoinMoin?'s micro-toolbar of links.

Would you mind posting an example of how you might div up the header? It might help my momentum. :-}

stylin' ZWiki? (was: navigation tags) --dan mcmullen, Sat, 04 Oct 2003 09:49:51 -0700 reply
navigation tag formatting seems to me to be part of a larger issue of how to make ZWiki? more "stylesheet friendly" out of the ..., er, tarball as it were. rendering the nav tags in a div is an instance of this.

more generally, removing "hard coded" style specs embedded in particular elements of the page templates would help a lot. replacing them with functionally based class tags would be good. this might make it necessary to have a stylesheet by default.

another nice thing might be to refactor wikipage.pt as a collection metal macros for the various parts of the page. this could significantly simplify wikipage.pt, making customization easier.

this is an area i'm interested in & i'd be willing to help. also, might this be better discussed over in ZwikiOneReleaseDiscussion?? seems it's part of the question of "what are the really necessary new features & fixes?" for after 0.23.

stylin' ZWiki? --laura trippi, Sat, 04 Oct 2003 14:29:00 -0700 reply
On Saturday, October 4, 2003, at 09:53 AM, dan mcmullen wrote:

navigation tag formatting seems to me to be part of a larger issue of how to make ZWiki? more "stylesheet friendly" out of the ..., er, tarball as it were.

Yes! Thanks for bringing that up, Dan. I agree it's best to tackle the nav tags w/in the context of the larger style sheet issue instead of piecemeal.

more generally, removing "hard coded" style specs embedded in particular elements of the page templates would help a lot. replacing them with functionally based class tags would be good. this might make it necessary to have a stylesheet by default.

Yes, and I think having a (simple, clear) zwiki style sheet by default is fine. By now, style sheets are, shall say, very much embedded in web coding practice. Unfortunately I can't help with this at the moment, and don't have a solid sense of how much effort would be involved.

Is there anyone else who can help? I'm swamped till the end of the semester....

another nice thing might be to refactor wikipage.pt as a collection metal macros for the various parts of the page. this could significantly simplify wikipage.pt, making customization easier.

Yes, otherwise, it's not really a ZPT so much as a DTML doc inside a page template? But since I have yet to grasp ZPT, and I'm no developer, I'm not really in a position to be lobbying for it. =}

this is an area i'm interested in & i'd be willing to help. also, might this be better discussed over in ZwikiOneReleaseDiscussion?? seems it's part of the question of "what are the really necessary new features & fixes?" for after 0.23.

Makes sense to me but I'll leave that to Simon, Dean et al: What do you think?

--LaT?

hello, Zwiki 0.23rc4 released --SimonMichael?, Sat, 04 Oct 2003 20:38:34 -0700 reply
I'm back from several wonderful days in the mountains. Meanwhile - excellent work, bug squad! No longer the restful trickle of issues I've been used to.. I'll need to adjust.. this is very good.

Laura it's good to hear you are finding the site cleaner. Your subscription clarification on FrontPage? sounds good, please go ahead with that kind of thing, we'll refine it further if needed. I've tried to make FrontPage? as simple as possible but it needs to explain things clearly.

Now, I've just chewed up a long saturday with great ease! :-/ More replies when bandwidth allows. Keep on the good work y'all.

Zwiki 0.23rc4 2003-10-04

  • provide all the metadata recommended at http://zwiki.org/ZwikiAndZCatalog in page brains. This may fix some problems.
  • call setupCatalog automatically from the CMF install script, to simplify plone installation. This adds all the indexes and metadata that Zwiki expects from a catalog (see setupCatalog or http://zwiki.org/ZwikiAndZCatalog for a list). NB these will apply for all catalogable plone objects, not just zwiki pages, but will (hopefully!) be empty/harmless for the non-pages.
  • ensure pages() always returns brains with complete metadata, even when a partial catalog is present. This allows a number of things to keep working (at the cost of more zodb access), eg creating/renaming in a cmf/plone site where setupCatalog has not been called (IssueNo0623? and others)
  • saving a page via ftp or webdav after removing the blank line between headers and text was giving an error. (Dan McMullen) This should fix the error (but may not do what's wanted..)
  • convert more unit tests to ZopeTestCase?; make MockZWikiPage? a bit more useful

stylin' ZWiki? --SimonMichael?, Sat, 04 Oct 2003 21:10:45 -0700 reply

might this be better discussed over in ZwikiOneReleaseDiscussion??

Time for another "topic judgment".. (I guess we see these on mailing lists too, but less often.) That page mentions (via SimonsPlan2004?) some general stylesheet things as part of the plan for 1.0. I would say that page is good for discussing what major things will/will not be in 1.0, and the timing of same. I would discuss specific stylesheet issues here (or on one of the more appropriate stylesheet pages, if it exists). Would anyone care to review and clean up the stylesheet pages ? I think the major ones are listed on WikiCleanup?.

0.23rc5 released --SimonMichael?, Sun, 05 Oct 2003 13:42:08 -0700 reply
Zwiki 0.23rc5 2003-10-05

  • zwiki_plone: the experimental skin-based versions of DTML pages are now generated automatically and the tracker has been added (untested). These are: recentchanges, searchwiki, useroptions, issuetracker, filterissues.
  • put the single-thread-per-page code behind a fewer_threads option, disabled by default.
  • first tests for CMF/Plone and page hierarchy; finally, a working test for rename(), in CMF/non-CMF; fix a bug in rename where children's parents field was not updated, leading to an error when you tried to view that child

Bewitched, bothered, and bewildered... --SimonMichael?, Sun, 05 Oct 2003 13:54:13 -0700 reply
Did you find the FrontPage? ? HelpPage? ? [FAQ]? ? When you went there did they help ?

I want to know if the docs are failing so we can make them better.

ZWiki? hosting? --SimonMichael?, Sun, 05 Oct 2003 14:04:05 -0700 reply
I haven't used Zettai but they look good. I also like Imeme, though I'm not so fond of freebsd - what OS does Zettai use ?

comment without content --SimonMichael?, Sun, 05 Oct 2003 14:05:40 -0700 reply
We have seen a surpising number of junk comments lately haven't we. If changing the add a comment button, how about just "add comment" ? I agree we should ignore a comment with blank subject and body if we don't already.

navigation tags --SimonMichael?, Sun, 05 Oct 2003 14:09:15 -0700 reply

wanted to show them "RecentChanges?" at zwiki.org and couldn't find it. =}

That's not good. :) I assume you're seeing it now though. It's on the FrontPage? and (unless you're in minimal mode) at the top of every page - but it's just "changes" there now, I went with the CommonPlace?-style links.

blog pearls, disorganized thoughts --SimonMichael?, Sun, 05 Oct 2003 21:30:35 -0700 reply
I just did a little blog-surfing. Laura is writing such wonderful stuff - "[1]":http://www.netvironments.org/blog/archives/2003_09_01_archives_html#106473814120097082 "[2]?":http://www.netvironments.org/blog/archives/2003_09_01_archives_html#106471167694525477 "[3]?":http://www.netvironments.org/blog/archives/2003_09_01_archives_html#106458649069140739 "[4]?":http://www.netvironments.org/blog/archives/2003_09_01_archives_html#106400399374164779 . I'm feeling guilty for my techie ways!

(So is Tim ).

Laura I hope we can clear up some of these wiki issues one of these days. Reading of your heroic efforts with the latest tech makes me think that sometimes we need to go simple, maybe drop a new tool or stay more on the beaten path with it for a few months till it improves. It's clear we need to pick our battles and conserve energy in this ongoing explosion of tech issues. This is not to discourage you, but give yourself credit - I've never heard of anyone integrating Movable Type and zope before. (Though I hear MT is excellent, from my point of view it's a dead end in this sense)

Having said that, anything that fixes the one-inch wide text column on your blog will a very good thing.

I can well see the potential for confusion with learning current wiki and plone mixed together - I would find that very confusing too. Each makes more sense, can be grasped more easily and is more mature when considered on it's own. If it were me I think I'd try and hide one or the other until students get the urge to explore their overlap. What's the Simplest Thing That Could Possibly Work ? What if you gave them a standard plone site and a standard wiki (outside of plone) side by side and let them figure out which works best for what and later, what integration might look like ?

Anyhow, thanks for your reports and insights, they make good reading. I'm sad to learn about Edward Said too.

blog pearls, disorganized thoughts --SimonMichael?, Sun, 05 Oct 2003 21:53:29 -0700 reply
And when I say "we need to pick our battles" I don't mean "pitiful newbie, you are out of your depth again" :) I am, probably everyone else is, facing the very similar problems. The last two days I've been struggling to make ZopeTestCase?-based unit tests work with the testrunner script as advertised, as everyone claims it does, only to be mired in endless PYTHONPATH, SOFTWARE_HOME, rsync, import sequence problems with no success yet. I got lucky with a quick answer in the #perl channel this morning, but on the #zope channel they usually laugh at my feeble inquiries.. or at least that's what I imagine in the deafening silence. I did get a kind, serious attempt at solving the problem from janko (thanks!).. though futile.. and I got some sympathy while moaning about zope.org and old plone's horizontal-scrolling problems. I would say getting on IRC is a very good move, see you there.

More than one tracker or more attributes per issue ? --Hans Beck, Mon, 06 Oct 2003 05:50:12 -0700 reply

Hi,

Is it possible to have more than one Issue Tracker in a Zwiki, i.e. one for product A and one for product B ? Or if not, it is possible to add more attributes of issues (than category, serverity, status) by using ZMI ?

-- Hans

More than one tracker or more attributes per issue ? --DeanGoodmanson?, Mon, 06 Oct 2003 09:38:16 -0700 reply
I'd suggest a SubWiki? for more than one tracker.

More attributes via ZMI? That's a bit of a doozy. Adding a field isn't a simple operation, and doing it automatically sounds like a slippery slope. The biggest problem being presentation (text field, drop down, ??). If each of the custom fields were simply "text" (string, list, text,??), it might work by adding handling of *kw arguments to the add/edit/insert, but catalog and UI updating issues still present a big dilema, let alone security and ??? We can probably continue this at the ZwikiTracker? page.

PotentialPages? --DeanGoodmanson?, Mon, 06 Oct 2003 12:33:46 -0700 reply
I've recently discovered canonical links. Anyone created a PotentialPages? page based on this? ( canonicalLinks - links )

This pages canonical links: ZWiki:GeneralDiscussion/canonicalLinks

0.23rc5 released --laura trippi, Mon, 06 Oct 2003 21:18:12 -0700 reply
Simon, I'm installing Zope/Plone/Zwiki on a new machine, using Plone 1.0.5: does this release fix some of the issues noted in your reply to Curtis:

http://zwiki.org/ZwikiAndPlone#msg20031004115011-0700@zwiki.org

I'm tempted to try it but this install is for my plone course site: what would you recommend?

thanks much,

--LaT?

PotentialPages? -- Mon, 06 Oct 2003 21:34:55 -0700 reply
Looks like canonicalLinks and links include all links, not just WikiNames?, so a simple PotentialPages? is not possible.

More than one tracker or more attributes per issue ? --Simon Michael, Tue, 07 Oct 2003 17:16:09 -0700 reply
Hi.. not with the current code, you'd have to extend/modify it. It's set up for one tracker per wiki at present.

0.23rc5 released --Simon Michael, Tue, 07 Oct 2003 17:18:43 -0700 reply
It fixes the issues with the catalog not being set up right, so all you should have to think about is enabling DTML (by renaming the no_dtml.dtml file) and granting the desired zwiki permissions.

0.23rc5 released --Simon Michael, Tue, 07 Oct 2003 17:20:52 -0700 reply
PS so what I'd recommend is (0. keep your Data.fs backed up, of course) 1. make a Products/old subdirectory 2. move Products/ZWiki? to old 3. unpack the latest ZWiki? in Products 4. restart zope and use it happily 5. but if for any reason you need to quickly revert, replace the one in old

Localization --Simon Michael, Tue, 07 Oct 2003 17:34:08 -0700 reply
I agree, we could/should/will do this.

Can't Edit Pages?? -- Wed, 08 Oct 2003 17:51:18 -0700 reply
I have installed ZWiki? on a hosted site (Zettai are excellent by the way) and I am completely confused. The install seemed to go OK but none of the pages display the option to "edit". I am pretty sure that I have permissions set OK. When I "View" the page inside the Zope ZMI the edit option is displayed. When I view it normally it is not.

Any ideas?

comment without content -- Wed, 08 Oct 2003 18:36:17 -0700 reply
I think "add this comment" makes more sense than "add a comment" or "add comment". Also, the change required to the source for ignoring empty comments is pretty simple (below, but may not render quite right on this page) -- could it be done for the 0.23 release perhaps? It may not be the most elegant solution, but it definitely worked for me as a quick hack.

In ZWikiPage?.py, replace the line in the "comment" procedure:

if subject != '[test]?' or self.getId() == 'TestPage?':

with the following line:

if (text or subject) and (subject != '[test]?' or self.getId() == TestPage):

Option to disable mailout of page creations -- Wed, 08 Oct 2003 19:52:40 -0700 reply
Can this be added sometime?

Option to disable mailout of page creations --DeanG?, Thu, 09 Oct 2003 06:55:44 -0700 reply
Are per-page mailout settings integrated yet? If that feature was there, you could work around your desire for no new notifications by only getting notifications on the pages you specify.

Bookmarks --DeanG?, Thu, 09 Oct 2003 07:03:07 -0700 reply
I'm finding I miss bookmark functionality. Not that I want them back, but I want quick access to the list of pages I regularly visit/watch.

I'd prefer that my username be a wiki-linked somewhere on the page, so I can add said bookmarks to my personal page and get to it from there. This location may also server as an (additional) preferences link when no useroptions have been set.

PageType?: STX DTML HTML --DeanGoodmanson?, Thu, 09 Oct 2003 07:51:12 -0700 reply
I'm running into a number of cases (code examples and narratives) where escaping wiki-linking is the majority of the page and cumbersome. I'm going to look into creating a new page type for this scenario that does NOT include wikilinks.

But...

  1. Is this technically reasonable or toying with the fundamentals.
  2. Are there caching/prerendering issues to watch out for?

UserOptions? oddity --DeanG?, Thu, 09 Oct 2003 13:15:27 -0700 reply
UserOptions? only showed 1 item for me today.

http log question --PieterB?, Fri, 10 Oct 2003 11:21:59 -0700 reply
On Fri, Oct 10, 2003 at 09:09:31AM -0700, DeanGoodmanson? wrote:

I came across the following in my log file...would someone mind telling me what it is?:
 #.#.#.# - Anonymous (10/Oct/2003:10:49:05 -0500) "GET /p_/sp HTTP/1.1" 304 194 "http://..../WikiPage" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Feedreader; .NET CLR 1.0.3705)"

In particular:

 GET /p_/sp HTTP/1.1" 304 194 

-- forwarded from http://zwiki.org/GeneralDiscussion#msg20031010090908-0700@zwiki.org

I think it's got something to do with your RSS-feed because of the Feedreader user agent. The /p_/ and /misc_/ are used for serving Zope images (see http://www.zope.org/Members/madcow/p_images )

BTW: why didn't your post show up at the GeneralDiscussion?? I think it might be the bracket's in the logfile line, so I removed them.

http log question --DeanG?, Fri, 10 Oct 2003 11:38:51 -0700 reply
Good to here from you, Pieter! You should crank up a blog again with PyDS and PyCS?. (although it's down today)

I chucked the post as I figured out what the object was. I'm very interested in a single-hit roll-back feature to clean up silly mistakes like that from the RecentChanges?, but OOPS! Mailing list. (Maybe a 5 minute validation before mailout ;-))

off to New Orleans --SimonMichael?, Sat, 11 Oct 2003 09:10:42 -0700 reply
This has been a jam-packed week. Sorry for the delay in release - it'll be just the same as rc5. If you'll be at the plone conference, look for me there! I hope to be back online in a day or two.

ZWiki? hosting? --Brian, Sat, 11 Oct 2003 14:55:29 -0700 reply
Zettai is great! I've been with them for over 6 months. George Donnelly is friendly, knows his stuff and email replies are always very quick with any issues that arise. His systems are kept very up to date but not at the expense of stability. Very pleased all around.

0.23 final released --SimonMichael?, Sun, 12 Oct 2003 21:13:55 -0700 reply
and this one should be accessible on zope.org too.

I realized that it's been 4 years, not 5. Phew! More time. Also I think we have a way to go to make a good 1.0. SimonsPlan2004? may need to be pushed back.

#parents: -- Mon, 13 Oct 2003 06:21:41 -0700 reply
Not only contents/basic/* but also FilterIssues?.stxdtml has #parents: tag.

setupCatalog -- Mon, 13 Oct 2003 08:39:49 -0700 reply
Zope-2.6 does not create Vocabulary automatically when adding ZCatalog(Zope-2.5 does). So I think it had better to create Vocabulary if it does not exists.

setupCatalog --Simon Michael, Mon, 13 Oct 2003 19:26:26 -0700 reply
How does this problem show up ? Do you get an error from setupCatalog ?

UserOptions? oddity --Simon Michael, Mon, 13 Oct 2003 19:27:03 -0700 reply
Looked ok to me. Working now ?

Re: can't comment via email? --Simon Michael, Mon, 13 Oct 2003 19:28:49 -0700 reply
dan mcmullen wrote:

i've tried unsuccessfully a couple of times to post to GeneralDiscussion? via email. thought it might be because i subscribed as "bang+zwiki@" but send mail just as "bang@", but after changing the subscription i

Yes that would do it. As long as you are subscribed (somewhere) with the address you send from, this should work. Any luck ?

setupCatalog -- Mon, 13 Oct 2003 22:02:23 -0700 reply
setupCatalog itself works well. Is there any problem when searching TextIndex? field ? I do'nt know the detail about the relation between Vocabulary and TextIndex?. Zope-2.6 seems to recommed Lexcon/ZCTextIndex? pair instead of Vocabulary/TextIndex?.

More than one tracker or more attributes per issue ? -- Tue, 14 Oct 2003 11:20:36 -0700 reply
By coincidence, I just had this weird idea I wanted to bounce off the crowd. I was thinking of doing some crude BillSeitz:SalesForceAutomation, and wanted a simple way to add new object types (those words used sloppily). Take a look at BillSeitz:WikiForCollaborationWare and do a Find for SFA.

#parents: --SimonMichael?, Tue, 14 Oct 2003 20:13:50 -0700 reply
Yes, setupPages uses this tag to set the initial page hierarchy. You should omit the #parents line if you are copying and pasting these pages manually.

PageType?: STX DTML HTML --SimonMichael?, Tue, 14 Oct 2003 20:21:06 -0700 reply

Is this technically reasonable

Hi Dean - certainly. I think we had a non-wiki-linking type at one point but I judged it not important enough to keep. I think though it would be nice to be able to easily disable wiki features all the way down to a static web page workalike.

Re bookmarks - add personal page to the top link bar, then ? Could be good, but what to call it, if not.. My Wiki ? :-)

move contents link to the number 2 position ? --SimonMichael?, Tue, 14 Oct 2003 21:08:03 -0700 reply
I want contents to be r

looks like we lost some

New Comments with 0.21 -- Thu, 23 Oct 2003 00:02:04 -0700 reply
The problem and rendered page can be found in: ArnoCommentProblem?

BTW: We should really try to do the most unexpectable - write a manual to this :) I noticed the new Subtopic Rendering - is there a place where this is described ?

Re: Making AllPages? work under Plone -- Thu, 23 Oct 2003 01:04:44 -0700 reply

CMF/Plone's catalog is called portal_catalog. AllPages? should use the newer pages() instead, which will take care of finding the catalog and restricting the results to the current wiki. Try that.

Thanks a lot. That took me a step forward. The code is now working in my test environment. Unfortunately, it still doesn't work in my real environment. The test environment is a clone of my real one, they both use the same ZWiki? CVS head, and I am not able to give account of the different behaviour.

The real environment raises an AttributeError? in this statement:

< dtml-call "REQUEST.set(pageList,REQUEST.get(pageList,[])+[x_sequence_item])">

Can you help me once more?
Andreas

Re: Making AllPages? work under Plone --Simon Michael, Thu, 23 Oct 2003 07:28:20 -0700 reply
Andreas - I can't see the problem. Can you post a link, or more detail (the traceback in the ZopeLogs? might give more clues).

manual --Simon Michael, Thu, 23 Oct 2003 07:40:51 -0700 reply
Arno - great, can you help ? Here are two key places: WikiCleanup? - cleaning up our existing raw docs; ZWiki? - a book-style outline in progress.

Re: Making AllPages? work under Plone -- Thu, 23 Oct 2003 13:05:27 -0700 reply

Can you post a link, or more detail (the traceback in the ZopeLogs?? might give more clues).

This is the traceback for the error::

Traceback (innermost last):
  Module ZPublisher.Publish, line 98, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 39, in call_object
  Module Products.ZWiki.ZWikiPage, line 283, in __call__
  Module Products.ZWiki.CMF, line 122, in __call__
  Module Shared.DC.Scripts.Bindings, line 252, in __call__
  Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
  Module Products.CMFCore.FSPageTemplate, line 167, in _exec
  Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec
  Module Products.CMFCore.FSPageTemplate, line 139, in pt_render
  Module Products.PageTemplates.PageTemplate, line 95, in pt_render
   - 
  Module TAL.TALInterpreter, line 200, in __call__
  Module TAL.TALInterpreter, line 244, in interpret
  Module TAL.TALInterpreter, line 703, in do_useMacro
  Module TAL.TALInterpreter, line 244, in interpret
  Module TAL.TALInterpreter, line 726, in do_defineSlot
  Module TAL.TALInterpreter, line 244, in interpret
  Module TAL.TALInterpreter, line 592, in do_insertStructure_tal
  Module Products.PageTemplates.TALES, line 217, in evaluate
   - Line 28, Column 4
   - Expression: 
   - Names:
      {'container': ,
       'default': ,
       'here': ,
       'loop': ,
       'modules': ,
       'nothing': None,
       'options': {'REQUEST': ,
                   'RESPONSE': ZServerHTTPResponse(''),
                   'args': (,)},
       'repeat': ,
       'request': ,
       'root': ,
       'template': ,
       'traverse_subpath': [],
       'user': zopeadm}
  Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__
   - __traceback_info__: here.render(here,request)
  Module Python expression "here.render(here,request)", line 2, in f
  Module Products.ZWiki.ZWikiPage, line 298, in render
  Module Products.ZWiki.ZWikiPage, line 383, in render_msgstxprelinkdtmlfitissuehtml
  Module OFS.DTMLDocument, line 131, in __call__
  Module DocumentTemplate.DT_String, line 474, in __call__
  Module DocumentTemplate.DT_Let, line 76, in render
  Module DocumentTemplate.DT_In, line 705, in renderwob
  Module DocumentTemplate.DT_Let, line 76, in render
  Module DocumentTemplate.DT_Util, line 201, in eval
   - __traceback_info__: pageList
  Module , line 2, in f
AttributeError: set
-- Andreas

Re: Making AllPages? work under Plone --Simon Michael, Thu, 23 Oct 2003 15:20:58 -0700 reply
REQUEST has no set attribute - usually means it's None (put a dtml-var REQUEST in there). This can happen when calling the page from within another and forgetting to pass the REQUEST argument.

Problem gettting started - attribute error --Simon Michael, Thu, 23 Oct 2003 15:22:52 -0700 reply
Yes, this is one of the issues fixed in CVS.

Problem gettting started - attribute error --Simon Michael, Thu, 23 Oct 2003 15:32:04 -0700 reply
In other words.. ah.. the problem is an invalid parents attribute, so visiting PAGE/reparent should fix things.

interesting --SimonMichael?, Thu, 23 Oct 2003 20:04:26 -0700 reply
The Great Library of Amazonia

Re: Making AllPages? work under Plone -- Fri, 24 Oct 2003 04:16:14 -0700 reply

REQUEST has no set attribute - usually means it's None (put a dtml-var REQUEST in there).

The dtml-var REQUEST results in an empty string, whereas my test environment dumps an object.

This can happen when calling the page from within another and forgetting to pass the REQUEST argument.

Okay, this may be beyond my skills. :-) What can be the cause for this? The rest of the ZWiki? and other pages containing DTML-Code (for example RecentChanges?) are doing fine. I also had AllPages? already running in my test environment. But when I copy my Data.fs from the real system into the test environment, the test environment raises the same error.

I also tried to start from scratch in the test environment:

  1. Delete Data.fs
  2. Create a Plone site
  3. Install the ZWiki? in the Plone site (external method ZWiki?.Install, install)
  4. Add a folder to the plone site for the ZWiki?
  5. Create a new ZWiki? outside of the Plone site and copy its contents to the Plone-ZWiki?
  6. Call setupCatalog on the FrontPage?
  7. Insert AllPages? into the FrontPage?, create the page and paste the code from zwiki.org into the page

The result is still the same: AllPages? raises an AttributeError? (REQUEST is empty), whereas the code for RecentChanges? does fine.

-- Andreas

Re: Making AllPages? work under Plone --DeanGoodmanson?, Fri, 24 Oct 2003 07:09:23 -0700 reply

but when I copy my Data.fs from the real system into the test environment, the test environment raises the same error.

Catalog snafu? Does it still happen after clearing and re-finding your zwiki pages?

Re: Making AllPages? work under Plone -- Fri, 24 Oct 2003 07:54:30 -0700 reply

Catalog snafu? Does it still happen after clearing and re-finding your zwiki pages?

If you are asking if it still happens after clearing the catalog and recreating it from scratch (/setupCatalog), then the answer is yes. In my example above, I even started with a fresh and empty Data.fs.

-- Andreas

Re: Making AllPages? work under Plone --Simon Michael, Fri, 24 Oct 2003 08:16:43 -0700 reply
We're missing something. REQUEST should not be empty. Put dtml-var REQUEST by itself in AllPages? and a couple of other pages. What do you get ? Do you have an object named REQUEST in the zodb ?

update --Simon Michael, Fri, 24 Oct 2003 17:51:59 -0700 reply
A massive round of product clearance and upgrades today. This server is now running CMF 1.4.1 and the latest plone 2.0 branch, along with all it's dependencies and a few more (ArcheTypes?, FileSystemSite?, SkinnedFolder?...).

I've replaced http://zwiki.org/plone with a plone 2 site but it's not yet operational (no sidebars for some reason, unlike http://zwiki.org/test/plone). There was a bug in CVS preventing wiki page creation, fixed.

Dean and I decided on IRC last night to close off the ZMI from anonymous visitors (and google) - ie the full history button in the diff screens. That ZMI screen wasn't too useful since I pack frequently, and anonymous isn't able to restore from history anyway due to a zope bug.

Increased activity in #zwiki (and the other zope channels) lately. I hope to be more present on IRC for the next while.

excerpts in search results --Simon Michael, Fri, 24 Oct 2003 17:52:34 -0700 reply
Dean, I've installed that new feature that you suggested, thanks for the code. I took the liberty of renaming and simplifying it as much as I could - then wrote some tests and it all blew up again as I grappled with the details, when I should have been dreaming! Here's where I got to, for your interest:

     def test_excerptAt(self):
         self.page.edit(text='This is a test of the<br>\n excerptAt method,')

         self.assertEquals(self.page.excerptAt('excerptat',size=10,highlight=0),
                           '\n excerptAt ')

         #self.assertEquals(self.page.excerptAt('this*',size=21,highlight=1),
         #                  '<span class="hit">This</span> is a tes')
         #self.assertEquals(self.page.excerptAt('br',size=4),
         #                  'e&lt;<span class="hit">br</span>&gt;\n')
         # XXX temp
         self.assertEquals(self.page.excerptAt('this*',size=21,highlight=1),
                           '<span class="hit" style="background-color:yellow">This</span> is a tes')
         self.assertEquals(self.page.excerptAt('br',size=4),
                           'e&lt;<span class="hit" style="background-color:yellow">br</span>&gt;\n')
         self.assertEquals(self.page.excerptAt('<br>',size=4,highlight=0),
                           'e&lt;br&gt;\n')
         self.assertEquals(self.page.excerptAt('nomatch'),'')
         self.assertEquals(self.page.excerptAt(''),'')

     security.declareProtected(Permissions.View, 'excerptAt')
     def excerptAt(self, expr, size=100, highlight=1):
         """
         Return an excerpt of this page at the first occurence of expr.

         Intended when presenting search results.  Does a straight
         case-insensitive string search, after first removing any *
         wildcard character (this may not agree exactly with the catalog
         index's search). SGML tags are quoted.

         If no match is found or expr is blank, returns an empty string.

         When highlight is true, each match within the excerpt is enclosed
         in a span with class "hit". This is not 100% reliable because we
         don't handle wildcards and due to the html quoting.

         """
         string = re.sub(r'\*','',expr)
         m = re.search(r'(?i)'+re.escape(string),self.text())
         if m and string:
             middle = (m.start()+m.end())/2
             exstart = max(middle-size/2-1,0)
             exend = min(middle+size/2+1,len(self.text()))
             excerpt = html_quote(self.text()[exstart:exend])
             if highlight:
                 excerpt = re.sub(
                     r'(?i)'+re.escape(html_quote(string)),
                     #'<span class="hit">%s</span>' % html_quote(m.group()),
                     # XXX temp
                     '<span class="hit" style="background-color:yellow">%s</span>' % html_quote(m.group()),
                     excerpt)
             return excerpt
         else:
             return ''

visual editing --Simon Michael, Fri, 24 Oct 2003 17:52:40 -0700 reply
The latest Epoz and epoz (the NG version, alpha 1 released today) are installed. I made a serious attempt at epoz NG with help from guido_w but don't have it doing anything useful yet. SkinnedFolder? and FileSystemSite? work very nicely to provide CMF-like skins, without the CMF - perfect for epoz & zwiki - but epoz expects file suffixes which they hide.

Did I mention the Epoz proof-of-concept ? Andrew Ho (of OIO fame) prodded me into it. You can see the present state by following the link on TestPage?, and any coding help is welcome; the method is in UI.py, and needs to be templatized in some appropriate way.

As it happens, at the moment I'm feeling that we've reached the limits of standard STX (due to performance and consistency issues). STX has never been optimized and never will be. I don't think RST is the answer either. At the plone conference I tried to come up with a design for a new, outliner-ish parser/formatter that could support the most useful bits of STX and RST and zwiki linking integrated cleanly as a single whole rather than half a dozen systems grafted together, therefore faster and more consistent-feeling.

I think this could be good, but I'm not sure it's the best use of time, when rich cross-platform visual editors are finally arriving. Mostly we want to fix things on a page, and make beautiful documents with a minimum of fuss, expecting the tools to keep a clean semantic representation underneath. So I'm feeling quite friendly towards HTML and pseudo HTML[1] just at the moment..

[1] HTML plus a few carefully-chose convenience markups - blank lines create paragraphs, zwiki-style linking, STX emphasis, RST headings ? Or, STX with much simpler rules.

excerpts in search results -- Fri, 24 Oct 2003 18:32:40 -0700 reply

. I took the liberty of renaming and simplifying it as much as I could

Thanks! I look forward to working with it.

excerpts in search results -- Fri, 24 Oct 2003 19:14:07 -0700 reply
I took the wiki liberty of plopping it on the SearchPage?. Looks good! As each page requires the page to be woken up, large hits may eat up RAM. :-/ I think I disabled this on the blank search.

http://zwiki.org/SearchPage?source=search&expr=scroll

Changing reST report_level --Kent Tenney, Sat, 25 Oct 2003 02:58:58 -0700 reply
In my reST pages, I'm getting messages

"system message INFO/1 .."

I want to suppress these. In ZwikiPage?.py I've changed report_level to 2 the line;

t = reStructuredText.HTML(t,report_level=2)#doesn't hide em

but I still get the messages.

TIA for any suggestions
Kent

reST report_level problem resolved --Kent Tenney, Sat, 25 Oct 2003 09:12:38 -0700 reply
After correcting a different problem (section heading underline too short), the page started supressing the message as it should.

I don't get it, but now it is working
Kent

0.24rc1 released --simon, Sat, 25 Oct 2003 16:55:54 -0700 reply
You know the drill, download from FrontPage? or CVSRepository?, bug reports welcome. This should be less troublesome than 0.23. See NewHierarchyControls? if you haven't already.

I've been thinking about various release process adjustments. At the moment I think the one-month release cycle is still best, but I'm going to try and be more disciplined: new features and high-risk development during the first half of the month, primarily bugfixes during the second half. The test suite continues to improve slowly; we need more tests. I think we can continue to generate reliable monthly releases that way. A quarterly stable release might be nice but too much extra work I think. Any other ideas welcome.

memory meter --simon, Sun, 26 Oct 2003 01:45:14 -0700 reply
I've added a memory usage meter to the skin temporarily. MemoryUsage? has the code if you want it. See also the pretty ColourTests?.

just in time for Halloween... --DanMcmullen?, Sun, 26 Oct 2003 13:20:49 -0800 reply
PerPageStylesHack? - not for the faint of heart!

i'm not sure what to make of this myself. horribly cool?

:-) dan

re: NewHierarchyControls? --DanMcmullen?, Sun, 26 Oct 2003 15:48:56 -0800 reply
how do we manipulate the prev/next order of subpages?

server trouble --simon, Sun, 26 Oct 2003 23:32:05 -0800 reply
Tried to move the wiki to a SkinnedFolder?, major project since it turns out the current Folder has more pages than it can handle within our quota (and most browsers have a hard time with the 2Mb ZMI table, ZEO doesn't have all the right authorization, etc..). Big waste of time, I ended up losing page creation times. Didn't backup first. :( I'm going to see if imeme have a recent one.

Re: Making AllPages? work under Plone -- Mon, 27 Oct 2003 01:49:31 -0800 reply

Put dtml-var REQUEST by itself in AllPages? and a couple of other pages. What do you get ?

Inserting dtml-var REQUEST on any page, I get a dump of the request object. I even get the dump, if I insert the statement in AllPages? before the comment starting with '< dtml-comment 3. REQUEST ...'. Inserting the statement (e.g. replacing the dtml-call) inside the loop immediately following this comment, I only get an empty string.

Do you have an object named REQUEST in the zodb ?

I haven't found one. Where should this object be found?

Thanks for your patience. :-)

-- Andreas

Mailman archiver --PieterB?, Mon, 27 Oct 2003 14:22:14 -0800 reply
There is a discussion on the mailman-developers list on the requirements of an archiver: See: http://news.gmane.org/gmane.mail.mailman.devel or my post at: http://article.gmane.org/gmane.mail.mailman.devel/14954

(new) Requirements for a new archiver --PieterB?, Mon, 27 Oct 2003 14:46:58 -0800 reply
On Mon, Oct 27, 2003 at 05:28:50PM -0500, Barry Warsaw wrote:

Also have a look at the "SMART Archiver" project, http://sourceforge.net/projects/smartarchiver/
I didn't know about that one!

It's a similar university project of the Eindhoven University of Technology. The project has just been finished and I assume all sources are/will be available. I saw the author upload the code to sf.net, and probably our host gewis.nl will host a demo environment in a couple of weeks.

About coupling the archiver/mailinglist:

So I don't want to have to ask the archiver for that url. I want Mailman to be able to calculate it from something unique in the message, and have the archiver agree on the algorithm, so that it (or some other translation layer) can do the mapping back to the archived article. Or, Mailman should be able to calculate a unique id for the article and stuff that in a header for the archiver to index on.

Zwiki has implemented such functionality based on the time that the message is received/sent. E.g. a mailout for a webpost at the http://zwiki.org/GeneralDiscussion looks like this in the e-mail: (look at the generated signature, with a hyperlink to the message anchor)

There is a discussion on the mailman-developers list on the requirements of an archiver: See: http://news.gmane.org/gmane.mail.mailman.devel or my post at: http://article.gmane.org/gmane.mail.mailman.devel/14954 -- forwarded from http://zwiki.org/GeneralDiscussion#msg20031027142214-0800@zwiki.org

Off course, in this case the msgid, doesn't have to be shared between the archiver and mailinglist, because zwiki does both in one application.

Regards,

Pieter

cc: mailman-developers lists, zwiki GeneralDiscussion?

-- When a broken appliance is demonstrated for the repairman, it will work perfectly.

NavigationToolbar? --DeanGoodmanson?, Tue, 28 Oct 2003 00:00:20 -0800 reply
I tried to get some navigation links built into the HEAD of zwikipage.pt , but keep stumbling over basic ZPT. Any thoughts?:

 <link tal:condition="python:here.previousPage()" rel="Previous"  tal:attributes="href python:here.previousPage()"  />
 <link tal:condition="python:here.nextPage()" rel="Next" tal:attributes="href python:here.nextPage()" />

The condition works, the attributes don't.:

 Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec 
Module Products.PageTemplates.PageTemplateFile, line 103, in _exec 
Module Products.PageTemplates.PageTemplate, line 87, in pt_render
<MyPageTemplateFile at /wiki/SearchPage/>
Warning: Compilation failed
Warning: TAL.TALDefs.TALError: Python expression error: invalid syntax (line 1) in expression "python:\n here.wiki_url() + '/externalEdit_/'\n modules['Products.PythonScripts.standard'].url_quote(here.id()) +\n '?borrow_lock=1'", at line 26, column 1 

 PTRuntimeError 

RecentChanges? -- Everythings new --DeanGoodmanson?, Tue, 28 Oct 2003 22:38:33 -0800 reply
Each item for me in the RecentChanges? is listed as New.

Newbie question --Dirk WESSEL, Wed, 29 Oct 2003 04:00:20 -0800 reply
Reply Requested When Convenient

I'am just new to Zwiki. In my project I have to create a Zwiki site on which users can create and update new documents.

I'am trying now to find an efficient way to structure the zwiki accommodating various documents and creating a table of content for the site as well as for each document.

How can this be achieved?

Newbie question --DeanGoodmanson?, Wed, 29 Oct 2003 08:03:36 -0800 reply
Does the NavigationAids? and new SubTopics? features help your site TOC?

For files... Want to mock-up what kind of information you expect to be displayed?

Stand alone Zwiki Page --DeanGoodmanson?, Wed, 29 Oct 2003 12:09:54 -0800 reply
Is a Zwiki Page still intended to be added to a non-Zwiki folder in the ZMI? If so, I think the default .pt may fail when checking for enabled subtopics.

RecentChanges? -- Everythings new --Simon Michael, Wed, 29 Oct 2003 15:17:17 -0800 reply
DeanGoodmanson? wrote:

Each item for me in the RecentChanges? is listed as New.

Yup, a mishap on my part mentioned the other day.. I have a backup from imeme now and I'll recover the creation times from there.

Stand alone Zwiki Page --Simon Michael, Wed, 29 Oct 2003 15:26:03 -0800 reply
Yes, 'ZWiki? Page's are still supposed to work in any kind of folder. I think I know the problem you mean, but wasn't it fixed in 0.24rc1 ?

A separate issue: I changed ZWiki Web in the ZMI add menu to Wiki, for clarity and consistency with CMF/Plone. ZWiki Page had to remain unchanged though to avoid tedious upgrade issues. So these two are now widely separated in the add menu, and next to Wiki there's a bogus Wiki content entry that comes from CMF. So I think it's more confusing and I'd better change it back to ZWiki Web, even though that's a made-up term.

Stand alone Zwiki Page --SimonMichael?, Wed, 29 Oct 2003 15:34:39 -0800 reply
Or, it could be ZWiki Wiki ? Or just ZWiki ?

NavigationToolbar? --Simon Michael, Wed, 29 Oct 2003 16:14:10 -0800 reply
Dean - I think you want a href, not the link tag which is for stylesheets etc.

Also, if it matters: that code will calculate the entire wiki hierarchy four times, which right now in a large wiki should be avoided. See navlinks() for an example of how to calculate it once and reuse.

Re: Making AllPages? work under Plone --Simon Michael, Wed, 29 Oct 2003 16:22:49 -0800 reply
All: sorry my responses here are sluggish, email has been hellish lately. Look for me on #zwiki, it's sometimes more efficient.

Inserting dtml-var REQUEST on any page, I get a dump of the request object. I even get the dump, if I insert the statement in AllPages? before the comment starting with '< dtml-comment 3. REQUEST ...'. Inserting the statement (e.g. replacing the dtml-call) inside the loop immediately following this comment, I only get an empty string.

Andreas - that's suspicious. Are you using the same AllPages? code as on this site ?

Do you have an object named REQUEST in the zodb ?

I haven't found one. Where should this object be found?

That's good, you shouldn't find one there.

re: NewHierarchyControls? --Simon Michael, Wed, 29 Oct 2003 16:43:29 -0800 reply
DanMcmullen? wrote:

how do we manipulate the prev/next order of subpages?

We don't right now, we would like to be able to.

If it can be added without too much cruft, we should, but I'm also thinking the way hierarchy is stored might be due for a change. Some thoughts I had :

  1. store children instead of parents ? Children tend to be more numerous than parents, so this would make calculating the subtopics much cheaper; finding the ancestry is easy by comparison. But it would also mean more pages to update when you rename a page.
  2. make zwiki pages archetypes and use archetypes relations feature to store relationships more effciently ?
  3. hierarchy defined in pages ? This is a bit drastic, but imagine there is no absolute page hierarchy - I put a table of contents on FrontPage?, and when I click one of the links zwiki knows I came from FrontPage? and looks there to figure out where we are in "the FrontPage? hierarchy". If I visit the same page via a different table of contents on some other page, we would appear to be in "the other hierarchy". This would support re-use of "modules" in different "courses", as in the Connexions project. It also might deemphasize hierarchy in a positive sense - less chance of having to think about where a page belongs up front. I'm not sure if it's practical though, due to ugly urls or cookies.

Ideas welcome!

Newbie question --Dirk WESSEL, Thu, 30 Oct 2003 00:25:25 -0800 reply
Reply Requested When Convenient

It might be. But I haven't yet found a way to use it. Documentation is quite weak on that issue.

What we try to achieve is that we expect a couple of huge documents with a lots of chapters. I would like to treat these chapters as separate zwiki pages.

Each wiki page should start with a table of contents (mainly the sections) and the top page of each document should show the different wiki pages and there table of contents.

Its very similar to a book structure with the exception that the various chapters are separate zwiki pages.

> DeanGoodmanson? 10/29/03 05:03PM >>>
Does the NavigationAids? and new SubTopics? features help your site TOC?

For files... Want to mock-up what kind of information you expect to be displayed? -- forwarded from http://zwiki.org/GeneralDiscussion#msg20031029080336-0800@zwiki.org

Re: Making AllPages? work under Plone -- Thu, 30 Oct 2003 01:08:26 -0800 reply

Are you using the same AllPages? code as on this site ?

Yes, I am. I have copied and pasted the code from editform to editform.

-- Andreas

... -- Thu, 30 Oct 2003 03:22:25 -0800 reply

Kodos - The Python Regex GUI Debugger --PieterB?, Thu, 30 Oct 2003 07:30:27 -0800 reply
I just happened to find a link to: Kodos - The Python Regex GUI Debugger, which might be usefull for some of you.

Kodos is a Python GUI utility for creating, testing and debugging regular expressions for the Python programming language. Kodos should aid any developer to efficiently and effortlessly develop regular expressions in Python. Kodos is an open source project released under the Gnu Public License (GPL).

http://kodos.sourceforge.net/

(i was testing Scratchy, The Apache Log Parser and HTML Report Generator for Python, http://scratchy.sourceforge.net/ . It doesn't want to generete reports for some stupid reason).

History statistics --DeanG?, Thu, 30 Oct 2003 07:36:00 -0800 reply
I'd like to get the number of page revisions listed on my page. (And use it to disable the /diff link when there is only 1)

Could someone point me to a Zope resource regarding this? (Besides the diff.py source, that is. ;-))

Note: The diff.py notes that only 20 revisions are available. That's OK for my needs.

Newbie question --Simon Michael, Thu, 30 Oct 2003 13:12:26 -0800 reply
Dirk WESSEL wrote:

What we try to achieve is that we expect a couple of huge documents with a lots of chapters. I would like to treat these chapters as separate zwiki pages.

Each wiki page should start with a table of contents (mainly the sections) and the top page of each document should show the different wiki pages and there table of contents.

Its very similar to a book structure with the exception that the various chapters are separate zwiki pages.

I'm interested in this too. We're still exploring how best to do this.

ZopeBookMirror? seems closest to what you want. It's a book with one (big) page per chapter. There's a per-page table of contents at the top of each chapter, which I added manually; in RestructuredText? mode you could generate these automatically. The top page links to each chapter, but does not currently show the detailed contents.

There's a book outline on ZWiki?, again with one page per chapter, but chapters are currently empty pages with other pages underneath. If you're in full mode (or is it always) they'll show a "table of contents" linking to the sub topics, each on it's own page.

Hope this helps.

Re: Making AllPages? work under Plone --Simon Michael, Thu, 30 Oct 2003 13:15:21 -0800 reply

Yes, I am. I have copied and pasted the code from editform to editform.

Then I'm out of ideas. If you can make this page accessible to me, I can figure it out. And/or come and chat with me on #zwiki.

Kodos - The Python Regex GUI Debugger --Simon Michael, Thu, 30 Oct 2003 13:17:10 -0800 reply
This sounds great, thanks for these links PB

a rather amazing site --SimonMichael?, Thu, 30 Oct 2003 22:38:55 -0800 reply
http://www.masternewmedia.org

This guy has a lot of energy, well worth a look.

re: NewHierarchyControls? --dan mcmullen, Fri, 31 Oct 2003 12:17:30 -0800 reply
Simon Michael wrote:

> DanMcmullen? wrote: >how do we manipulate the prev/next order of
subpages?<

If it can be added without too much cruft, we should, but I'm also thinking the way hierarchy is stored might be due for a change. Some thoughts I had :

  1. store children instead of parents ? Children tend to be more numerous than parents, so this would make calculating the subtopics much cheaper; finding the ancestry is easy by comparison. But it would also mean more pages to update when you rename a page. <<<

why don't we do both: keep pages doubly linked to parent and children. this gives the best of both worlds, and would enable some simple way to edit the order of the child links. overhead for less frequent things like renaming seems relatively insignificant to me.

>
2. make zwiki pages archetypes and use archetypes relations feature to store relationships more effciently ? ... 3. hierarchy defined in pages ? <<<

i'm for keeping it simple initially if we can get something useful working quickly.

best, dan

re: NewHierarchyControls? -- Fri, 31 Oct 2003 16:02:49 -0800 reply
Well, you're right, renaming is infrequent. On the other hand, I've been pushing to make everything avoid touching pages in the zodb as much as possible. I'm afraid that if rename, reparent etc. have to touch a lot of pages they'll go back to being very slow in a large wiki.

re: NewHierarchyControls? --dan mcmullen, Fri, 31 Oct 2003 16:38:52 -0800 reply
zwiki-wiki@zwiki.org wrote:

I'm afraid that if rename, reparent etc. have to
touch a lot of pages they'll go back to being very slow in a large wiki.<<<

how significant will updating a typical number of child pages be compared to the search for backlinks to update? (this is where i assume the bulk of the time in rename/reparent goes?) if we keep a list if children in the parent we don't need to search for children to update.

Themes --DeanG?, Fri, 31 Oct 2003 22:34:15 -0800 reply
I like the themes. I'd like to suggest a "custom" category where a path value is editable near the selection. It's a quick way to view Zwiki under other skins, like those in the CSS Zen Garden , without having to muck around your browser options and keep setting localized to the site.