An XML and JSON API for multi-language websites and php applications