[Zope-dev] Structure-text : html

2001-09-20 Thread Sin Hang Kin
When I use dtml-var StructureTextDoc fmt=structured-text I got html /html in the result. Are there any reason that it should be there? I wounder how can structured text generate valid html or be used in wap applications. If structured text is hard coded to output unnecessary html then I

[Zope-dev] MountedFileStorage : absolute_path return / instead of mounted poing

2001-06-23 Thread Sin Hang Kin
I was playing with MountedFileStorage, and found that the absolute_path used in breadcrumb is returning the / instead of the mounted point. Can somebody give it a patch? Moreover, Can I mounted a Bsddbstorage with it? Rgs, Kent Sin - kentsin.weblogs.com

[Zope-dev] Re: Zope 2.4: Unicode, Berkeley Storage?

2001-06-22 Thread Sin Hang Kin
I think bsddb3 only accept string not unicode string. rgs, Kent Sin ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

[Zope-dev] what to return for a manage_edit method

2001-06-22 Thread Sin Hang Kin
What should I return to for a method that create a new object or modify the object? If I return a redirection, will it too restricted for web only? If I return a simple ok, it seems very stupid. Rgs, Kent Sin - kentsin.weblogs.com kentsin.imeme.net

[Zope-dev] __init__.py of ZServer is diff format?

2001-06-05 Thread Sin Hang Kin
I update zope from cvs this morning. The ZServer/__init__.py contain __init__.py is it in diff format? Rgs, Kent Sin - kentsin.weblogs.com kentsin.imeme.net ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] Manage Interface

2001-05-24 Thread Sin Hang Kin
Does DC plan to have site developer make their own management interface? The site-developer wouln't mind using the management interface for their work, but most of them will reject the common users using it. Of cause there were security issues also. Allow the site developer to make new

[Zope-dev] convert zope objects to unicode

2001-05-16 Thread Sin Hang Kin
If I would like to hack zope to store all string objects in unicode, where is the best place to do it? I would like to have the incoming string go through unicode(inputstr, encoding) and all outgoing strings go through with outputstring.encode(encoding) However, after looking around the zope

[Zope-dev] Zope 2.4 and unicode merge

2001-05-09 Thread Sin Hang Kin
Can DC merge the unicode.diff into zope 2.4 standard distribution? The current 0.5 diff seems not working, and since 2.4 is based on python 2.1 then it sounds reasonable to include unicode attributes as a core part of zope. Rgs, Kent Sin - kentsin.weblogs.com

Re: [Zope-dev] 27 million objects.

2001-04-09 Thread Sin Hang Kin
Concerning Zcatalog: 1. Search of vocabulary is fully matched, partial search, trancate search or fuzzy search will be useful for searcher. 2. If we catalog all things in one catalog, then we need to make filter when we want to search on one particular portation. 3. I would like to suggest :

[Zope-dev] Python 2

2001-03-20 Thread Sin Hang Kin
Is python 2 ready for the upcoming beta? Will the next release of zope win32 come with python 2 or use the installed python if available? Rgs, Kent Sin - kentsin.weblogs.com kentsin.imeme.net ___ Zope-Dev maillist -

[Zope-dev] zwiki chinese

2001-03-14 Thread Sin Hang Kin
in my current effort to try make zwiki work in chinese, i have done the following: i remove the intl_char_entities and add to _create_page: #make a new (blank) page object page = re.sub("%","",quote(page)) which make the created pageid valid zopeid (does it work all_the_time?) however, the

[Zope-dev] zWiki and Chinese

2001-03-12 Thread Sin Hang Kin
I am trying to fix zWiki for Chinese. What I did is to remove for c,e in intl_char_entities: t = re.sub(c,e,t) from _text_cleanups of ZWikiPage.py Then, I modify all forms to make them set utf-8 as default encoding. After that, every thing seem working. The only problem for me is that I

[Zope-dev] freebsd file: table is full when starting zope2

2001-02-14 Thread Sin Hang Kin
When starting Zope2.3 from the freebsd box, the kernel says : file: table is full. The kern.maxfiles is set to 1064, does zope really need that many? what number should I need to make zope happy? Rgs, Kent Sin - kentsin.weblogs.com kentsin.imeme.net

[zope-dev] Splitter

2000-11-09 Thread Sin Hang Kin
Providing full-text search is an advantage that Zope over other web app servers. However, the current Zcatalog does not respect the local languages. There is more than 3 splitters which works for different languages already. I do think anyone would see zope being split by this splitter issue.

[Zope-dev] build Zope on linux

2000-10-09 Thread Sin Hang Kin
When building current zope cvs, cPickle.c want the mymath.h. Where can I get mymath? What devel package I should install for a debian system? Rgs, Kent Sin - kentsin.weblogs.com kentsin.imeme.net ___ Zope-Dev

[Zope-dev] ZCatalog with UTF-8 Chinese

2000-09-27 Thread Sin Hang Kin
Dear Developer: Trying to short-cut UNTEXTINDEX to handle UTF-8 Chinese, I need some help. After reading some code of query, I think the regular expression operations which in parse, quotes and parse2 were not safe for utf8 string. So, I decide to emulate what they do. However, I do not

[Zope-dev] ZCatalog : UTF-8 Chinese

2000-09-25 Thread Sin Hang Kin
HI, I have a project which need search with Chinese. I think I can make Zcatalog to search Chinese in utf8. So I change Voodoo Kludge Splitter.py to convert the input string to unicode (assume it is utf8) and make a version of split of my own (see the attached splitter.py). I borrow (stolen)

[Zope] Access object inside a folder

2000-06-27 Thread Sin Hang Kin
Hi, I have put objects inside a folder tabledef and would like to refer them : dtml-in "_.getitem('tabledef').objectItems(['DTML Document'])" sort=id mapping dtml-var "_['sequence-item']" html_quote /dtml-in However, this does not work, But putting the objects in the current folder works

Re: [Zope] Access object inside a folder

2000-06-27 Thread Sin Hang Kin
dtml-in "_.getitem('tabledef').objectItems(['DTML Document'])" sort=id mapping dtml-var "_['sequence-item']" html_quote /dtml-in Error Type: AttributeError Error Value: __getitem__ Traceback (innermost last): File C:\Program Files\Zope2\lib\python\ZPublisher\Publish.py, line 222, in

[Zope] Transaction in zodb

2000-06-17 Thread Sin Hang Kin
Hi, Is transaction build in of ZODB? I have a product which keep a counter property and a inc method which will increase the property with a integer amount. I would like to make sure that concurrent inc call will not cause problem. Is ZODB automatically do transaction and prevent corrupt of

[Zope] Transaction in zodb

2000-06-17 Thread Sin Hang Kin
Hi, Is transaction build in of ZODB? I have a product which keep a counter property and a inc method which will increase the property with a integer amount. I would like to make sure that concurrent inc call will not cause problem. Is ZODB automatically do transaction and prevent corrupt of

[Zope-dev] XML in Zope

2000-06-02 Thread Sin Hang Kin
Kevin, I agree with you, the performance will be better and more powerful. The thing missing in zope (dtml) now is that we can not store multiple instance of the same name which is allow with xml: authorabc/authorauthorcde/author. I hope the xml implementation will have this. Rgs, Kent Sin

[Zope-dev] Zope view as object file system instead of web content management

2000-05-28 Thread Sin Hang Kin
Hello DC: It have been pointed out that zope is an object file system instead of an web content management system. But the current activities of zope usage have been mainly apply it as an web app server. This point of view may not release fully the potentials of zope. We have currently seen

[Zope-dev] Zope view as object file system instead of web content management

2000-05-28 Thread Sin Hang Kin
Hello DC: It have been pointed out that zope is an object file system instead of an web content management system. But the current activities of zope usage have been mainly apply it as an web app server. This point of view may not release fully the potentials of zope. We have currently seen

[Zope] Re: ANN: Perl for Zope

2000-05-26 Thread Sin Hang Kin
Oh no!!! Zope by itself is bad enough. Do pull in more trouble. Zope needed to clean up before it goes too bad. Zope is powerful, but is already too difficult for beginner to learn. It is not easy to do simple things, I think this will destroy zope because It will bring in more different

[Zope-dev] catalogaware dtml document

2000-05-21 Thread Sin Hang Kin
Is it possible (worth?) to make dtml-document catalogue aware by default? Or to allow the creater to decide this behavior by setting a property? Rgs, Kent Sin - kentsin.weblogs.com kentsin.imeme.net ___ Zope-Dev