PHP code example of acdh-oeaw / arche-ingest
1. Go to this page and download the library: Download acdh-oeaw/arche-ingest library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
acdh-oeaw / arche-ingest example snippets
// NO CHANGES NEEDED BELOW THIS LINE
bash
php -f {scriptOfYourChoice}
# console script variant
nohup vendor/bin/arche-import-metadata --concurrency 4 myRdf.ttl https://arche.acdh.oeaw.ac.at/api myLogin myPassword > logFile 2>&1 &
# template variant
nohup php -f import_metadata_sample.php < input > logFile 2>&1 &