Skip to content.

Etria Lists

 

[quills-dev] Re: Entry description generated automatically

Andrey Fedoseev andrey.fedoseev at gmail.com
Mon Dec 18 09:20:37 UTC 2006


В Пнд, 18/12/2006 в 10:10 +0100, Reinout van Rees пишет:
> 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).
> 

True

> 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.
> 

True again. I had to modify templates for not to show 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?

I intend it for plone-as-a-whole. I want entries to have descriptions
for searching and for summary view. On my site there're several blogs
and I use smart folder with summary view to show entries from all blogs
on site's frontpage. It could be used for RSS-feeds though I don't use
it for that (maybe I'll do, in future).

> 
> Reinout
> 
-- 
Regards!
Andrey Fedoseev <andrey.fedoseev at gmail.com>



More information about the quills-dev mailing list