clean legacy code
Fixes ARGOeu/ARGO#50

Sites support the new AP format. Also, updated function name.