0

Hello ,,

How are U ??

I have a problem in creat RSS Sitemap

I need it for Arabic .. first I added English threads , its appear without any problem

but when I added Arabic threads All of its disappeared !!

Just the title appear in Arabic

Now this is the Code of sitemap

<rss version="2.0" encoding="UTF-8"><channel><title>Md5x</title><description>مم</description><link>localhost</link>
<? header('Content-type: text/xml charset=UTF-8'); ?>
<? include ("config.php") ;

$query=mysql_query("SELECT * FROM posts ORDER BY `postid` DESC LIMIT 0,10");
while($result = mysql_fetch_array($query)){
?>
<item>
<title><?=htmlentities(strip_tags($result['title'])); ?></title>
<link>http://www.xxxxx.com/index.php?id=<?=$result['postid'];?></link>
</item>
<? } ?>

Just the title appear in Arabic

Thank U very much ..

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by Microsys
0

Maybe your arabic pages are not correctly encoded (or the backend database uses a different character set than UTF-8)

Have you tried using e.g. A1 Website Analyzer to see the character set your Arabic pages identify themselves as being? (Often people get this wrong compared to their underlying data.)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.