Re: [Zope] user property sheets

2000-12-24 Thread Maik Roeder

Hi Timothy !

Timothy Wilson wrote:
> I think I've settled on a ZClass approach. From looking through the
> ZDP-tools info (which looks great, but it probably overkill for what I'm
> trying to do), 

The ZDP-Tools are rather simple and provide a generic framework for 
content management.

> it looks like to created a folderish ZClass for
> Members.

The Members ZClass is the model, and there is also a MemberFolder Class
which is the Controller of the Member ZClass. 

> Would you mind giving a very quick sketch of the structure of your
> ZClass(es)? That would probably give me quite a jumpstart.

In fact there is some documentation on the ZDP-Tools
available here:

http://zdp.zope.org/projects/zdptools/Drafts

I have started a howto on using the ZDP-Tools for a Weblog
here:

http://zdp.zope.org/projects/zdptools/Drafts/weblog/weblogmanual

It will also help to know about the law of demeter:

http://uzopia.editthispage.com/discuss/msgReader$24

> I've been following the PTK developments from a distance, and much of that
> looks really cool. Unfotunately, however, things are developing very slowly
> and I can't really wait any longer for it.

It was the same last year in december when I started the ZDP-Tools project :-)

I have some interesting stuff on this on my weblog:

http://uzopia.editthispage.com/discuss/msgReader$9

> My site is for a K-12 school district in the States. I'd like to create
> pages for teachers and administrators so they can share links, provide
> contact information, etc.

The ZDP-Tools are just perfect for this. Don't miss this article on
Uzopia:

http://uzopia.editthispage.com/discuss/msgReader$10

> Unfortunately, I'm trying to wade through all this
> stuff essentially on my own. Thanks for any help you can provide!

Tell me what additional information you need, and I may take
some time to write it down.

Best regards,

Maik Röder
-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Stupid Installation Question Remains Unanswered

2000-11-18 Thread Maik Roeder

Hi !

Ben Ocean wrote:
> 
> Well, actually, the REAME.txt doesn't say ANYTHING about how to install it.
> It *does* refer to doc/INSTALL.txt, which, unfortunately, is nowhere to be
> found: there is no directory called *doc* nor any INSTALL.txt file that I
> can see. Here's what unzipped:
> 
> drwxr-xr-x  11 webmaste users4096 Nov 18 13:57 .
> drwxr-xr-x   3 webmaste users4096 Nov 18 00:58 ..
> -rw-r--r--   1 webmaste users  28 Nov  9  1999 .cvsignore
> drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 Extensions
> -rw-r--r--   1 webmaste users3479 Mar  9  1999 LICENSE.txt
> -rw-r--r--   1 webmaste users2074 Jul 23  1999 README.txt
> drwxr-xr-x   4 webmaste users4096 Sep 18 11:22 ZServer
> drwxr-xr-x   3 webmaste users4096 Sep 18 11:22 doc

 ^^^

> drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 import
> drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 inst
> drwxr-xr-x   4 webmaste users4096 Sep 18 11:22 lib
> drwxr-xr-x   7 webmaste users4096 Sep 18 11:22 pcgi
> drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 utilities
> drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 var
> -rw-r--r--   1 webmaste users4492 Jul 22  1999 w_pcgi.py
> -rw-r--r--   1 webmaste users4578 Oct 14  1999 wo_pcgi.py
> -rw-r--r--   1 webmaste users   22630 Aug 29 08:41 z2.py
> -rw-r--r--   1 webmaste users8832 May 10  2000 zpasswd.py
> 
> So, back to my original question: How the &$)@#* do I install this???
> TIA,
> BenO
> 
> At 08:07 PM 11/18/2000 +, you wrote:
> >* Ben Ocean <[EMAIL PROTECTED]> [001118 09:51]:
> > > Hi;
> > > Okay, hope I did this right... Installed Zope in a directory at doc root
> > > (called zope) and untarred it. Now I have a directory called
> > Zope-2.2.2-src
> > > with a bunch of stuff in it. What do I do from here? How do I see it
> > working?
> > > TIA,
> > > BenO
> >
> >umm, try reading the the README.txt file in that directory.  and the
> >INSTALL.txt file in the docs directory.
> >
> >seb
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] IMAP and Zope!

2000-10-05 Thread Maik Roeder

Hi !

Joachim Werner wrote:
> 
> Thanks for the input I got!
> 
> Just a small wrap-up of what I learned:
> 
> - The NotMail and old IMAP Adapter code don't seem to be seriously used by
>anybody
> 
> - WorldPilot could be a solution, but it only if it was more modular. Ryan
>Hughes promised to integrate it into Zope by release 2 (incl. a ZODB-based
>document storage
> 
> - There is a similar project by Morten W. Petersen that also will feature a
>ZODB-based message storage that will be searchable, Catalog-aware etc.

I have summarized this under:

http://zdp.zope.org/portals/developers/products/mail/

If you find out more you can add to this and refer to it later.

Best regards,

Maik Röder

-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZClass, Product comparison

2000-10-05 Thread Maik Roeder

Hi Nestor !

"Nestor A. Diaz L." wrote:
> 
> HI, thanks you for the latest answer on testing products, however i have a
> doubt i know how to make ZClass however i think they are more restrictive,
> can anyone telling me advantanges or disadvantes of using Zclass instead
> of products?

Have a look at:

http://zdp.zope.org/portals/developers/designstrategies

All about the different tradeoffs between developing your class as a Zope
product in Python, as a ZClass, and mixing the two approaches. Add to this
portal subject if you find out more.

Regards,

Maik Röder
-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] sendmail tag strangeness

2000-10-01 Thread Maik Roeder

Hi Scott !

Scott Burton wrote:
> The problem is, I have to put in the recipient by hand. This method is 
> supposed to email a recipient after filling out a form so the recipient
> has to be a variable. When I try using  or &dtml-recipient;
> or _[recipient] I still have errors or the SMTP log shows that the variable
> does not get evaluated and shows up as a string of <&dtml-recipient;> 
> as being the recipient in the SMTP header.
> 
> Is this a bug? Is there something else I could try?

I have tested the following code on the ZDP site, and it works:



To: <>
From: The CommentClass constructor <[EMAIL PROTECTED]>
Subject: A new Comment has been added to ZDP !

Dear Tom !

Under the following URL, a Comment has been added:

URL: /

Name: 

Nickname: 

Content:


Have a nice day,

The CommentClass constructor
(http://zdp.zope.org/Control_Panel/Products/DocumentFolderProduct/CommentClass_add/manage_main)




Zope version: Zope 2.1.3 (source release, python 1.5.2, linux2) 
Python version: 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux 
(egcs- 
System Platform: linux-i386 
Process ID: 1478 (1024) 
Running for: 34 days 4 hours 6 min 32 sec 

Maybe you can test the above code and see if it works. It may be possible to track 
down the bug by comparing the code from 2.1.3 with the code from your Zope version.

Regards,

Maik Röder

-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Z class complexities

2000-10-01 Thread Maik Roeder

Hi Nolan !

Nolan Darilek wrote:
> 
> I'm having a kinda complex problem, and hopefully my explanation can
> do it justice. :)
> 
> I'm using zope to construct an XML document from the contents of a
> folder. Basically, the folder's index.xml iterates through the
> folder's contents, rendering each object to produce the final
> document. The objects are separate z classes which combine various
> properties into a small snippet of the larger XML document.
> 
> The z class has a render() method which combines the properties into
> the XML snippet. I have a Render view configured to run this method,
> and it works. (Though for some reason it adds a ..., which
> I'd really like to get rid of. How can I?)

Attach the following code:



> I've written the index_html to collect the individual objects and
> concatenate their contents into an XML document. 
> 
> 
> 
> 
> 
> 
> 
> 

Something like this should work if you have a DTML Method to_xml:







Place the to_xml in the ESPPackage ZClass

Regards,

Maik Röder

-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] handling date properties in

2000-10-01 Thread Maik Roeder

Hi !

seb wrote:
> 
> Hi,
> 
> > ... I want to display only those jobs
> > for which the current date is on or after the 'date_posted' and on or
> > before 'offer_expires'. I've tried a bunch of things, but haven't hit upon
> > the winning answer. Any takers?
> 
> Try
> 
> 
>   
> 
>   Job:  
> 
>   
> 

I have added it to he ZSnippets:

http://zdp.zope.org/projects/zsnippet/snippets/time/expiration

Regards,

Maik Röder

-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Passing parameters to methods - how to?

2000-09-30 Thread Maik Roeder

Hi Cesar !

> Clicking in the "submit" button, it gives me an error, telling that
> 'username' is not defined. So I included an hidden field with
> name="username" and value="", but I'm thinking this
> is not the better way to do that...
> 
> Can someone helps me?

To my knowledge, it's the only way to do it, and if it works, why bother ?
 
Regards,

Maik

-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] newbie:zclasses within zclasses (down the hill)

2000-09-30 Thread Maik Roeder

Hi Sven !

> The constructor_site is on the top level of the website and he doesn't know
> the folders downside.How to solve the problem???Please help me because it's
> only two days to finish everything.

This is the right syntax:



 
Regards,

Maik


-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Property problem - still the same...

2000-09-30 Thread Maik Roeder

Hi Lars !

Lars Heber wrote:
> I was told to use ZClasses, and I read a lot of documentation about it.
> But I found out that this isn't the thing I was searching for.

Why not use ZClasses ? Look at the ZDP-Tools, and your problems
of displaying the header differently depending upon the meta_type
is really easy.
 
> So, now I'll try it again, very concrete this time:
> 
> In my root folder, I have a property enterpriseName (string) =
> "myEnterprise".
> 
> Furthermore I have an arbitrary DTML document, and I want to include my
> global property enterpriseName in the title property of this document so
> that the title of the document is "myEnterprise" at the end.
> 
> The sense of that is that when I change the value of enterpriseName
> automatically all titles are updated.
> 
> It is not possible to include this enterpriseName into
> standard_html_header or similar, because there will be many documents,
> and only some of them need the enterpriseName in their titles, others
> want to add an own text to the enterpriseName resulting in e. g. "This
> is the Homepage of XYZ, who is working at myEnterprise".

If you have meta_type "Employee", then the "Header" would include
"This is the Homepage of , who is working at
. If you have another meta_type like "Project",
then the Header method could be " .
 
> I generally just want to insert one property into another...

Just have a look at how it is done in the ZDP-Tools.
 
> Please, please help me, I'm despairing in the meantime...

It's really just a problem of displaying headers differently
depending on meta_type.
 
Regards,

Maik Röder

-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] [Q] Generating a dynamic navigation bar...

2000-09-30 Thread Maik Roeder

Hi Sudhakar !

Sudhakar Chandra wrote:
> Questions:
> 
> 1. The problem with this DTML method is that all the DTML Documents and
> Folders are represented as a link in the nav bar.  I want to build
> intelligence into this DTML method to make the tab / cell for the current
> document just textual (as opposed to a link).  If I am calling this method
> from foo_html, I do not the "tab" for foo_html to be a link.  How do I do
> this?  I'm guessing some kind of #if.

First you can store the your url:

 

Then, when you call your method, you can test whether your
url is the current url 



The must be another way of doing this, but I can't remember. Does
someone else see how this could be done differently ?
 
> 2. Currently, the TD cells of the table vary in length based on the
> contents of the cell.  I want all the TDs to be of equal length.  I want to
> first count the number of DTML Documents and Folders and make each TD to be
> width 100/n % (where n is the number of Documents and Folders).  Any ideas
> on how I can do math inside DTML methods?

You can set a REQUEST variable with the result of your computation:

 

Regards,

Maik Röder
-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Two inquiries

2000-09-30 Thread Maik Roeder

Hi Manuel !

"Manuel Amador (Rudd-O) Gerente de desarrollo Alpha Omega Creative Solutions 
http://www.alomega.com/" wrote:
> 
> Hey there people,
> 
> First, the customary thanks for such a great product.
> Second - I have two problems.  First one is that I got
> zope compiled for linux then installed Login Manager
> then installed ZPatterns, but when trying to compile
> DynPersist.c it can't find ExtensionClass.h.  It
> honestly isn't in my system tho I have python and
> python-devel installed.

The easiest way is to fetch the ZPatterns binary release, and put
the file "DynPersist.so" into your folder:

http://www.zope.org/Members/ngarcia/ZPatternsBinaryRelease/ZPatterns-linux2-x86-0_3_0.tgz/view

tar tfvz /home/maik/ZPatterns-linux2-x86-0_3_0.tgz | grep Dyn

-rw-r--r-- ngarcia/ngarcia 3312 2000-04-26 18:46 ZPatterns/DynPersist.c
-rw-rw-r-- ngarcia/ngarcia 29284 2000-06-09 18:44 ZPatterns/DynPersist.o
-rwxrwxr-x ngarcia/ngarcia 33586 2000-06-09 18:44 ZPatterns/DynPersist.so

Regards,

Maik Röder

-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Use variable value by other file

2000-09-30 Thread Maik Roeder

Hi Rafael !

"Rafael Sepúlveda" wrote:
> 
> How can I make a value of a variable be seen by another file that lies
> on tha same folder than the first one?
> 
> I need this because I need a variable in each file describing who did
> that page, but the display of that variable is on the
> standard_html_footer file.
> 
> Any ideas?

If you know the name of the file, you can do a dtml-with and display
the property with a dtml-var.

Regards,

Maik


-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] HTML Widgets, In-place editing in Zope

2000-09-22 Thread Maik Roeder

Hi Phill !

Phill Hugo wrote:
> widgets is an external method which will be on Zope.org next week if all
> goes well.

Great, it looks very nice ! 
Perhaps this should go into the Zope core sometime/where ?

Best regards,

Maik Röder

-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Design Question

2000-09-18 Thread Maik Roeder

Hi Tim !

Tim Cook wrote:
> > I guess the Catalog doesn't support OR searches, which would
> > do what you need.
> 
> Actually the ZCatalog solution works. But having 15,212 instances
> of a ZClass in one BTree folder was pretty slow. I ASS-U-MEd that
> an external python method might provide a better solution?

I think the ZCatalog itself can handle this much objects, and handing
the problem off to an external method doesn't change the problem.
 
> In the Real World(tm), there won't be but maybe one-half as many
> codes in an installation. But I like 'worst case' testing. 

Then why don't you store the objects in different folders ?
For example, I have just implemented a way to store objects in
year/month/day folder automatically to handle incoming news in
a news site. It's almost what KMNetNews does, but automatically.

Regards,

Maik Röder

-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Design Question

2000-09-18 Thread Maik Roeder

Hi Tim !

Tim Cook wrote:
> 
> Tim Cook wrote:
> 
> >
> > Anyway I pickled the dictionary and it's just over 1.3MB so I
> > thought I'd use an external method to read the pickled object,
> > pass it the paragraph and test for the correct code(s), then
> > return a list. Is this the most effective way to use Python/Zope
> > for this situation?

I guess this is effective, but not efficient whatever language
you use ;-)

> Adding to my own post:
> I did play around with shelving but did not see that there was
> much of an increase in speed. The real estate requirement went up
> to 8MB+.
> 
> Thinking outloud again...
> I think I'll take the original comma delimited file.
> Get all words and remove the common ones (the, of, and, etc)
> Find every line where each particular word appears.

That uses substring matching I guess, which is not efficient
in this case.

> Store those codes in a dictionary with the word as the key.
> (Basically, I'm turning the file around backwards I guess?)
> Then for every keyword hit from the paragraph I'll have a list of
> codes that I can count the nmber of positive hits on each code.

Here you use the quality of dictionaries, which provide quick
lookups. 

How to search for the codes with the most hits is another story :-)
 
> Hmm, sounds like a search engine to me.  Anybody got one written
> in Python . That's faster than a Zope Catalog?

I guess the Catalog doesn't support OR searches, which would
do what you need.
 
Regards,

Maik Röder

-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Broken 'What's New' on Zope.org?

2000-09-15 Thread Maik Roeder

Hi Chris !

Chris Withers wrote:
> 
> Chris McDonough wrote:
> >
> > This is a longstanding bug.
> >
> > Send complaints to [EMAIL PROTECTED]
> 
> If anyone fixes it, please let us all know...
> 
> I'm looking for just the same functionality for a site here adn I was
> hoping to do a view_source for the answer :-S

Shouldn't the following do ?


Show stuff in Catalog here.


At least that is what works perfectly for the ZDP site:

http://zdp.zope.org/new

Regards,

Maik

-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Organizing huge content

2000-09-14 Thread Maik Roeder

Hi !

[EMAIL PROTECTED] wrote:
> 
> Hallo,
> my question is about organizing scripting when you have to deal with huge
> amounts of content.
> I.e. you have a custom that wants to establish a website .This website
> should have in the future about 2000 pages but you on your own are building
> only some pages and a lot of templates that his coworkers can use to build
> the rest(new pages oder updating old ones).
> Now the point: I plan to make a ZClass and the new sites are instances of
> this class.
> The look (and feel)is individualized by iterating over the properties?
> Or is it better (in terms of speed)to create a couple of ZClasses and
> reducing the amount of properties?

I have reduced the amount of properties per ZClass by putting some often
used properties in a base class and reusing them in the derived classes.
For example: name and nickname. The same goes for the DTML methods that
define the look and feel. The only thing that is in the subclasses is
the way of listing subobjects and adding a link of stuff that can be added.
The rest is done in a general DocumentFolderClass.

Have a look at the ZDP-Tools. http://www.zope.org/Members/roeder

Regards,

Maik Röder

-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Logging out of Zope

2000-09-13 Thread Maik Roeder

Hi !

Dieter Maurer wrote:
> 
> Stuart Foster writes:
>  > Is there a way to allow an authenticated user to logout of Zope?
>  > I want to allow a user to logout and someone else login.
> This is a FAQ.

Better still add it to the FAQ at http://zdp.zope.org/projects/zfaq
and also make a reference to this snippet:

http://zdp.zope.org/projects/zsnippet/snippets/Security/LogOutAuthenticatedUser

I would do it myself, but I have to prepare the SYSTEMS announcement
right now.

Regards,

Maik Röder
 

-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Re: [ez] ZMenu 0.0.2 product

2000-08-25 Thread Maik Roeder

Hi Hugo !

Hugo Ramos wrote:
> ZMenu is a complete navigational system that uses a tree like display.
> It allows you to dinamicly add a navigational link menus system to your site.

I have added part of your Product into the ZDP-Tools by adding a
DTML method to my DocumentFolder ZClass, and it works out of the box;-).

Have a look at:
http://zdp.zope.org/projects/eurozope/ZMenus_Tree_Navigation

or from the top:

http://zdp.zope.org/ZMenus_Tree_Navigation

This shows the hierarchy of the ZDP site.

It still needs to be integrated, but it already is some kind of a 
SiteMap. It is also some kind of Pike lookalike, that I may use 
for my Weblog thingie I have been thinking about.:

> This ZClass based product is still in a development stage and I'dd like to
> have some feedback about it... so email me about any problems or sugestions.

Your product assumes that the users manually add links to other content on
the site, but the funny thing is that this can be automatized. Why add links
when the content is already there ? 
 
> You can download it here (there is also a pic):
> http://www.zope.org/Members/hramos/products/ZMenu

This is the only method I have adopted from your Product:





   
 
  ">
 
()
 
   
 
  ">
 
()
 
   




Best regards,

Maik Röder

-- 
"The computing future is based  on "cyberbodies" - self-contained, 
neatly-ordered,  beautifully-laid-out  collections of information, 
like immaculate giant gardens." The second coming - A manifesto. David
Gelernter http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Small Tip

2000-08-25 Thread Maik Roeder

Hi !


It always got on my nerves that I needed to change the column
size of the DTML Method and DTML Document Edit Forms
manually by pressing "Wider" and "Narrower".

Instead of patching the Zope source code, I found the following
a good approach:

Define a property in your root folder:

id: dtpref_cols
type: int
value: 80

The magic of acquisition does all the rest ;-)

Greetings,

Maik Röder

-- 
"The computing future is based  on "cyberbodies" - self-contained, 
neatly-ordered,  beautifully-laid-out  collections of information, 
like immaculate giant gardens." The second coming - A manifesto. David
Gelernter http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Where do I find out about cookies?

2000-08-24 Thread Maik Roeder

Hi Jean !

Jean Jordaan wrote:
> It looks like I'm going to be using cookies now, and I don't find any
> How-To on cookies.

I am collecting everything on cookies in the developers portal
of the ZDP:

http://zdp.zope.org/portals/developers/sessionmanagement/cookies

Hope this helps. Once you have done more research, maybe you can
give some feedback, so I can add it to the ZDP ?

Best regards,

Maik Röder

-- 
"The computing future is based  on "cyberbodies" - self-contained, 
neatly-ordered,  beautifully-laid-out  collections of information, 
like immaculate giant gardens." The second coming - A manifesto. David
Gelernter http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Meet Paul Everitt at the Paris Zope Meeting !

2000-08-18 Thread Maik Roeder

Hi everyone !


The Paris Zope Meeting is a great opportunity for Europe's Zope community
to meet Paul Everitt, CEO of Digital Creations,  who is currently in France
for holidays. It is also a chance to meet Zope developers from England,
Germany, Switzerland and of course France.

If you want to come to the event, please send a mail to [EMAIL PROTECTED]
to let us know about your plans. Maybe some of us can already gather a day
or two before the event ?

A list of people who have already registered is available here:
http://portalux.com/nnl/documents/zope-meeting/list

Event Details:

Date: Wednesday August 23rd 2000
Exact time: To be announced later
Place: 18, rue du Faubourg du Temple - 75011 Paris

Registration: http://portalux.com/nnl/documents/zope-meeting/
WebSite:  http://zdp.zope.org/projects/eurozope/events/pariszopemeeting
Mailing List: http://comlounge.net/mailman/listinfo/eurozope 

There are some talks planned, but due to the short preparation time,
these are not fixed (yet). Maybe you can give a talk as well ? Just let
us know.

This is the first event organized by the EuroZope initiative, which
tries to better support Zope in Europe due to the great response we
received at the Linuxtag 2000 in Stuttgart. EuroZope infos:

http://zdp.zope.org/projects/eurozope

Maybe you want to attend some of the other events planned by the EuroZope
team ?

http://zdp.zope.org/projects/eurozope/events

We still need Zopers who would like to help us organizing those
future events. Let's discuss it on the EuroZope mailing list:

http://comlounge.net/mailman/listinfo/eurozope

Greetings,

Maik Röder

-- 
"The computing future is based  on "cyberbodies" - self-contained, 
neatly-ordered,  beautifully-laid-out  collections of information, 
like immaculate giant gardens." The second coming - A manifesto. David
Gelernter http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Meet Paul Everitt at the Paris Zope Meeting !

2000-08-16 Thread Maik Roeder

Hi everyone !

The Paris Zope Meeting is a great opportunity for Europe's Zope community
to meet Paul Everitt, CEO of Digital Creations,  who is currently in France
for holidays. It is also a chance to meet Zope developers from England,
Germany, Switzerland and of course France.

If you want to come to the event, please send a mail to [EMAIL PROTECTED]
to let us know about your plans. Maybe some of us can already gather a day
or two before the event ?

A list of people who have already registered is available here:
http://portalux.com/nnl/documents/zope-meeting/list

Event Details:

Date: Wednesday August 23rd 2000
Schedule: From 09:00 to 18:00 CET
Place: 18, rue du Faubourg du Temple - 75011 Paris

Registration: http://portalux.com/nnl/documents/zope-meeting/
WebSite:  http://zdp.zope.org/projects/eurozope/events/pariszopemeeting
Mailing List: http://comlounge.net/mailman/listinfo/eurozope 

There are some talks planned, but due to the short preparation time,
these are not fixed (yet). Maybe you can give a talk as well ? Just let
us know.

This is the first event organized by the EuroZope initiative, which
tries to better support Zope in Europe due to the great response we
received at the Linuxtag 2000 in Stuttgart. EuroZope infos:

http://zdp.zope.org/projects/eurozope

Maybe you want to attend some of the other events planned by the EuroZope
team ?

http://zdp.zope.org/projects/eurozope/events

We still need Zopers who would like to help us organizing those
future events. Let's discuss it on the EuroZope mailing list:

http://comlounge.net/mailman/listinfo/eurozope

Greetings,

Maik Röder

-- 
"The computing future is based  on "cyberbodies" - self-contained, 
neatly-ordered,  beautifully-laid-out  collections of information, 
like immaculate giant gardens." The second coming - A manifesto. David
Gelernter http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Display the icon of a meta_type

2000-07-20 Thread Maik Roeder

Hi Gerard !

"Gerard Metrailler Jr." wrote:
> 
> Hello,
> 
> I am facing a little problem ;-)
> 
> I am using a ZCatalog object on my site. When I do a query, I want the
> results do display the meta_type of the document found with it's icon. I've
> seen that on Zope.org and loved this idea... the only problem is that it is
> a method on zope.org that does the trick () and I don't have the
> source for it.
> 
> Thank you for your help.

It's all there ;-)

http://www.zope.org/SiteIndex/search/icon_for_meta_type/view_source

Regards,

Maik Röder

-- 
"The computing future is based  on "cyberbodies" - self-contained, 
neatly-ordered,  beautifully-laid-out  collections of information, 
like immaculate giant gardens." The second coming - A manifesto. David
Gelernter http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] length of an object

2000-07-20 Thread Maik Roeder

Hi !

Chris Withers wrote:
> 
> Brown Fox wrote:
> > i want to know the size of an image or a file.
> >
> > With
> > 
> > i count objects, but for the length?
> 
> For images or file objects, I think you can try for:
> 
> 

Isn't it nice we have the Snippets ? :-)

http://zdp.zope.org/projects/zsnippet/snippets/DTMLTags/ObjectLength

Regards,

Maik Röder

-- 
"The computing future is based  on "cyberbodies" - self-contained, 
neatly-ordered,  beautifully-laid-out  collections of information, 
like immaculate giant gardens." The second coming - A manifesto. David
Gelernter http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Delete property woes in ZClasses

2000-07-15 Thread Maik Roeder

Hi Paul !

Paul Abrams wrote:
> Thanks! I think the delete method will be ideal to patch my
> site. I also see how the move method can be *very* useful.
> 
> Shall I write this up as a how-to?

That would be great ! Perhaps you can also find a way to
do this recursively ?

Have a look at my recursive copier:

http://zdp.zope.org/projects/zsnippet/snippets/DTMLTags/recursive_copier

This does it the other way around, but it can be adopted to
do what you need. It would be handy if you have many instances
floating around. Maybe you can also do it easier with a 
ZCatalog search ?

Best regards,

Maik Röder

-- 
"The computing future is based  on "cyberbodies" - self-contained, 
neatly-ordered,  beautifully-laid-out  collections of information, 
like immaculate giant gardens." The second coming - A manifesto. David
Gelernter http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZStylesheet

2000-07-15 Thread Maik Roeder

Hi Neil !

Neil Burnett wrote:
> 
> Warning: This is a 'get it off my chest' e-mail.
> 
> Well, I am going to give up with CSS. I am sure ZStylesheet is a fine
> product, its just that CSS implementations lets it down.

Well, perhaps you can have a look at the Web Designers Portal
under the subject Stype and Topic CSS.

http://zdp.zope.org/portals/webdesigners/style/css

There are some good reasons for CSS, that I have collected
there. Maybe you can also have a look at the link, which you
can find there to Webreview.com's CSS Master Compatibility 
Chart.

Best regards,

Maik Röder

-- 
"The computing future is based  on "cyberbodies" - self-contained, 
neatly-ordered,  beautifully-laid-out  collections of information, 
like immaculate giant gardens." The second coming - A manifesto. David
Gelernter http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Delete property woes in ZClasses

2000-07-15 Thread Maik Roeder

Hi Paul !

Paul Abrams wrote:
> 
> I noticed that when you delete a property in a ZClass, it
> doesn't actually delete the property in **instances** of
> that ZClass! This leaves properties lying around where they
> can be inadvertently acquired, causing problems that are
> difficult to trace.
> 
> Has anyone gotten bitten by this, or know of a solution?

I solved it by adding this External Method, and calling
all instances with it:

#move_attribute?the_id=abstract
def delete_attribute(self,the_id):
   self._delOb(the_id)

BTW, I have also written an External Method that moves
the attribute to a DTML Method:

#move_attribute?the_attribute_id=abstract
def move_attribute(self,the_attribute_id):
   attribute=str(getattr(self, the_attribute_id))
   self._delOb(the_attribute_id)
   if attribute!="":
  self.manage_addDTMLMethod(the_attribute_id,file=" " + attribute)

Regards,

Maik Röder

-- 
"The computing future is based  on "cyberbodies" - self-contained, 
neatly-ordered,  beautifully-laid-out  collections of information, 
like immaculate giant gardens." The second coming - A manifesto. David
Gelernter http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope Knowledge Base on www.faqts.com?

2000-07-14 Thread Maik Roeder

Hi Fiona !

Fiona Czuczman wrote:
> 
> Hi,
> 
> I've been working on a Python knowledge base for the last couple of
> months.
> 
> http://python.faqts.com
> 
> Each day I go through postings to the newsgroup and enter those that I
> believe would be useful FAQs into the site, then I send out a summary to
> the group letting them know what's been entered.
> 
> Recently I've been thinking about incorporating content from this
> mailing list in a folder dedicated to Zope.  And sending out my daily
> summary to this list as well.
> 
> Basically I'm after some feedback, would this be of much interest?  I've
> had a couple of people write and request that I do this - what's the
> general consensus?

Please consider adding your knowledge to the ZDP:

We have a FAQ: 
http://zdp.zope.org/projects/zfaq/

And also have a look at the community knowledge portals:
http://zdp.zope.org/portals/

Best regards,

Maik Röder

-- 
"The computing future is based  on "cyberbodies" - self-contained, 
neatly-ordered,  beautifully-laid-out  collections of information, 
like immaculate giant gardens." The second coming - A manifesto. David
Gelernter http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Mirroring to IIS

2000-07-10 Thread Maik Roeder

Hi Jake !

Jake LeBeau wrote:
> I'm attempting to mirror our Zope site to IIS 5.0 on a W2K Server, 
>and am having problems with Netscape Navigator. Because the files have
> no file extension, Netscape keeps trying to download and save the 
>files to disk, rather than displaying the content as HTML. I've tried 
>several ways of specifying that the MIME content type header coming 
>from the server is "text/html", but nothing alters the behavior of
> Netscape. Is there anyone else out there who may have had experience
> with this and would be willing to help? Any advice would be appreciated.

Try using a mirror tool like w3mir. Folders like http://localhost/w3mir/ will be 
mirrored
to a folder:

w3mir/

and an index.html file inside:

w3mir/index.html

Hope this helps.

Regards,

Maik Röder

-- 
"The computing future is based  on "cyberbodies" - self-contained, 
neatly-ordered,  beautifully-laid-out  collections of information, 
like immaculate giant gardens." The second coming - A manifesto. David
Gelernter http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] automatic link adjustment

2000-07-10 Thread Maik Roeder

Hi Ragnar !

Ragnar Beer wrote:
> I just ran into some kind of administrative problem: my students are
> not so willing anymore when it comes to changing links for the third
> revision of our website. There are about 200 links to change manually
> and they have my full sympathy. Apart from that this process is quite
> error-prone and always needs a lot of testing.
> 
> Is it possible to have automatic link adjustment in Zope if you
> change an objects name? I mean like in Dreamweaver or whatever
> website management programm so that it would ask whether to adjust
> the referring links if you change a page's name?
> 
> I know we could do the management partly with Dreamweaver and put the
> files via ftp but whatever sends cleartext passwords is not an
> option. So ftp is out.
> 
> Any other way?

The Zope way would be to consider this beforehand by splitting the
URLs into a part that may change over time and a part that is more
constant. The changing part of your URL should then be a variable
somewhere on top of the hierarchy, and the complete URL can then
be combined with the constant part further down the hierarchy.

Perhaps you can motivate your students by telling them that they only
have to do this one more time ;-)

Best regards,

Maik Röder

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Testing For Filesize

2000-07-10 Thread Maik Roeder

Hi Terry !

Terry Babbey wrote:
> 
> I am trying to create a automated drop down list, and here is my code
> so far:
> 
> 
> 
> 
> 
> 
> 
> I would like to be more specific though and only list files of zero
> byte size. Is this possible?

There is a snippet here:

http://zdp.zope.org/projects/zsnippet/snippets/DTMLTags/ObjectLength

Combined with a dtml-if that should give what you want to achieve.

Regards,

Maik Röder

-- 
"The computing future is based  on "cyberbodies" - self-contained, 
neatly-ordered,  beautifully-laid-out  collections of information, 
like immaculate giant gardens." The second coming - A manifesto. David
Gelernter http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Rendering Folderish ZClass Object

2000-07-10 Thread Maik Roeder

Hi Chris !

Chris Withers wrote:
> I have a ZClass based on Folder. Contained within this is a DTML Method,
> index_html. This is mapped to the 'View' view and renders the
> appropriate object contained in itself depending on soem logic.
> 
> All, is well if I access the object through a URL, the page is rendered
> as expected.
> However, if I access the object with the following code:
> 
> 
> All I get is:
> 
> 
> Why is this? Why does the normal rendering not take place?

Do you know about the Software Product: Renderable Base ZClass ?
http://www.zope.org/Members/lalo/Renderable-ZClass

Regards,

Maik Röder

-- 
"The computing future is based  on "cyberbodies" - self-contained, 
neatly-ordered,  beautifully-laid-out  collections of information, 
like immaculate giant gardens." The second coming - A manifesto. David
Gelernter http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Installed Products

2000-07-09 Thread Maik Roeder

Hi Tim !

Tim Cook wrote:
> > Because it is a Python based product and not a ZClass based product?
> 
>   So all the really cool, useful stuff is being written in Python
> instead of ZClasses?   Is there a specific reason for this?
> Speed?  Capability?

Have a look at:

http://zdp.zope.org/portals/developers/designstrategies/products
http://zdp.zope.org/portals/developers/designstrategies/zclasses
http://zdp.zope.org/portals/developers/designstrategies/mix
http://zdp.zope.org/portals/developers/designstrategies

Regards,

Maik Röder
-- 
"The computing future is based  on "cyberbodies" - self-contained, 
neatly-ordered,  beautifully-laid-out  collections of information, 
like immaculate giant gardens." The second coming - A manifesto. David
Gelernter http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Products vs. ZClasses- Design Question

2000-06-26 Thread Maik Roeder

Hi Jimmie !

Jimmie Houchin wrote:
> > This sounds weird ! Well, every page on the ZDP site has a Maintainer,
> > and that is displayed on the top right. If you click on that link,
> > you get to the member page, where the email exists.
> 
> I go back again to make sure of what I saw. In the upper right side, all
> that is there is 'Contributed by maik'. It is not a link. It goes
> neither to a member page of the maintainer nor provides a mailto: link.
> This is in Win95 Netscape. When I view the source I didn't anything
> there but text in a table.

This is a bug specific to the Portal, which has a folder called members,
and unfortunately, I am using just this name in the DTML script that
fetches the information out of the members folder that holds the actual
member information.



Maintainer: 


Contributed by 


 
I have changed the portal name to zdpmembers, and now it works again.

> > You also have to see that the topics in the ZDP-Portal
> > are normally not related in a way like an article is,
> > so I have not added a navigation, even though I had considered it.
> 
> I don't think it is a problem for unrelated content or articles. It also
> doesn't necessarily have to be site wide thing. In this particular
> instance all three were related to each other and referenced each other
> via the pros and cons.

In this case I will have to make explicit links to the related content,
like you propose. It is worth the extra effort.
 
> If you think date is not a good indicator of currency, then howabout
> having Zope versions with which it is accurate for ?

The date will play a role when the changes history of documents
is implemented. 

> ie: Works with Zope
> 2.x or Zope 2.2.x, etc. or even a range 2.0-2.1.x. This would allow for
> changes in Zope which break certain things. For example any information
> on the security model changes between 2.1.x and 2.2.x.
> Doing it this way makes it less date dependent. It also allows for
> people who are using older versions of Zope to understand if it is
> relevant for them.

In my opinion, things like that should be noted in the text, or in
the changes history (Something like "adopted to Zope 2.2 security model
on 22nd of July 2000). 
 
> > I have noticed that product as well, but didn't find the
> > time to check it out (There is no info on the product
> > page).
> 
> I haven't either. Just thought it seemed relevant to the topic.

It is relevant, and the portal is supposed to spare you the time
to check out everything on your own. If someone has checked out
this product, please add your knowledge to the Portal.
 
> > Maybe you can help by adding a draft to the relevant topics,
> > that can replace the description that exists ?
> 
> Not at this time, sorry.

No problem. Thanks for your comments.

Best regards,

Maik Röder

-- 
Open Source is "about being able to work together with people you've
never  met, on projects that  are in  a constant state  of flux,  on 
a time schedule  that would  cause a  hummingbird's  head to  spin."
Paul Ferris, http://www.linuxplanet.com/linuxplanet/opinions/1593/1/

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Products vs. ZClasses- Design Question

2000-06-17 Thread Maik Roeder

Hi !


> I would like some thoughts on design strategies for Zope classes. I am
> developing a site that will require writing some custom classes. I would
> appreciate any opinions anyone could offer. 

I have summed up the discussion for future reference here:

http://zdp.zope.org/portals/developers/designstrategies
http://zdp.zope.org/portals/developers/designstrategies/products
http://zdp.zope.org/portals/developers/designstrategies/zclasses
http://zdp.zope.org/portals/developers/designstrategies/mix

Please add your comments, further links and suggestions for 
improvements right in the ZDP Portal.

Best regards,

Maik Röder

-- 
Open Source is "about being able to work together with people you've
never  met, on projects that  are in  a constant state  of flux,  on 
a time schedule  that would  cause a  hummingbird's  head to  spin."
Paul Ferris, http://www.linuxplanet.com/linuxplanet/opinions/1593/1/

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Proposal for mail-in to Zope

2000-05-31 Thread Maik Roeder

Hi !

Simon Coles wrote:
> Does this sound like what people need? Any thoughts, comments, warnings?
> 
> I don't know yet what kind of schedule we'll be able to do this on
> but drop me a mail and when there's something to play with we'll let
> you know.

I wanted to define this as a Task for the ZDP-Tools, but I only
made some research into this, so I hope this helps in any way...

Greetings,

Maik Röder


Mailbag 

It would be nice to have a Mailing list tracker on the ZDP site, where all
messages, which are sent to all of the Zope mailing lists are kept. The messages
could then be used for searching on specific topics, and could also be directly
reused when new pieces of documentation are written. 

Reusing pieces of documentation right now means to track the mailing lists,
using your own mail reader, or going to one of the online Mailing list trackers
like egroups, and then cutting and pasting the message into your documentation.

Just taking over content is not nice without giving credit to the original author. 
It
is also not very user-friendly because much of the discussion, which has been
surrounding the posting in the original discussion thread is simply lost. The
original thread can be very useful for ZDP visitors, who may want to have a
look at it when they see it quoted. 

Right now, giving a pointer to the original post is hard, because you can not be
sure whether the site you are pointing to always keeps the URL, or for what is
worse, even disappears. We need to be sure that a quoted message along with
it's thread still exists in the future. 

We don't have enough space on the ZDP site to keep the whole Zope mailing
lists, and so we are planning to digest the incoming mails only for a certain
period of time. Afterwards, the mails will be deleted if they haven't appeared in
a thread that has been quoted. 

We don't have the ressources to update the Mailing List Tracker everytime a
mail is sent to a mailing list. So, to quote a mail, we need to manually upload all
mails which have been written to that list since the last update. We also need to
update threads to which new mails have been posted in the meantime. 

We also lack a tool for uploading messages to the Zope site. We could extend
the Mailbag product by Tres Seaver which uses the Python 'rfc822' and
'mailbox' modules to parse messages and mailboxes. 

Lately, Tres Seaver has rewritten Mailbag, refactoring the logic into Python
classes. The corresponding ZClasses for the presentation layer still have to be
rewritten, but can possibly be taken over from the previous Mailbag version. 

To get the mail into Zope, a program needs to be written that calls Mailbag via
ZClient when a mail arrives. Another type of program could be useful for
importing existing Mailboxes into Zope. 

For delivery, an MDA like procmail could spawn a program out of a .forward
file and ask it to upload the mail to a Zope folder according to a predefined set 
of
recipies. 

There exists a Python program called getmail which takes mail from a POP3
server and delivers it into a mailbox. The delivery part of this program uses a
getmailrc which could be used instead of the procmail recipies. 

Once the mail is in a local installation on a ZDP members own Zope server, it is
easy to export the email and upload it to the ZDP site. From there, the ZDP
members can quote the message easily by directly pointing to the URL. 

This way, we may not get a complete mail archive, but at least we can always
be sure that the quoted mails and their surrounding thread exist. 

--
Open Source is "about being able to work together with people you've
never  met, on projects that  are in  a constant state  of flux,  on 
a time schedule  that would  cause a  hummingbird's  head to  spin."
Paul Ferris, http://www.linuxplanet.com/linuxplanet/opinions/1593/1/

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Oh

2000-05-30 Thread Maik Roeder

Hi !

Luis Cortes wrote:
> There is one other worth mentioning, that is ALL ZOPE TIPS which is a
> collection of useful examples ( unfortunately this is not part of the standard
> documentation ) you will have to go to the Zope site and download it from the
> documentation URL.

You can find a link on the ZDP site:

http://zdp.zope.org/

Look for Zope Tips in HTML
 All Zope.org Tips in one HTML File (>60KB) 

Everything can be listed from this site in flat mode. (Only the Howtos
are missing)

Greetings,

Maik Röder

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Re: [ZDP] Re: [Zope] The agony of the ZOPE Documentation

2000-05-24 Thread Maik Roeder

Hi !

Chris Withers wrote:
> 
> [EMAIL PROTECTED] wrote:
> > I'm sorry, but I have to say, the ZOPE documentation, despite efforts
> > to improve it, is absolutely, positively horrible.  Not because the
> > content isn't there, but because the tools to access it simply suck.
> 
> Gotta agree with this :(

Have you seen the logo of the ZDP site ? ;-) 
 
> > Additionally, the zdp web site is a real nice idea that is SO poorly
> > executed IMO as to make it totally unusable.

Thanks for telling me what you think about the ZDP site. The portal is
only 24 days old, and we still need to fill in all the subjects and
topics. Do think that the basic idea of offering different portals
for different communities (Beginners, Developers and so on) is a bad
idea ? What do you think about the organisation in Subjects/Topics ?

> ZDP is currently undergoing a lot of development and unfortunately I
> have to agree that it isn't there yet...

We desparately need people helping ! 
 
> Unfortunately, no-one is getting paid to do it, and everyone who is
> working on it would probably get fired if they spent enough time on it
> to REALLY get the job done...

The problem is that not all stakeholders are working on this together.
The ZDP project has got another server than the main Zope site, and
there are only a few spare time developers working on this site. If
we could work together with Digital Creations and perhaps on the
same server as Zope.org, things would be much easier !
 
> I reckon there's about 25 man weeks of work to do based on 5 people
> spending:
> -1 week to build the tools
> -1 week to plan the structure of the documentation
> -3 weeks to get ALL the Zope documentation linked in one place (which is
> what zdp is supposed to be...)
> 
> So, has anyone got the cash? ;-)

This is a job that only DC can do right now. The ZDP has "only" got
the aim to point to existing stuff. Restructuring the existing docs
is not our job.
 
> Once this is done, it will be less work to keep that documentation up to
> date. Hopefully, eventually, all documentation would end up on
> zdp.zope.org and not just be linked from it...

At least we can dream, can't we ? ;-)
 
> > You can't even browse
> > the documentation without clicking through a thousand different
> > links.
> 
> I agree here too :(

What documentation do you mean ? 
 
> (I can give you specific examples of how to improve the site
> > if you want.)

I really want to hear all your ideas !
 
> Send them to [EMAIL PROTECTED], in fact, better still, JOIN [EMAIL PROTECTED] and
> go and make the changes yourself :-)

It would be nice to get some help from the whole Zope community.

Anyone who would like to give some ideas is more than welcome !
 
Greetings,

Maik Röder

-- 
Open Source is "about being able to work together with people you've
never  met, on projects that  are in  a constant state  of flux,  on 
a time schedule  that would  cause a  hummingbird's  head to  spin."
Paul Ferris, http://www.linuxplanet.com/linuxplanet/opinions/1593/1/

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )