[Zope] zcatalog to return the first paragraph of the summary metadata !!!

Andreas Jung andreas at andreas-jung.com
Sat Jun 5 06:09:11 EDT 2004


Write a parser that extracts the first paragraph instead of using the first
N characters....that's basically a Python questions....means use or learn
Python to write such a parser (python.org/doc is yours).

-aj

--On Samstag, 5. Juni 2004 2:59 Uhr -0700 Hamzat Kamal <k_hamzat at yahoo.com> 
wrote:

> Hi,
>
> I have a zcatalog object that stores part of my DTML doc content into
> matadata summary. Presently it displays the summary based on the no of
> characters i have specified, this is not good enough bcos at time the
> phrases displays most time do not make sense. So I want a situation where
> the first paragraph of each summary metatada.
>
> What can i do to achieve this.
>
> =====
> Hamzat kamaldeen Ishola Dnet Systems Limited. 223 Ikorodu Road, Lagos.
> Nigeria. 234 1 7749381, 234 08033011305 --- If Mistake is an opportunity
> to see better,?then do not fear it, but ready to admit it. NOTE:
> Sentimental decisions are not mistakes but failures !!!?
>
>
> 	
> 		
> __________________________________
> Do you Yahoo!?
> Friends.  Fun.  Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )







More information about the Zope mailing list