Re: truncate html filter?

2006-02-09 Thread Luke Skibinski Holt
It's probably not ideal for your needs, but I put an 'abstract' (or a 'short_desc') field for user's to enter a summarization of their data, then use the abstract with the list views to link to a more detailed view - it depends entirely on one's situation though. You could of course just strip

Re: truncate html filter?

2006-02-09 Thread Jason F. McBrayer
Adrian Holovaty <[EMAIL PROTECTED]> writes: > On 2/8/06, Milton Waddams <[EMAIL PROTECTED]> wrote: >> I'm wondering if anyone has a filter which safely truncates html so as >> not to chop through tags. > > Hey Milton, > > You could try using the Python interface to HTML Tidy: Beautiful Soup

Re: truncate html filter?

2006-02-09 Thread Milton Waddams
On 2/9/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 2/8/06, Milton Waddams <[EMAIL PROTECTED]> wrote: > > I'm wondering if anyone has a filter which safely truncates html so as > > not to chop through tags. > > Hey Milton, > > You could try using the Python interface to HTML Tidy: > >

Re: truncate html filter?

2006-02-08 Thread Adrian Holovaty
On 2/8/06, Milton Waddams <[EMAIL PROTECTED]> wrote: > I'm wondering if anyone has a filter which safely truncates html so as > not to chop through tags. Hey Milton, You could try using the Python interface to HTML Tidy: http://www.egenix.com/files/python/mxTidy.html Adrian -- Adrian

Re: truncate html filter?

2006-02-08 Thread limodou
On 2/9/06, Milton Waddams <[EMAIL PROTECTED]> wrote: > > Hi All, > > I'm wondering if anyone has a filter which safely truncates html so as > not to chop through tags. > > A problem that I find I have quite often is that I want to provide a > summary of the content (eg. on a homepage) with a more

truncate html filter?

2006-02-08 Thread Milton Waddams
Hi All, I'm wondering if anyone has a filter which safely truncates html so as not to chop through tags. A problem that I find I have quite often is that I want to provide a summary of the content (eg. on a homepage) with a more info link... I run into issues with the content being truncated