webpac
14 years agoremove all accents from pager links master mjesec/master origin/trunk
Dobrica Pavlinusic [Mon, 25 May 2009 13:49:51 +0000 (13:49 +0000)]
remove all accents from pager links

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

15 years agomerge fix from trunk to all branches
Dobrica Pavlinusic [Mon, 6 Apr 2009 14:19:15 +0000 (14:19 +0000)]
merge fix from trunk to all branches

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

15 years agoswitch back to GDBM_File which is included in recent
Dobrica Pavlinusic [Sun, 3 Aug 2008 06:31:00 +0000 (06:31 +0000)]
switch back to GDBM_File which is included in recent
Debian, and TDB_File won't compile against tdb-dev

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

17 years agouse join_subfields_with from Biblio::Isis 0.23 to handle repeatable subfields
Dobrica Pavlinusic [Sun, 29 Oct 2006 16:34:25 +0000 (16:34 +0000)]
use join_subfields_with from Biblio::Isis 0.23 to handle repeatable subfields

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

17 years agoadded check for broken CDATA at beginning, fix also broken delimiters
Dobrica Pavlinusic [Tue, 6 Jun 2006 12:34:25 +0000 (12:34 +0000)]
added check for broken CDATA at beginning, fix also broken delimiters

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

18 years agofix mem_lookup with values which include characters which can be interpreted as regexes
Dobrica Pavlinusic [Wed, 24 May 2006 19:05:25 +0000 (19:05 +0000)]
fix mem_lookup with values which include characters which can be interpreted as regexes

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

18 years agostrip script name from self URL
Dobrica Pavlinusic [Wed, 24 May 2006 13:32:07 +0000 (13:32 +0000)]
strip script name from self URL

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

18 years agosupport distinct flag for field to show just unique values if field is
Dobrica Pavlinusic [Thu, 13 Apr 2006 19:44:51 +0000 (19:44 +0000)]
support distinct flag for field to show just unique values if field is
repeatable

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

18 years agofix start_row when using excel import
Dobrica Pavlinusic [Thu, 13 Apr 2006 19:35:19 +0000 (19:35 +0000)]
fix start_row when using excel import

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

18 years agofix transfer of multiple v42= fields when generating url_params (this
Dobrica Pavlinusic [Thu, 13 Apr 2006 19:31:43 +0000 (19:31 +0000)]
fix transfer of multiple v42= fields when generating url_params (this
occured when you tried to use checkboxes to select multiple items and then
click on title of result)

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

19 years agoImplemented persistent filter which can be used in index or search to
Dobrica Pavlinusic [Sat, 30 Apr 2005 15:46:03 +0000 (15:46 +0000)]
Implemented persistent filter which can be used in index or search to
specify database name to limit search to. Filter searches are presistant.

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

19 years agoWebPAC cgi will now set it's own locale (using configuration directive in
Dobrica Pavlinusic [Sun, 13 Mar 2005 02:00:35 +0000 (02:00 +0000)]
WebPAC cgi will now set it's own locale (using configuration directive in
global.conf)

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

19 years agobugfix for phrases (again): never assume entity name...
Dobrica Pavlinusic [Wed, 2 Mar 2005 16:48:03 +0000 (16:48 +0000)]
bugfix for phrases (again): never assume entity name...

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

19 years agophrase search fix: escape quotes in hidden variables
Dobrica Pavlinusic [Tue, 1 Mar 2005 19:30:55 +0000 (19:30 +0000)]
phrase search fix: escape quotes in hidden variables

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

19 years agotransfer filter variable in index to template (it can be useful)
Dobrica Pavlinusic [Tue, 1 Mar 2005 19:27:13 +0000 (19:27 +0000)]
transfer filter variable in index to template (it can be useful)

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

19 years agoadded import_xml_file and import_xml_tag into configuration file,
Dobrica Pavlinusic [Mon, 28 Feb 2005 10:01:34 +0000 (10:01 +0000)]
added import_xml_file and import_xml_tag into configuration file,
documentation for .dbf import

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

19 years agoExperimental support for dBase .dbf files. Usege like this in all2xml.conf:
Dobrica Pavlinusic [Sun, 27 Feb 2005 23:07:35 +0000 (23:07 +0000)]
Experimental support for dBase .dbf files. Usege like this in all2xml.conf:

[hda]
       dbf_file=/data/drustvene/hda/ISO.DBF
       type=dbf
       dbf_codepage=cp852
       dbf_mapping=<<_END_OF_MAP_
ID_BROJ                001
ISBN_BROJ      010
SKUPINA1       200
SKUPINA2       205
SKUPINA4       210
SKUPINA5       215
SKUPINA6       225
SKUPINA7       300
ANOTACIJA      330
PREDMET1       610
PREDMET2       610
PREDMET3       510
UDK            675
REDALICA       700
SIGNATURA      990
_END_OF_MAP_

dbf type will use <isis> tag in import_xml and dbf_codepage will
override codepage specified in import_xml file.

Small code refactoring.

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

19 years agofix phrase search ("something else")
Dobrica Pavlinusic [Thu, 24 Feb 2005 09:11:35 +0000 (09:11 +0000)]
fix phrase search ("something else")

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

19 years agoadded support for submit button "reset" which will reset form (you can't
Dobrica Pavlinusic [Mon, 21 Feb 2005 22:47:48 +0000 (22:47 +0000)]
added support for submit button "reset" which will reset form (you can't
really use type="reset" with persitant search variables enabled).

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

19 years agobugfix: re-enable HTML::FillInForm to create persistent search using
Dobrica Pavlinusic [Mon, 21 Feb 2005 22:21:53 +0000 (22:21 +0000)]
bugfix: re-enable HTML::FillInForm to create persistent search using
<TMPL_VAR NAME="SEARCH_HIDDEN"> in form which has just "back to search"
button. You can use this variable to dump persistant search variables
without rm (runmode of CGI::Application)

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

19 years agobugfix: check Isis database error in correct place
Dobrica Pavlinusic [Thu, 17 Feb 2005 18:11:57 +0000 (18:11 +0000)]
bugfix: check Isis database error in correct place

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

19 years agobugfix: now database names are always transfered to filtering function
Dobrica Pavlinusic [Thu, 17 Feb 2005 18:08:14 +0000 (18:08 +0000)]
bugfix: now database names are always transfered to filtering function
(previously it work with Isis databases)

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

19 years agobe more forgiving to changes in results templates
Dobrica Pavlinusic [Wed, 16 Feb 2005 00:26:37 +0000 (00:26 +0000)]
be more forgiving to changes in results templates

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

19 years agofilter to checked documents
Dobrica Pavlinusic [Tue, 15 Feb 2005 22:22:24 +0000 (22:22 +0000)]
filter to checked documents

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

19 years agoadded sort by any combination of swish-e fields which are defined by
Dobrica Pavlinusic [Tue, 15 Feb 2005 21:48:16 +0000 (21:48 +0000)]
added sort by any combination of swish-e fields which are defined by
PropertyNames in swish_isis.conf. This allowed adition of links which show
search results sorted by time, author and title then author or autor than
titme combination.

Any combination of fields for sorting can be specified (separated by spaces),
with optional asc(ending) or desc(ending) order.

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

19 years agoreport error and don't die
Dobrica Pavlinusic [Mon, 31 Jan 2005 12:08:35 +0000 (12:08 +0000)]
report error and don't die

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

19 years agodon't show 0 in pager if no results are found
Dobrica Pavlinusic [Fri, 28 Jan 2005 16:58:30 +0000 (16:58 +0000)]
don't show 0 in pager if no results are found

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

19 years agoSQLite fixes: rename index table to data (index is reserved word),
Dobrica Pavlinusic [Thu, 27 Jan 2005 20:25:27 +0000 (20:25 +0000)]
SQLite fixes: rename index table to data (index is reserved word),
SQLite doesn't allow placeholders in limit and offset, see:
http://thread.gmane.org/gmane.comp.db.sqlite.general/9707

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

19 years agobugfixes and improvements: skip MARC databases that can't be opened,
Dobrica Pavlinusic [Thu, 27 Jan 2005 20:23:36 +0000 (20:23 +0000)]
bugfixes and improvements: skip MARC databases that can't be opened,
fix progress bar on MARC databases (so that it finish on 100%),
minor pod update

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

19 years agouse SQLite again
Dobrica Pavlinusic [Thu, 27 Jan 2005 18:06:56 +0000 (18:06 +0000)]
use SQLite again

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

19 years agodon't die if ISIS database is not found, just go to next one
Dobrica Pavlinusic [Thu, 27 Jan 2005 17:55:09 +0000 (17:55 +0000)]
don't die if ISIS database is not found, just go to next one

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

19 years agoupdated development from production
Dobrica Pavlinusic [Mon, 24 Jan 2005 15:32:55 +0000 (15:32 +0000)]
updated development from production

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

19 years agoadd filtering to index (using parameter filter, for now single)
Dobrica Pavlinusic [Sun, 23 Jan 2005 15:18:03 +0000 (15:18 +0000)]
add filtering to index (using parameter filter, for now single)

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

19 years agorenamed tag to finger to avoid confusion (I tried to exmplain why I use term
Dobrica Pavlinusic [Sun, 23 Jan 2005 14:31:02 +0000 (14:31 +0000)]
renamed tag to finger to avoid confusion (I tried to exmplain why I use term
tag and failed -- it too similar to tags used in import_xml)

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

19 years agoNew implementation of indexes: now it uses only two tables (index for all
Dobrica Pavlinusic [Sun, 23 Jan 2005 02:02:10 +0000 (02:02 +0000)]
New implementation of indexes: now it uses only two tables (index for all
data and tags for all tags). Currently, it doesn't enforce relation between
them on RDBMS level (I have to test this code against SQLite and MySQL
before enforcing that).
Removed swish-e output while indexing, database is used as default tag to
enable filtering by database (there isn't possiblity to set tag to something
else yet!). Output usage count in index.

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

19 years agoAll-wrong-and-ugly solution to using exact match variables which are
Dobrica Pavlinusic [Wed, 19 Jan 2005 22:34:31 +0000 (22:34 +0000)]
All-wrong-and-ugly solution to using exact match variables which are
persistent: it's not supported any more. However, until we have real
separation of variables comming from user, via format and/or from links
(right now, they are all using f/v) this problem can't be fixed right.
Much nicer error mesages ("Software error") instead of "Internal Server Error".

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

19 years agodon't add unneeded delimiter
Dobrica Pavlinusic [Wed, 19 Jan 2005 22:29:54 +0000 (22:29 +0000)]
don't add unneeded delimiter

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

19 years agoImplemented persist_search hidden variable in forms which can specify
Dobrica Pavlinusic [Tue, 18 Jan 2005 17:07:14 +0000 (17:07 +0000)]
Implemented persist_search hidden variable in forms which can specify
(multiple) number of variables which should be persistent after user
specified them in form (useful for language for example). Values are
separated by comma (,). Some cleanup and warning removal.

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

19 years agouse Bibio::Isis istead of IsisDB (same module, but name is changed for CPAN
Dobrica Pavlinusic [Sun, 16 Jan 2005 18:35:24 +0000 (18:35 +0000)]
use Bibio::Isis istead of IsisDB (same module, but name is changed for CPAN
upload)

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

19 years agocorrect support for accented letters entered as html entities in input data.
Dobrica Pavlinusic [Sun, 16 Jan 2005 18:29:24 +0000 (18:29 +0000)]
correct support for accented letters entered as html entities in input data.

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

19 years agoyet another progress bar fix
Dobrica Pavlinusic [Sun, 2 Jan 2005 22:09:01 +0000 (22:09 +0000)]
yet another progress bar fix

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

19 years agofix for progress bar (don't fake slowdown)
Dobrica Pavlinusic [Sun, 2 Jan 2005 00:53:33 +0000 (00:53 +0000)]
fix for progress bar (don't fake slowdown)

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

19 years agocleanup and documentation updates
Dobrica Pavlinusic [Sat, 1 Jan 2005 19:09:53 +0000 (19:09 +0000)]
cleanup and documentation updates

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

19 years agouse IsisDB module instead of OpenIsis -- this will fix various problems in
Dobrica Pavlinusic [Sat, 1 Jan 2005 19:01:55 +0000 (19:01 +0000)]
use IsisDB module instead of OpenIsis -- this will fix various problems in
index generation becasue IsisDB doesn't have problems as OpenIsis perl
bindings does.

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

19 years agosmall tool to compare to files which are produced for swish-e -S prog
Dobrica Pavlinusic [Sat, 1 Jan 2005 18:35:23 +0000 (18:35 +0000)]
small tool to compare to files which are produced for swish-e -S prog

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

19 years agouse newer MARC::File::USMARC instead of MARC
Dobrica Pavlinusic [Sat, 1 Jan 2005 18:16:21 +0000 (18:16 +0000)]
use newer MARC::File::USMARC instead of MARC

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

19 years agoupgrade from MARC to MARC::File::USMARC, take MFN from data
Dobrica Pavlinusic [Sat, 1 Jan 2005 18:15:40 +0000 (18:15 +0000)]
upgrade from MARC to MARC::File::USMARC, take MFN from data
M    dump_marc.pl

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

19 years agonew nicer progress bar (back-ported from v2)
Dobrica Pavlinusic [Fri, 31 Dec 2004 03:35:43 +0000 (03:35 +0000)]
new nicer progress bar (back-ported from v2)

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

19 years agodesign changes (and translation to Croatian)
Dobrica Pavlinusic [Fri, 31 Dec 2004 03:35:27 +0000 (03:35 +0000)]
design changes (and translation to Croatian)

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

19 years agoimprovement: path limit in URL works without full result display
Dobrica Pavlinusic [Wed, 8 Dec 2004 18:24:24 +0000 (18:24 +0000)]
improvement: path limit in URL works without full result display

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

19 years agofix repeatable field names which have non 7-bit ascii characters
Dobrica Pavlinusic [Wed, 8 Dec 2004 18:23:25 +0000 (18:23 +0000)]
fix repeatable field names which have non 7-bit ascii characters

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

19 years agochanges to support UTF-8 encoding from
Dobrica Pavlinusic [Wed, 29 Sep 2004 17:22:24 +0000 (17:22 +0000)]
changes to support UTF-8 encoding from
SpreadSheet::ParseExcel::FmtDefault.

You will have to modify line 69 from
return pack('C*', unpack('n*', $sTxt));
to following which returns utf-8:
return pack('U*', unpack('n*', $sTxt));

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

19 years agobug fix when transfering fields with multiple values (e.g. checkboxes) to
Dobrica Pavlinusic [Tue, 21 Sep 2004 16:40:46 +0000 (16:40 +0000)]
bug fix when transfering fields with multiple values (e.g. checkboxes) to
pager (hidden fields that is)

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

19 years agobetter check if table exists (so that DBD::SQLite upgrade won't break)
Dobrica Pavlinusic [Fri, 27 Aug 2004 17:21:00 +0000 (17:21 +0000)]
better check if table exists (so that DBD::SQLite upgrade won't break)

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

19 years agodon't be greedy when trying to find end of eval{...}
Dobrica Pavlinusic [Wed, 7 Jul 2004 20:58:58 +0000 (20:58 +0000)]
don't be greedy when trying to find end of eval{...}
This enables inserting { } into field after eval

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

19 years agofixed direct memory lookup, workaround for strange
Dobrica Pavlinusic [Wed, 7 Jul 2004 20:51:37 +0000 (20:51 +0000)]
fixed direct memory lookup, workaround for strange
bug when requested output is scalar; it will ignore
first element which works but is not totally correct

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

19 years agoif field in eval isn't repeatable use first value,
Dobrica Pavlinusic [Wed, 7 Jul 2004 17:34:42 +0000 (17:34 +0000)]
if field in eval isn't repeatable use first value,
return eval errors

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

19 years agocreate missing lookup files
Dobrica Pavlinusic [Wed, 7 Jul 2004 09:55:45 +0000 (09:55 +0000)]
create missing lookup files

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

19 years agoback-ported unlimited recursive mem_lookup from webpac v2.
Dobrica Pavlinusic [Tue, 15 Jun 2004 22:14:41 +0000 (22:14 +0000)]
back-ported unlimited recursive mem_lookup from webpac v2.
Now you can say something like [[[900]]] and it will produce
tripple lookup (as opposed to double which was maximum in old
version).

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

19 years agoremoved template
Dobrica Pavlinusic [Tue, 15 Jun 2004 22:08:42 +0000 (22:08 +0000)]
removed template

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

19 years agoset enviroment variables LC_COLLATE and LC_CTYPE (needed by SQLite to
Dobrica Pavlinusic [Sun, 13 Jun 2004 12:47:07 +0000 (12:47 +0000)]
set enviroment variables LC_COLLATE and LC_CTYPE (needed by SQLite to
convert charset to upper characters correctly)

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

19 years agofixed parsing for science direct html with more than one <a href=> per one <tr>
Dobrica Pavlinusic [Thu, 10 Jun 2004 22:05:38 +0000 (22:05 +0000)]
fixed parsing for science direct html with more than one <a href=> per one <tr>
support to force input file (if you uncomment filename in script)

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

19 years agosave MFN as field 001
Dobrica Pavlinusic [Thu, 10 Jun 2004 19:20:05 +0000 (19:20 +0000)]
save MFN as field 001

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

20 years agoprint warning if type is not handled (probably a typo)
Dobrica Pavlinusic [Tue, 18 May 2004 18:15:19 +0000 (18:15 +0000)]
print warning if type is not handled (probably a typo)

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

20 years agovarious fixes
Dobrica Pavlinusic [Sun, 16 May 2004 22:12:02 +0000 (22:12 +0000)]
various fixes

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

20 years agodon't die on field which can't be parsed (just print warning), corrected
Dobrica Pavlinusic [Sat, 15 May 2004 20:54:40 +0000 (20:54 +0000)]
don't die on field which can't be parsed (just print warning), corrected
subfield order for field 210

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

20 years agocommand line parametars are now working (xml files are at end, so that shell
Dobrica Pavlinusic [Sat, 15 May 2004 19:52:01 +0000 (19:52 +0000)]
command line parametars are now working (xml files are at end, so that shell
glob will work), misc improvements

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

20 years agofirst really working version: support single and repeating fields correctly,
Dobrica Pavlinusic [Sat, 15 May 2004 18:54:41 +0000 (18:54 +0000)]
first really working version: support single and repeating fields correctly,
output encodings implemented, support for indicators

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

20 years agofixes, cleanups, you know: on the way to usable version
Dobrica Pavlinusic [Fri, 14 May 2004 17:22:39 +0000 (17:22 +0000)]
fixes, cleanups, you know: on the way to usable version

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

20 years agofirst try at converting MODS XML records back to MARC
Dobrica Pavlinusic [Fri, 14 May 2004 16:38:22 +0000 (16:38 +0000)]
first try at converting MODS XML records back to MARC

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

20 years agofix of a fix (case)
Dobrica Pavlinusic [Sun, 18 Apr 2004 02:15:16 +0000 (02:15 +0000)]
fix of a fix (case)

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

20 years agoimplement my_unac_string function, and my_unac_filter option in global.conf
Dobrica Pavlinusic [Sun, 18 Apr 2004 00:57:39 +0000 (00:57 +0000)]
implement my_unac_string function, and my_unac_filter option in global.conf
which you *REALLY* want to use if you don't have only clean 7-bit characters
in your data

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

20 years agofix CROASCII (B1.002:1982) filter
Dobrica Pavlinusic [Sun, 18 Apr 2004 00:50:13 +0000 (00:50 +0000)]
fix CROASCII (B1.002:1982) filter

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

20 years agomake distribution from SubVersion repository
Dobrica Pavlinusic [Sat, 17 Apr 2004 23:22:32 +0000 (23:22 +0000)]
make distribution from SubVersion repository

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

20 years agoMajor change:
Dobrica Pavlinusic [Sat, 17 Apr 2004 20:40:28 +0000 (20:40 +0000)]
Major change:

I no longer user HTML::Pager, SWISH and SWISH::Fork modules,
but SWISH::API (new interface to swish 2.4.x, which is required) and own
implementation of pager.

That saves round-trips of all results from swish-e to memory and to
HTML::Pager so this produces also significant speedup when result set is
large (tipically if you entered just a letter or two with huge number of
records).

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

20 years agobug fix: support for working from root of virtual host
Dobrica Pavlinusic [Sun, 4 Apr 2004 22:09:57 +0000 (22:09 +0000)]
bug fix: support for working from root of virtual host

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

20 years agoeven more detail explanation
Dobrica Pavlinusic [Sun, 4 Apr 2004 21:04:47 +0000 (21:04 +0000)]
even more detail explanation

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

20 years agoexplanation of bit-masks with examples
Dobrica Pavlinusic [Sun, 4 Apr 2004 20:48:56 +0000 (20:48 +0000)]
explanation of bit-masks with examples

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

20 years agoYou can now specify configuration file as command-line option, and
Dobrica Pavlinusic [Fri, 2 Apr 2004 23:31:25 +0000 (23:31 +0000)]
You can now specify configuration file as command-line option, and
if you don't do that, it will use default one called all2xml.conf

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

20 years agoremoved unneeded warning
Dobrica Pavlinusic [Fri, 2 Apr 2004 23:30:44 +0000 (23:30 +0000)]
removed unneeded warning

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

20 years agobug fix: eval now honours codepage settings
Dobrica Pavlinusic [Mon, 29 Mar 2004 19:41:12 +0000 (19:41 +0000)]
bug fix: eval now honours codepage settings

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

20 years agodelimiter and append now works as expected
Dobrica Pavlinusic [Sun, 14 Mar 2004 20:19:42 +0000 (20:19 +0000)]
delimiter and append now works as expected

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

20 years agofix
Dobrica Pavlinusic [Sun, 14 Mar 2004 19:50:13 +0000 (19:50 +0000)]
fix

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@287 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/trunk@286 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agopreserve other attributes
Dobrica Pavlinusic [Sun, 14 Mar 2004 19:43:51 +0000 (19:43 +0000)]
preserve other attributes

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

20 years agoconverted delimiters to new format
Dobrica Pavlinusic [Sun, 14 Mar 2004 18:04:52 +0000 (18:04 +0000)]
converted delimiters to new format

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

20 years agoscript to convert delimiters
Dobrica Pavlinusic [Sun, 14 Mar 2004 17:16:21 +0000 (17:16 +0000)]
script to convert delimiters

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

20 years agoImplemented new form of delimiters like this:
Dobrica Pavlinusic [Sun, 14 Mar 2004 14:59:43 +0000 (14:59 +0000)]
Implemented new form of delimiters like this:

<tag>
<delimiter>, </delimiter>
<value>200a</value>
</tag>

which is equivavelnt to following old mark-up:

<tag delimiter=", ">200a</tag>

but, it won't loose spaces in attribute values (which
are invalid by XML specification and XML::Simple removes
them so WebPac never get them)

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

20 years agomoved tests in own directory, added test to demonstrate XML::Simple feature
Dobrica Pavlinusic [Sun, 14 Mar 2004 12:37:14 +0000 (12:37 +0000)]
moved tests in own directory, added test to demonstrate XML::Simple feature
to remove spaces from begin and end attribute value (which is wrong for
delimiters as WebPAC uses them)

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

20 years agoported 269:272 from hidra
Dobrica Pavlinusic [Sun, 14 Mar 2004 12:06:51 +0000 (12:06 +0000)]
ported 269:272 from hidra

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

20 years ago<config> tags (which use values from all2xml.conf) are now properly handled
Dobrica Pavlinusic [Sun, 14 Mar 2004 11:50:29 +0000 (11:50 +0000)]
<config> tags (which use values from all2xml.conf) are now properly handled
if there is more than one in same swish tag. However, to use <config
type="index"> is useless IMHO, and <config type="index_lookup"> is not
implemented.

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

20 years ago"show details" now work corretly when not on first page
Dobrica Pavlinusic [Sat, 13 Mar 2004 17:46:47 +0000 (17:46 +0000)]
"show details" now work corretly when not on first page

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

20 years agoported r260 from hidra branch: moved eval to parse_format.pm where it
Dobrica Pavlinusic [Fri, 12 Mar 2004 15:06:58 +0000 (15:06 +0000)]
ported r260 from hidra branch: 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/trunk@263 13eb9ef6-21d5-0310-b721-a9d68796d827

20 years agoported 257:258 from hidra branch
Dobrica Pavlinusic [Thu, 11 Mar 2004 18:23:59 +0000 (18:23 +0000)]
ported 257:258 from hidra branch
all2xml.pl - fix for swish without filter
openisis/perl/OpenIsis.pm - removed warning

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

20 years agoported r254 from hidra branch
Dobrica Pavlinusic [Tue, 9 Mar 2004 12:18:17 +0000 (12:18 +0000)]
ported r254 from hidra branch

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

20 years agoported r248:252 from hidra branch:
Dobrica Pavlinusic [Tue, 9 Mar 2004 12:17:05 +0000 (12:17 +0000)]
ported r248:252 from hidra branch:

r248: much improved installation instructions, especially for Debian
      GNU/Linux distributions
r249: changed use of Spreadsheet::ParseExcel and MARC to require/import so
      that dependency on those modules can be resolved in runtime.
r250: finished installation documentation
r251: removing dependency on HTML::Parser would ease installation
r252: smaller eval{} fiexes. eval{} logic should really move to
      parse_format.pm

git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@255 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