Update website

This commit is contained in:
Guilhem Lavaux 2024-11-23 20:55:19 +01:00
parent ea0eb1c6e0
commit 16eb641033

View File

@ -18,9 +18,14 @@ $parser = new Parser();
$parser->addListener($listener); $parser->addListener($listener);
// Parse the content, then read processed data from the Listener // Parse the content, then read processed data from the Listener
$parser->parseFile('assets/bib/export-bibtex.bib'); try {
$entries = $listener->export(); $parser->parseFile('assets/bib/export-bibtex.bib');
$entries = $listener->export();
print_r($entries);
print_r($entries);
} catch (Exception $e) {
print_r($e);
print_r($e->getMessage());
}