aboutsummaryrefslogtreecommitdiff
path: root/normalize.php
diff options
context:
space:
mode:
authorIgor <pashev.igor@gmail.com>2010-12-28 22:34:13 +0300
committerIgor <pashev.igor@gmail.com>2010-12-28 22:34:13 +0300
commit9cc9ed16fadeead0d846b2b43ef961791c74fe05 (patch)
tree875932736a0b43a5078881554ba97bf1dbd5b331 /normalize.php
parent902d6ec2f5208a799feff916fa9cd739807453cb (diff)
downloaddokuwiki-plugin-papers-9cc9ed16fadeead0d846b2b43ef961791c74fe05.tar.gz
Fixed export; example added
Diffstat (limited to 'normalize.php')
-rw-r--r--normalize.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/normalize.php b/normalize.php
new file mode 100644
index 0000000..836ef78
--- /dev/null
+++ b/normalize.php
@@ -0,0 +1,14 @@
+<?php
+require_once('bibtex.php');
+
+if (2 == $argc) {
+ $bibtex = new BibtexParserTeam();
+ $bibtex->read_file($argv[1]);
+ print $bibtex->export();
+} else {
+ print_r($argv);
+}
+
+
+?>
+