| @@ -81,6 +81,9 @@ function parse_result($id, $input){ | |||
| if (preg_match('/=D\s(([^\s]*)\s([^\s]*)\s([^\s]*))/', $input, $doc_ref)){ | |||
| $output['doc_ref'] = str_replace(' ','',$doc_ref[1]); | |||
| } | |||
| elseif (preg_match('/=D&locale=en_EP\s(([^\s]*)\s([^\s]*)\s([^\s]*))/', $input, $doc_ref)){ | |||
| $output['doc_ref'] = str_replace(' ','',$doc_ref[1]); | |||
| } | |||
| // Search for the application ID in the content element and display it | |||
| preg_match('/Application.*\n(.*)\n/', $input, $application_id); | |||