this creates a file CITATION.cff for @xx{classical, $_GET['library']=1; require('bibtexbrowser.php'); function bibtexbrowser_cff($arguments) { $db = new BibDataBase(); $db->load($arguments[1]); $current_entry=NULL; for ($i=2;$igetEntryByKey($arguments[$i+1]); } } if (is_null($current_entry)) { echo "Did not find entry specified in the --id argument."; return; } echo $current_entry->toCFF(); } bibtexbrowser_cff($argv); ?>