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
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
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:
>
>
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
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
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
6 matches
Mail list logo