Quote Originally Posted by DivaVocals View Post
Look a coupla pages back in this thread.. I posted my fix for the ampersands as well the fix for quotations in description and product titles.... my fix incorporates Dave's fix for the "<" and ">" characters..

If you would be so kind as to post how you addressed the spaces, that would be nice??
Quote Originally Posted by hypercoyote View Post
Is this the fix:

// $str = str_replace(array("&lt;", "&gt;"), array("<", ">"), $str);
// 10-01-2009 Updated to correct quotation marks and ampersands in product titles and descriptions
$str = str_replace(array("lt;", "gt;", "quot;", "&quot;", "amp;"), array("&lt;", " &qt; ", "&quot;", "\"", "&"), $str);

I put it in my code but as far as I can tell, it didn't make a difference. When you put in &'s and >'s, do you store them in XML friendly format into your table or do you store them in plain format? I actually have it in their both ways

Media > DVDs & Videos

and

Media &gt; DVDs &amp; Videos

both of them still come out as

Media gt; DVDs amp; Videos

in the feeder xml.

I mean, do I need to put quotes around them or do something else?
LOL, I guess it would help if I actually read the post and went to line 202. I did a Find on the code to replace instead and ended up on an earlier line. So the code actually did work, although it has one error, it replaces 'gt' with 'qt' (a Q), so after fixing that, it seems to be working :)