Hi,
I suggest you parse the HTML with the PHP DOM tools, and from there build the additional array items. Please refer to https://stackoverflow.com/questions/13553572/php-dom-get-items-from-first-ul-element or google "php dom ul list" or similar.
Good luck!