I\'ve made the changes above, but now I\'m getting an error when trying to run jcrawler.
Here is my code:
_____________
foreach ($urls as $loc){
/* urf-8 encoding */
//$loc=htmlentities($loc,ENT_QUOTES,\\\'UTF-8\\\');
//$loc=htmlspecialchars($loc,ENT_QUOTES,\\\'UTF-8\\\',false);
$loc[\\\'url\\\']=htmlspecialchars($loc[\\\'url\\\']);
if (strlen(trim($loc[\\\'url\\\'])) > 0){ $i++;
$modified_at = date(\\\'Y-m-d\\\\Th:i:s\\\\Z\\\');
$xml_string .= \\\"
<url>
<loc>\\\".$loc[\\\'url\\\'].\\\"</loc>
<lastmod>$modified_at</lastmod>
<priority>\\\".$priority.\\\"</priority>
<changefreq>\\\".$freq.\\\"</changefreq>
</url>\\\";
}
}
_________________
And here is the error messages I\'m getting when trying to run jcrawler:
Warning: Unexpected character in input: \'\\\' (ASCII=92) state=1 in /home/xxxx/public_html/administrator/components/com_jcrawler/admin.jcrawler.php on line 428
Parse error: syntax error, unexpected T_STRING, expecting \']\' in /home/xxxx/public_html/administrator/components/com_jcrawler/admin.jcrawler.php on line 527