Skip to content.

Etria Lists

 

[quills-dev] Re: Entry description generated automatically

Reinout van Rees reinout at vanrees.org
Mon Dec 18 09:10:36 UTC 2006


Tim Hicks wrote:

> There is also the issue with this approach surrounding how to handle the
> existing 'desciption' (aka 'excerpt') AT field that needs to be
> resolved.  I mean, the field probably should not get displayed in the
> edit view when IWeblogEntrySummariser.getSummary() is just going to
> ignore it.

His original code had a check "is there a regular summary: use it if
available", so that's ok. Keep the regular description field by all
means for all those people who really use it (like myself).

One thing to watch out for: If it is the same as the beginning of the
real text, we'll soon start hearing wishes for the removal of the
excerpt/description from the views "as it is just a duplication". Which
is a no-no if there's a *real* description.

=> Try to keep it all a bit separate and don't try to override or work
against core plone behaviour. That'll bite you.

Andrey: what's your core aim with this? Any specific location where you
want your auto-generated description to end up? Some template? The atom
feed? Or just in the description field for use in plone's search
mechanism? Is it quills-specific or do you really intend it for
plone-as-a-whole?

Reinout

-- 
Reinout van Rees                       r.van.rees @ zestsoftware.nl
http://vanrees.org/weblog/                  http://zestsoftware.nl/
"Military engineers build missiles. Civil engineers build targets."



More information about the quills-dev mailing list