Since AFF decided to add these stupid brackets to their xml feed, it broke my scripts.
Living in <![CDATA[Newport Beach]]>, <![CDATA[California]]><br>
<![CDATA[United States]]>
the damn <!CDATA[ and ]] used to not be there.... since they added it, my geo stuff isnt showing up on my pages because my parser doesnt work now.
Anybody know how to fix it? My parser has this:
Code:
$g1 = strpos($xml, "<city>", $i);
$g2 = strpos($xml, "</city>", $g1);
$city = str_replace(array("<city>","</city>"), "", substr($xml, $g1, $g2 - $g1));
And of course its New Year's Eve and getting AFF help just isnt going to happen.