aboutsummaryrefslogtreecommitdiff
path: root/test.php
diff options
context:
space:
mode:
authorIgor <pashev.igor@gmail.com>2010-10-31 13:34:54 +0300
committerIgor <pashev.igor@gmail.com>2010-10-31 13:34:54 +0300
commit550e0062508de14939dd518c5b7d6efefaf5b655 (patch)
tree8af836db7f5c1575d08f081dd3b2ab757d344bcc /test.php
parentd10dda2dbc20626496c76c073a34f9ea40298b7f (diff)
downloaddokuwiki-plugin-papers-550e0062508de14939dd518c5b7d6efefaf5b655.tar.gz
<bibtex> RAW BiBTeX </bibtex> - works
Diffstat (limited to 'test.php')
-rw-r--r--test.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/test.php b/test.php
new file mode 100644
index 0000000..f6d51f7
--- /dev/null
+++ b/test.php
@@ -0,0 +1,15 @@
+<?php
+require_once('bibtex.php');
+
+$bibtex = new BibtexParserGoga();
+$bibtex->read_file('example.bib');
+$bibtex->select(array(
+ 'author' => '/pashev/',
+ ));
+
+
+print_r($bibtex->STRINGS);
+print_r($bibtex->SELECTION);
+
+?>
+