PEAK XOOPS - Re: backend.php & EMLH in englishin japanese

Re: backend.php & EMLH

List posts in the topic

normal Re: backend.php & EMLH

msg# 1.1.1.1.1.1.1.1.1.1.1.1.1.1
depth:
13
Previous post - Next post | Parent - Children.1 | Posted on 2005/4/16 1:14
FutureSpy  伍長 From: 世界のどっかで  Posts: 70
GIJOE, thanks for your reply.

Sorry, I think my explanation wasn't very clear. ^^"

BopComments truncates the descriptions in 125 characters by PHP code, which was causing the language tags to be cutted. So, I was trying to truncate it through Smarty, hoping the language tags weren't cutted there.

The original code was:
<description><{$item.description}></description>

And I was trying to use:
<description><{$item.description|truncate:128:"...":true}></description>

But I was getting the following error message:
Quote:
XML Parsing Error: mismatched tag. Expected: </description>.
Location: http://localhost/rss.php
Line Number 27, Column 57: <description> : Bem-vindo ao mundo de WordPress!</title>
--------------------------------------------------------^

I wonder why it doesn't work.

And I have a question: does obfilters process the language tags after or before the Smarty templates are processed?
Votes:0 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!