[Devel] Trimming feed content

Simos Xenitellis simos74 at gmx.net
Thu Oct 14 04:35:37 EST 2004

On Mon, 2004-10-11 at 18:01, Miguel A Paraz wrote:
> Hi,
> Some blogs put the entire post in <description /> complete with HTML.
> What's a good way to trim this down and show a short excerpt?

Regarding Unicode and UTF-8, special care should be given not to cut in
half a Unicode character. For example, "show first 200 bytes" is not
good. That would create a feed that is not proper Unicode and a mess in
the resulting page.


More information about the Devel mailing list