hi,
this is my quick and dirty hack. edit qa-plugin/xml-sitemap/qa-xml-sitemap.php
add:
$priority = number_format($priority,0); //fixed priority 123.00 to 123
or
$priority = number_format($priority,1); //fixed priority 123.00 to 123.0
so the new function will look like this
function sitemap_output($request, $priority)
{
$priority = number_format($priority,0); //fixed priority 123.456
echo "\t<url>\n".
"\t\t<loc>".qa_path_html($request, null, qa_opt('site_url'))."</loc>\n".
"\t\t<priority>".$priority."</priority>\n".
"\t</url>\n";
}
not sure if parsefloat/cast function can fixed this but I just want quick fix. Thanks :)