[Zope-PTK] feature request: news categories

Chip Vanek chip@upcast.com
Wed, 16 Feb 2000 09:55:42 -0800


>-----Original Message-----
>From: paul@zope.org [mailto:paul@zope.org]On Behalf Of Paul Everitt
>Sent: Wednesday, February 16, 2000 6:07 AM
>To: Chip Vanek
>Cc: zope-ptk@zope.org
>Subject: Re: [Zope-PTK] feature request: news categories
>
>
>Chip Vanek wrote:
>> I too am very interested in categories.  When you talk about
>> subclassing the News object below and using folder do you
>> mean that the object would be stored in this folder?
>
>Long thread...sorry for the delay in replying.

What!, you don't have a Ztopic categorizing all threads as they
come in and presenting possible action for you ;)

>
>> The present PTK keeps all objects in the authors members folder or
>> children.  I do not know if this is by design or just present
>> convenience.  It does seem to simplify security and the review/
>> publishing mechaism seems to allow for managed publishing.
>
>Just like Zope.org, content can be anywhere.  But giving people a
>"me-centric" view of their content is powerful.
>
I am getting more comfortable with the Zope.org way and think I am
being very supportive of the concept in my too long comments.

>I don't buy the argument that putting stuff close to people breaks
>URLs.  Take a look on the web at all the ~username URLs you see out
>there.  Moreover, deleting a member doesn't delete their content, just
>like deleting someone on a Linux system doesn't delete all their files.
>
I think that putting stuff close to the author and giving them good
content management tools is the best way to ensure quality content.

>Regarding the idea of folders based on categories, this is precisely
>what Topics are to do, with the advantage that the same item can appear
>in *many* places.  A Topic is like a folder where most of the 
>items come
>from a catalog lookup.

In my message list search yesterday, I found for the first time you
Ztopic comments.  Ztopics looks exactly like what I had in mind.  I have
not looked with any detail at Ztopics but, will try in integrate or
follow others work as soon as I get this first implementation done.

>
>Note, thought, that the items aren't _really_ in the folder.  When you
>click to visit the item, it goes to the real URL.  Perhaps that's not
>what you want.
>
The "click to visit the REAL URL" is exactly the functionality I would
like to see.  Let the content stay with the owner yet have your own
personal Topic descriptor of what is in the content.

>> I am new to Zope and cannot yet figure out how to create an
>> object in another folder and set the correct permissions. I was
>> able to subclass the portal document object and add category
>> fields (properties).  I am now struggling with trying to enter
>> this category property in the Catalog as a Keyword Field.
>
>Hmm, are you saying you can't create a Portal Folder, then create stuff
>in there?
>
Yes, I am struggling with adding Portal Folders.  I like the idea of the
PTK "management screen eliminator" wrapper around addPortalFolder, but
keep getting security access violations.  I think that I am setting the
"Add Folder" permission on the target folder and have tried proxy roles
but, something I am doing is just wrong.  

>> Then to simulated category lookup I would like to create
>> a search query that returns just items of a certain category.
>> It looks like the PTK wrapper around Zcatalog will ensure that
>> only authenticated users can see non-public items.  The big problem
>> I have now is finding the syntax for getCatalog().searchResults(....)
>> to give me just the items with the keyWorks I want.
>
>Yep, that's an issue.
>
>> To automate the management and generation of the KeyWords, I was
>> going to use a "tree" of folders that have titles that match the
>> KeyWords.  Then, using acquisition one query method would parse
>> the branches of the tree up to root and have the KeyWords.  The
>> "tree" of keywords would be a hierarchical oncology of topics
>> hosted by this site.  Adding a new topic is just adding a new
>> folder to the tree.  Then a compact version of this tree needs to
>> be available to the user in the add and edit forms of the object
>> to ensure that correct KeyWords are used.
>> 
>> This is likely a ugly hack of an approach but, it fits in my feeble
>> mind and I can see the steps to complete it if I start getting
>> some help from the list ;).
>
>Hopefully Topics will help this.  I'll check on the ETA for Topics.
>
>--Paul
>
Yes, ZTopics sounds like the solution.  I will revisit the solution
when ZTopics becomes closer to reality.

Thanks for your comments.

Chip

>_______________________________________________
>Zope-PTK maillist  -  Zope-PTK@zope.org
>http://lists.zope.org/mailman/listinfo/zope-ptk
>
>