description = content[:max_char_count]

Isn't something like this viable?

Em segunda-feira, 16 de maio de 2016 09:54:53 UTC-4, Ryne Everett escreveu:
>
> Maybe a char count, or word count?
>>
>  
> What happens when the first sentence is too small? Use the second sentence?
>
> My experience is that it’s rather annoying to manually set the description 
>> - which you have to do every time your post begins with a short sentence, 
>> since the generated description looks weird because it’s so small.
>>
>
> Agreed, but I'm not sure any simple algorithm could have a satisfactory 
> behavior.
>
> On Mon, May 16, 2016 at 1:50 PM, Efraim AUGUSTO GONCALVES <
> [email protected] <javascript:>> wrote:
>
>> Isn’t there a better algorithm to automatically generate the description?
>>
>> Maybe a char count, or word count?
>>
>> My experience is that it’s rather annoying to manually set the 
>> description - which you have to do every time your post begins with a short 
>> sentence, since the generated description looks weird because it’s so small.
>>
>> I’m talking about an out-of-the-box solution here, like a checkbox or 
>> something.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Mezzanine Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to