webpac
20 years agoupdated branches to HEAD
Dobrica Pavlinusic [Sun, 4 Apr 2004 22:11:13 +0000 (22:11 +0000)]
updated branches to HEAD

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@303 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agosupport for working from root of virtual host
Dobrica Pavlinusic [Sun, 4 Apr 2004 22:06:45 +0000 (22:06 +0000)]
support for working from root of virtual host

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@301 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoeval now honours codepage settings
Dobrica Pavlinusic [Mon, 29 Mar 2004 19:40:45 +0000 (19:40 +0000)]
eval now honours codepage settings

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@292 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoupdated branches to current head of trunk
Dobrica Pavlinusic [Sun, 14 Mar 2004 20:34:24 +0000 (20:34 +0000)]
updated branches to current head of trunk

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@291 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoupdate import_xml in branches
Dobrica Pavlinusic [Sun, 14 Mar 2004 19:54:45 +0000 (19:54 +0000)]
update import_xml in branches

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@288 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agomerge changes from trunk to branches, converted all import_xml
Dobrica Pavlinusic [Sun, 14 Mar 2004 19:44:57 +0000 (19:44 +0000)]
merge changes from trunk to branches, converted all import_xml

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@286 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agolocal
Dobrica Pavlinusic [Sun, 14 Mar 2004 18:09:18 +0000 (18:09 +0000)]
local

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@282 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agomerge -r263:HEAD trunk/ branches/
Dobrica Pavlinusic [Sun, 14 Mar 2004 12:11:19 +0000 (12:11 +0000)]
merge -r263:HEAD trunk/ branches/

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@277 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agomore local changes
Dobrica Pavlinusic [Sat, 13 Mar 2004 18:30:31 +0000 (18:30 +0000)]
more local changes

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@273 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agocode to test parse_format.pm
Dobrica Pavlinusic [Sat, 13 Mar 2004 18:26:35 +0000 (18:26 +0000)]
code to test parse_format.pm

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@272 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agonote about usage of locale
Dobrica Pavlinusic [Sat, 13 Mar 2004 15:20:50 +0000 (15:20 +0000)]
note about usage of locale

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@270 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoremove base href= pointing to development server
Dobrica Pavlinusic [Fri, 12 Mar 2004 13:09:37 +0000 (13:09 +0000)]
remove base href= pointing to development server

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@262 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoHIDRA specific changes
Dobrica Pavlinusic [Thu, 11 Mar 2004 20:42:23 +0000 (20:42 +0000)]
HIDRA specific changes

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@261 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agomoved eval to parse_format.pm where it belongs. Also changed eval format to:
Dobrica Pavlinusic [Thu, 11 Mar 2004 20:32:55 +0000 (20:32 +0000)]
moved eval to parse_format.pm where it belongs. Also changed eval format to:
eval{v901^a eq "Mikrotezaurus"} (please note same format as in ISIS
formating language)

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@260 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agofix for swish without filter
Dobrica Pavlinusic [Thu, 11 Mar 2004 18:20:19 +0000 (18:20 +0000)]
fix for swish without filter

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@258 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoremoved warning
Dobrica Pavlinusic [Thu, 11 Mar 2004 17:53:21 +0000 (17:53 +0000)]
removed warning

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@257 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoeval{} logic was broken in last commit. fixed now
Dobrica Pavlinusic [Mon, 8 Mar 2004 21:24:16 +0000 (21:24 +0000)]
eval{} logic was broken in last commit. fixed now

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@254 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoa lot of hidra-specific branches
Dobrica Pavlinusic [Mon, 8 Mar 2004 21:18:41 +0000 (21:18 +0000)]
a lot of hidra-specific branches

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@253 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agosmaller eval{} fiexes. eval{} logic should really move to
Dobrica Pavlinusic [Mon, 8 Mar 2004 21:17:32 +0000 (21:17 +0000)]
smaller eval{} fiexes. eval{} logic should really move to
parse_format.pm

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@252 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoremoving dependency on HTML::Parser would ease installation
Dobrica Pavlinusic [Mon, 8 Mar 2004 21:14:07 +0000 (21:14 +0000)]
removing dependency on HTML::Parser would ease installation

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@251 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agofinished installation documentation
Dobrica Pavlinusic [Mon, 8 Mar 2004 21:13:39 +0000 (21:13 +0000)]
finished installation documentation

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@250 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agochanged use of Spreadsheet::ParseExcel and MARC to require/import so that
Dobrica Pavlinusic [Mon, 8 Mar 2004 21:10:02 +0000 (21:10 +0000)]
changed use of Spreadsheet::ParseExcel and MARC to require/import so that
dependency on those modules can be resolved in runtime.

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@249 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agomuch improved installation instructions, especially
Dobrica Pavlinusic [Mon, 8 Mar 2004 20:32:36 +0000 (20:32 +0000)]
much improved installation instructions, especially
for Debian GNU/Linux distributions

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@248 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agomoved hidra's global.conf into branch
Dobrica Pavlinusic [Mon, 8 Mar 2004 18:14:19 +0000 (18:14 +0000)]
moved hidra's global.conf into branch

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@246 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoremoved demo global.conf
Dobrica Pavlinusic [Mon, 8 Mar 2004 18:13:43 +0000 (18:13 +0000)]
removed demo global.conf

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@245 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agohidra's all2xml.conf moved into branch
Dobrica Pavlinusic [Mon, 8 Mar 2004 18:13:17 +0000 (18:13 +0000)]
hidra's all2xml.conf moved into branch

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@244 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agodeleted all2xml.conf which isn't for hidra
Dobrica Pavlinusic [Mon, 8 Mar 2004 18:12:43 +0000 (18:12 +0000)]
deleted all2xml.conf which isn't for hidra

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@243 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agocreating hidra branch of code
Dobrica Pavlinusic [Mon, 8 Mar 2004 18:07:37 +0000 (18:07 +0000)]
creating hidra branch of code

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@242 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoimplement close for perl OpenIsis bindings
Dobrica Pavlinusic [Mon, 8 Mar 2004 17:52:10 +0000 (17:52 +0000)]
implement close for perl OpenIsis bindings

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@240 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoincluding openisis 0.9.0 into webpac tree
Dobrica Pavlinusic [Mon, 8 Mar 2004 17:49:13 +0000 (17:49 +0000)]
including openisis 0.9.0 into webpac tree

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@239 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agopreparation for first file dump at sourceforge.net
Dobrica Pavlinusic [Sun, 7 Mar 2004 23:15:24 +0000 (23:15 +0000)]
preparation for first file dump at sourceforge.net

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@235 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoeval{...} now works for type="swish" also...
Dobrica Pavlinusic [Sun, 7 Mar 2004 22:51:14 +0000 (22:51 +0000)]
eval{...} now works for type="swish" also...

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@234 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agolookup_key and lookup_val types now support filters
Dobrica Pavlinusic [Fri, 5 Mar 2004 23:33:19 +0000 (23:33 +0000)]
lookup_key and lookup_val types now support filters

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@233 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agodump TDB file (e.g. lookup)
Dobrica Pavlinusic [Fri, 5 Mar 2004 23:18:30 +0000 (23:18 +0000)]
dump TDB file (e.g. lookup)

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@232 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoclear memory cache when opening new file lookup
Dobrica Pavlinusic [Fri, 5 Mar 2004 22:53:30 +0000 (22:53 +0000)]
clear memory cache when opening new file lookup

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@231 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoLot of changes and improvements:
Dobrica Pavlinusic [Wed, 25 Feb 2004 10:49:32 +0000 (10:49 +0000)]
Lot of changes and improvements:
- documentation at beginning of script
- use XML file for configuration (as opposed to hard-coded values in script)
- example XML configuration can be created with ./isis2marc.pl > config.xml
- supports unique and non-unique output depending on presence of <key>
  tag in configuration file

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@230 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agobrown-bag-bug-fix: writing MARC file just once (at end) will save a lot of time
Dobrica Pavlinusic [Mon, 23 Feb 2004 23:21:43 +0000 (23:21 +0000)]
brown-bag-bug-fix: writing MARC file just once (at end) will save a lot of time

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@229 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoscript which will select just some fields from CDS/ISIS database and insert
Dobrica Pavlinusic [Mon, 23 Feb 2004 23:17:17 +0000 (23:17 +0000)]
script which will select just some fields from CDS/ISIS database and insert
only unique values in MARC file (useful for creating ad-hoc authority file)

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@228 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoBeginning of documentation for debugging of changes in configuration
Dobrica Pavlinusic [Sun, 22 Feb 2004 23:31:00 +0000 (23:31 +0000)]
Beginning of documentation for debugging of changes in configuration
file. In short: what to do when WebPAC isn't behaving as you expected.

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@227 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoadded SQLite parametar sqlite_handle_binary_nulls
Dobrica Pavlinusic [Wed, 11 Feb 2004 08:33:51 +0000 (08:33 +0000)]
added SQLite parametar sqlite_handle_binary_nulls

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@226 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agodon't die if old table cannot be dropped
Dobrica Pavlinusic [Tue, 10 Feb 2004 10:20:50 +0000 (10:20 +0000)]
don't die if old table cannot be dropped

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@225 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoimportant bug fix for bug introduced in 1.57: it might eat your data
Dobrica Pavlinusic [Sun, 8 Feb 2004 20:16:54 +0000 (20:16 +0000)]
important bug fix for bug introduced in 1.57: it might eat your data
if you are not using filter. This one was hard do find...

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@224 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agofix
Dobrica Pavlinusic [Sun, 8 Feb 2004 15:49:44 +0000 (15:49 +0000)]
fix

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@223 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoDocumentation describing usage of lookups
Dobrica Pavlinusic [Sun, 8 Feb 2004 15:44:28 +0000 (15:44 +0000)]
Documentation describing usage of lookups

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@222 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agolinks using format
Dobrica Pavlinusic [Sun, 8 Feb 2004 15:15:54 +0000 (15:15 +0000)]
links using format

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@221 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoImportant note about SQLite and dbi_user settings (in nutshell: leave them
Dobrica Pavlinusic [Thu, 5 Feb 2004 11:04:03 +0000 (11:04 +0000)]
Important note about SQLite and dbi_user settings (in nutshell: leave them
blank)

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@220 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoDisplay total and unique count when dumping index data to tables
Dobrica Pavlinusic [Thu, 5 Feb 2004 10:56:55 +0000 (10:56 +0000)]
Display total and unique count when dumping index data to tables

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@219 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoChanged never userd format configuration option for import_xml to
Dobrica Pavlinusic [Thu, 5 Feb 2004 10:55:58 +0000 (10:55 +0000)]
Changed never userd format configuration option for import_xml to
marc_format to prevent clash with format for output. If you don't
specify it (as I never do) it will default to 'usmarc' which is probably
the right thing (tm).

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@218 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agobugfix and improvements:
Dobrica Pavlinusic [Sun, 1 Feb 2004 23:28:27 +0000 (23:28 +0000)]
bugfix and improvements:
- debug and quiet switches
- skip fields which are too short (just subfield without data)
- calculate directory address
- calculate base address in leader

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@217 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoinsert empty indicators -- that required to rebuild directory, so
Dobrica Pavlinusic [Sun, 1 Feb 2004 22:18:05 +0000 (22:18 +0000)]
insert empty indicators -- that required to rebuild directory, so
I'm also doing some sanity checks (on which programs that import
MARC files might fail later)

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@216 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agobrown-bag bug: I was using MARC.pm wrong: now whole file will be loaded
Dobrica Pavlinusic [Sun, 1 Feb 2004 22:06:00 +0000 (22:06 +0000)]
brown-bag bug: I was using MARC.pm wrong: now whole file will be loaded
at start of indexing, changing memory usage to much more step-like, but
that enables real progress indicator and few seconds gain in indexing
speed.

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@215 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agomore verbose output
Dobrica Pavlinusic [Sun, 1 Feb 2004 20:37:33 +0000 (20:37 +0000)]
more verbose output

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@210 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoI was using MARC.pm wrong. It duplicated records in output
Dobrica Pavlinusic [Sun, 1 Feb 2004 20:35:59 +0000 (20:35 +0000)]
I was using MARC.pm wrong. It duplicated records in output

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@209 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoScript which will read PhpMyLibrary (http://phpmylibrary.sourceforge.net/)
Dobrica Pavlinusic [Sun, 1 Feb 2004 15:57:17 +0000 (15:57 +0000)]
Script which will read PhpMyLibrary (phpmylibrary.sourceforge.net/)
database and dump MARC file for import in webpac

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@208 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agothesaurus is finally working... It contains recursive entries to parnet
Dobrica Pavlinusic [Sat, 31 Jan 2004 21:03:06 +0000 (21:03 +0000)]
thesaurus is finally working... It contains recursive entries to parnet
term, and we actually needed to display narrower terms, so mem_lookup was
created. Important changes:
- you can write eval{"901a" eq "Mikrotezaurus"} within <isis>
  tag and if expression evaluates to false, no content will be outputed
  (It's used to hide microtesarus terms from lover level descriptors)
- mem_lookup.pm now supports formats: you can write something like
  [a:5614];;[d:[a:5614]] and it will correctly embed values

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@207 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agothesaurus is finally working... It contains recursive entries to parnet
Dobrica Pavlinusic [Sat, 31 Jan 2004 21:03:06 +0000 (21:03 +0000)]
thesaurus is finally working... It contains recursive entries to parnet
term, and we actually needed to display narrower terms, so mem_lookup was
created. Important changes:
- you can write eval{"901a" eq "Mikrotezaurus"} within <isis>
  tag and if expression evaluates to false, no content will be outputed
  (It's used to hide microtesarus terms from lover level descriptors)
- mem_lookup.pm now supports formats: you can write something like
  [a:5614];;[d:[a:5614]] and it will correctly embed values

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@207 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoat close vacuum database if using PostgreSQL or SQLite
Dobrica Pavlinusic [Sat, 31 Jan 2004 20:57:48 +0000 (20:57 +0000)]
at close vacuum database if using PostgreSQL or SQLite

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@206 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agosupport for unrolling thesaurus entries which have data only about parent
Dobrica Pavlinusic [Sun, 18 Jan 2004 21:11:39 +0000 (21:11 +0000)]
support for unrolling thesaurus entries which have data only about parent
term, so that we can display child terms for each entry

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@205 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agosupport for unrolling thesaurus entries which have data only about parent
Dobrica Pavlinusic [Sun, 18 Jan 2004 21:11:39 +0000 (21:11 +0000)]
support for unrolling thesaurus entries which have data only about parent
term, so that we can display child terms for each entry

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@205 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoupdated according to specification
Dobrica Pavlinusic [Sun, 18 Jan 2004 16:24:41 +0000 (16:24 +0000)]
updated according to specification

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@204 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agogrammar fix
Dobrica Pavlinusic [Sun, 18 Jan 2004 16:23:56 +0000 (16:23 +0000)]
grammar fix

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@203 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoimplemented sort=1 variable to sort results by headline
Dobrica Pavlinusic [Sun, 18 Jan 2004 16:23:03 +0000 (16:23 +0000)]
implemented sort=1 variable to sort results by headline

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@202 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agochanged behaviour when searching index and no entry beginning with string is
Dobrica Pavlinusic [Sat, 17 Jan 2004 14:00:26 +0000 (14:00 +0000)]
changed behaviour when searching index and no entry beginning with string is
found: until now, it found first substring, and now it find substring from
beginning of word (it has to have space before it)

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@201 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoAdded missing changes to template for index results
Dobrica Pavlinusic [Sun, 11 Jan 2004 21:06:42 +0000 (21:06 +0000)]
Added missing changes to template for index results

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@200 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agofixed filter delimiter bug
Dobrica Pavlinusic [Wed, 7 Jan 2004 12:29:11 +0000 (12:29 +0000)]
fixed filter delimiter bug

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@199 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoImplement different interfaces to webpac (for books, articles etc, or in
Dobrica Pavlinusic [Sun, 21 Dec 2003 06:35:43 +0000 (06:35 +0000)]
Implement different interfaces to webpac (for books, articles etc, or in
different languages) easily: just add base_path with relative or
absolute URL to root of your webpac and you can then create multiple
aliases (using Alias directive in httpd.conf) which have same beginning
as base_path. Everything added after base_path will be added after filename
for templates, but before extension. Easy, eh?

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@198 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoChanged behaviour of creating data for swish_exact when using type="index".
Dobrica Pavlinusic [Sun, 21 Dec 2003 03:27:02 +0000 (03:27 +0000)]
Changed behaviour of creating data for swish_exact when using type="index".
Now every line is separate entry in swish_exact. That will create additional
clutter in index (fields which wouldn't be used because we are not insering
them in index), but you will have to bare with this for now.

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@197 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agocorrect support for swish_exact when there are repeatable fields
Dobrica Pavlinusic [Mon, 15 Dec 2003 00:12:16 +0000 (00:12 +0000)]
correct support for swish_exact when there are repeatable fields

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@196 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agodon't repeat field name if same as last, support format_name and
Dobrica Pavlinusic [Sun, 14 Dec 2003 20:50:03 +0000 (20:50 +0000)]
don't repeat field name if same as last, support format_name and
format_delimiter on field level if using iterate_by_page (without this, it's
really hard to get useful formating when using iterate_by_page), don't warn
on rare occasion (which is faulty import_xml definition, but anyway...) when
using append="1"

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@195 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agouse sqlite again
Dobrica Pavlinusic [Thu, 11 Dec 2003 19:08:32 +0000 (19:08 +0000)]
use sqlite again

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@194 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agocloser to specification
Dobrica Pavlinusic [Thu, 11 Dec 2003 18:42:40 +0000 (18:42 +0000)]
closer to specification

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@193 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agouse locale (important for sorting)
Dobrica Pavlinusic [Thu, 11 Dec 2003 18:00:57 +0000 (18:00 +0000)]
use locale (important for sorting)

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@192 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agodump content of gdbm file
Dobrica Pavlinusic [Sat, 29 Nov 2003 20:11:07 +0000 (20:11 +0000)]
dump content of gdbm file

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@191 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoexact matches can now specify to include (or not) wildcard at end. Added
Dobrica Pavlinusic [Sat, 29 Nov 2003 19:11:23 +0000 (19:11 +0000)]
exact matches can now specify to include (or not) wildcard at end. Added
also documentation about exact matching using swish-e

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@190 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agolocal changes specific to hida
Dobrica Pavlinusic [Sat, 29 Nov 2003 19:07:29 +0000 (19:07 +0000)]
local changes specific to hida

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@189 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoimplemented index_delimiter which enables to to format index entries in format
Dobrica Pavlinusic [Sat, 29 Nov 2003 19:07:00 +0000 (19:07 +0000)]
implemented index_delimiter which enables to to format index entries in format
(values to be inserted in index);;(values to be displayed) if there is
definition of index_delimiter=";;". This will allow you to index (and
search) through values from original database and still have ability to
display lookup fields.

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@188 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agosupport for subfields in fields 10/11
Dobrica Pavlinusic [Sat, 29 Nov 2003 18:58:34 +0000 (18:58 +0000)]
support for subfields in fields 10/11

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@187 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agotransfer swish_exact flash in form also, not only in URL
Dobrica Pavlinusic [Sat, 29 Nov 2003 18:40:19 +0000 (18:40 +0000)]
transfer swish_exact flash in form also, not only in URL

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@186 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agomoved documentation in doc directory
Dobrica Pavlinusic [Sat, 29 Nov 2003 18:38:02 +0000 (18:38 +0000)]
moved documentation in doc directory

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@185 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agohidra specific configuration files
Dobrica Pavlinusic [Sat, 29 Nov 2003 18:09:34 +0000 (18:09 +0000)]
hidra specific configuration files

git-svn-id: file:///home/dpavlin/private/svn/webpac/branches/hidra@184 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agofix for swish_exact
Dobrica Pavlinusic [Sat, 29 Nov 2003 17:51:12 +0000 (17:51 +0000)]
fix for swish_exact

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@183 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agomake index with lookup field working with iterate on page
Dobrica Pavlinusic [Sat, 29 Nov 2003 15:59:19 +0000 (15:59 +0000)]
make index with lookup field working with iterate on page

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@182 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agofix swish_exact fields so that they don't show up in display
Dobrica Pavlinusic [Tue, 25 Nov 2003 20:19:03 +0000 (20:19 +0000)]
fix swish_exact fields so that they don't show up in display

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@181 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoinvalidate memory cache when needed
Dobrica Pavlinusic [Tue, 25 Nov 2003 20:04:24 +0000 (20:04 +0000)]
invalidate memory cache when needed

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@180 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoscript which will create log of webpac memory and processor usage
Dobrica Pavlinusic [Tue, 25 Nov 2003 18:28:42 +0000 (18:28 +0000)]
script which will create log of webpac memory and processor usage

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@179 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agomajor improvements: you can select order of scanning in each topic tag
Dobrica Pavlinusic [Mon, 24 Nov 2003 21:54:19 +0000 (21:54 +0000)]
major improvements: you can select order of scanning in each topic tag
to be eather by line (which is default, repeatable fields in one line will
be unrolled) or page-by-page (using new interate_by_page="1" attribute).
New page-by-page mode is really useful with lookups (because you can
append fields with lookups in same line, but using two tags), but it will
create multiple rows in html output.

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@178 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agosupport for lookup fields. Implemented using GDBM or TDB (which I recommend
Dobrica Pavlinusic [Mon, 24 Nov 2003 01:19:15 +0000 (01:19 +0000)]
support for lookup fields. Implemented using GDBM or TDB (which I recommend
because it's fastest implementation)

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@177 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agofix for wierd prefixes (consisting of chars and numbers)
Dobrica Pavlinusic [Mon, 24 Nov 2003 01:16:04 +0000 (01:16 +0000)]
fix for wierd prefixes (consisting of chars and numbers)

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@176 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agofix path
Dobrica Pavlinusic [Sun, 23 Nov 2003 17:33:59 +0000 (17:33 +0000)]
fix path

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@175 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoradio buttons for exact search
Dobrica Pavlinusic [Sun, 23 Nov 2003 17:13:53 +0000 (17:13 +0000)]
radio buttons for exact search

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@174 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoremoved fixed width
Dobrica Pavlinusic [Sun, 23 Nov 2003 17:05:26 +0000 (17:05 +0000)]
removed fixed width

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@173 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoprofiling tests of cacheing of formats: improvements are close to 50%. Not
Dobrica Pavlinusic [Sun, 23 Nov 2003 17:04:34 +0000 (17:04 +0000)]
profiling tests of cacheing of formats: improvements are close to 50%. Not
bad for one evening of hacking...

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@172 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoconfiguration option for unac_filter
Dobrica Pavlinusic [Sun, 23 Nov 2003 16:45:39 +0000 (16:45 +0000)]
configuration option for unac_filter

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@171 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoRe-wrote parsing for ISO-type data (isis, marc) to use in-memory cache of
Dobrica Pavlinusic [Sun, 23 Nov 2003 15:42:16 +0000 (15:42 +0000)]
Re-wrote parsing for ISO-type data (isis, marc) to use in-memory cache of
format... 10% speed improvement and cleaner code. Include filter functions
just once.

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@170 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agodie with message if no field name is specified
Dobrica Pavlinusic [Sun, 23 Nov 2003 15:39:23 +0000 (15:39 +0000)]
die with message if no field name is specified

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@169 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoadded years filter for swish to support 1983- notation
Dobrica Pavlinusic [Sun, 23 Nov 2003 15:37:43 +0000 (15:37 +0000)]
added years filter for swish to support 1983- notation

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@168 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoadd prototype
Dobrica Pavlinusic [Sun, 23 Nov 2003 15:36:12 +0000 (15:36 +0000)]
add prototype

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@167 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoadded TODO for HIDRA
Dobrica Pavlinusic [Sun, 23 Nov 2003 15:06:54 +0000 (15:06 +0000)]
added TODO for HIDRA

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@166 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agorenamed files from HIDRA to contain _hidra_ in filename
Dobrica Pavlinusic [Sun, 23 Nov 2003 15:06:29 +0000 (15:06 +0000)]
renamed files from HIDRA to contain _hidra_ in filename

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@165 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoimplemented filter which can replace (or be used together with) unac_string
Dobrica Pavlinusic [Sat, 22 Nov 2003 22:04:05 +0000 (22:04 +0000)]
implemented filter which can replace (or be used together with) unac_string
from Text::Unaccent

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@164 13eb9ef6-21d5-0310-b721-a9d68796d827