Update website
This commit is contained in:
parent
ea0eb1c6e0
commit
16eb641033
1 changed files with 9 additions and 4 deletions
|
@ -18,9 +18,14 @@ $parser = new Parser();
|
|||
$parser->addListener($listener);
|
||||
|
||||
// Parse the content, then read processed data from the Listener
|
||||
$parser->parseFile('assets/bib/export-bibtex.bib');
|
||||
$entries = $listener->export();
|
||||
|
||||
print_r($entries);
|
||||
try {
|
||||
$parser->parseFile('assets/bib/export-bibtex.bib');
|
||||
$entries = $listener->export();
|
||||
|
||||
print_r($entries);
|
||||
} catch (Exception $e) {
|
||||
print_r($e);
|
||||
print_r($e->getMessage());
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue