|
|
|
|
|
|
|
|
$application_id = json_encode($application_id[1]); |
|
|
$application_id = json_encode($application_id[1]); |
|
|
$output['application_id'] = $application_id; |
|
|
$output['application_id'] = $application_id; |
|
|
|
|
|
|
|
|
// Search for the publication ID in the content element and display it |
|
|
|
|
|
|
|
|
// Search for the publication URL in the content element and display it |
|
|
$content = $json->response->docs[$random]->content; |
|
|
$content = $json->response->docs[$random]->content; |
|
|
preg_match('/Publication.*\n(.*)\n/', $content, $publication); |
|
|
preg_match('/Publication.*\n(.*)\n/', $content, $publication); |
|
|
$publication_id = json_encode($publication[1]); |
|
|
|
|
|
$output['publication_id'] = $publication_id; |
|
|
|
|
|
|
|
|
$publication_url = json_encode($publication[1]); |
|
|
|
|
|
$output['publication_url'] = $publication_url; |
|
|
|
|
|
|
|
|
// Search for the title in the content element and display it |
|
|
// Search for the title in the content element and display it |
|
|
$content = $json->response->docs[$random]->content; |
|
|
$content = $json->response->docs[$random]->content; |