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
depth:
11
Previous post - Next post | Parent - Children.1 | Posted on 2005/4/15 6:19
FutureSpy  伍長 From: 世界のどっかで  Posts: 70
Due to BopComments' stripping, the language tags were being removed, making the description tag not show its contents in the correct language. The trucating was also cutting all descriptions at 125 characters, so even though the language tags were there, it'd not show it in the others languages for long contents.

So, I commented out the lines for stripping and trucating, and now was trying to make trucating through smarty directly on the RSS template like this:

<description><{$item.description|truncate:128:"...":true}></description>

But I'm 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 know this has nothing to do with EMLH, but still, I wonder if anyone has any clue of why it's not working in this tag.

Sorry, that may sound a little confusing. My poor English also doesn't help too much... ^^"

Thanks in advance
Votes:0 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!