APS package update misses latest Joomla version
The APS package list does not find the latest version of Joomla.
The version it finds is 2.5.11 but the latest version listed in the XML is 3.1.1-3.
I added the following two fputs degug code to aps_crawler.inc.php (shown with context)...
// Fetching values of interest
app_name = parent::getXPathValue(
sxe, 'entry[position()=1]/a:name');
app_version = parent::getXPathValue(
sxe, 'entry[position()=1]/a:version');
app_release = parent::getXPathValue(
sxe, 'entry[position()=1]/a:release');
fputs($flog, "\n\n------------------\nName:" . $app_name . "\nVersion:" . $app_version . "\nRelease:" . $app_release . "\n");
fputs(flog, "sxe array:" . print_r(
sxe,TRUE) . "\n");
$ex_ver = '';
The output for the name, version and release was: Name:joomla Version:2.5.11 Release:5
However the sxe array contains the following entry (only part shown as it is very long):
[1] => SimpleXMLElement Object
(
[@attributes] => Array
(
[ns] => http://www.w3.org/2005/Atom
)
[id] => tag:apscatalog.com,2013-04-30:/1/www.joomla.org/joomla/3.1.1-3/www.sofcloudit.com/undefined/undefined/undefined
[title] => Joomla! - 3.1.1-3
[summary] => Content management system and Web application framework
[updated] => 2013-04-30T13:53:26Z
[published] => 2013-04-30T13:53:24Z
[category] => SimpleXMLElement Object
(
[@attributes] => Array
(
[term] => Web/Content management
)
)
[author] => Array
(
[0] => SimpleXMLElement Object
(
[name] => www.joomla.org
[uri] => http://www.joomla.org/
)
[1] => SimpleXMLElement Object
(
[name] => www.sofcloudit.com
)
)