PHP & RSS Feeds & Special Characters validation Problem.
- by BUGY
I keep getting the following validation warning below. And I was wondering that some of my articles deal with special characters and was wondering how should I go about rendering or not rendering special characters in my RSS feeds? Should I use htmlentites or not? If so how?
In addition, interoperability with the
widest range of feed readers could be
improved by implementing the following
recommendations. line 22, column 35:
title should not contain HTML: &
PHP code.
<title>' . htmlentities(strip_tags($title), ENT_QUOTES, "UTF-8") . '</title>