test isi files in webpac
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 18 Sep 2009 20:13:01 +0000 (20:13 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 18 Sep 2009 20:13:01 +0000 (20:13 +0000)
git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@1285 07558da8-63fa-0310-ba24-9fe276d99e06

vhost/isi/config.yml [new file with mode: 0644]
vhost/isi/isi.pl [new file with mode: 0644]
vhost/isi/normalize.pl [new file with mode: 0644]

diff --git a/vhost/isi/config.yml b/vhost/isi/config.yml
new file mode 100644 (file)
index 0000000..62dc74f
--- /dev/null
@@ -0,0 +1,16 @@
+# Encoding of this file must be UTF-8!
+
+databases:
+  isi:
+    name: 'ISI' 
+    input:
+      - name: Croatia
+        module: 'WebPAC::Input::ISI'
+        path: '/data/isi/AD=Croatia.20090918.txt'
+        normalize:
+          path: 'vhost/isi/isi.pl'
+    output:
+      - module: 'WebPAC::Output::CouchDB'
+        url: 'http://10.60.0.91:5984/isi'
+      - module: 'WebPAC::Output::SWISH'
+        database: 'isi'
diff --git a/vhost/isi/isi.pl b/vhost/isi/isi.pl
new file mode 100644 (file)
index 0000000..7aa1a04
--- /dev/null
@@ -0,0 +1,4 @@
+search( 'title', rec('TI'));
+search( 'author', rec('AU'));
+search( 'publication', rec('SO'));
+
diff --git a/vhost/isi/normalize.pl b/vhost/isi/normalize.pl
new file mode 100644 (file)
index 0000000..e69de29