/[webpac]/trunk/WebPac.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Log of /trunk/WebPac.pm

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 688 - (view) (annotate) - [select for diffs]
Modified Wed Mar 2 16:48:03 2005 UTC (19 years, 1 month ago) by dpavlin
File length: 13499 byte(s)
Diff to previous 686 , to selected 304
bugfix for phrases (again): never assume entity name...


Revision 686 - (view) (annotate) - [select for diffs]
Modified Tue Mar 1 19:30:55 2005 UTC (19 years, 1 month ago) by dpavlin
File length: 13500 byte(s)
Diff to previous 685 , to selected 304
phrase search fix: escape quotes in hidden variables


Revision 685 - (view) (annotate) - [select for diffs]
Modified Tue Mar 1 19:27:13 2005 UTC (19 years, 1 month ago) by dpavlin
File length: 13474 byte(s)
Diff to previous 677 , to selected 304
transfer filter variable in index to template (it can be useful)


Revision 677 - (view) (annotate) - [select for diffs]
Modified Thu Feb 24 09:11:35 2005 UTC (19 years, 1 month ago) by dpavlin
File length: 13441 byte(s)
Diff to previous 676 , to selected 304
fix phrase search ("something else")


Revision 676 - (view) (annotate) - [select for diffs]
Modified Mon Feb 21 22:47:48 2005 UTC (19 years, 1 month ago) by dpavlin
File length: 13375 byte(s)
Diff to previous 675 , to selected 304
added support for submit button "reset" which will reset form (you can't
really use type="reset" with persitant search variables enabled).


Revision 675 - (view) (annotate) - [select for diffs]
Modified Mon Feb 21 22:21:53 2005 UTC (19 years, 1 month ago) by dpavlin
File length: 13269 byte(s)
Diff to previous 670 , to selected 304
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)


Revision 670 - (view) (annotate) - [select for diffs]
Modified Wed Feb 16 00:26:37 2005 UTC (19 years, 1 month ago) by dpavlin
File length: 13097 byte(s)
Diff to previous 660 , to selected 304
be more forgiving to changes in results templates


Revision 660 - (view) (annotate) - [select for diffs]
Modified Tue Feb 15 22:22:24 2005 UTC (19 years, 1 month ago) by dpavlin
File length: 13049 byte(s)
Diff to previous 659 , to selected 304
filter to checked documents


Revision 659 - (view) (annotate) - [select for diffs]
Modified Tue Feb 15 21:48:16 2005 UTC (19 years, 1 month ago) by dpavlin
File length: 12924 byte(s)
Diff to previous 657 , to selected 304
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.


Revision 657 - (view) (annotate) - [select for diffs]
Modified Mon Jan 31 12:08:35 2005 UTC (19 years, 2 months ago) by dpavlin
File length: 12809 byte(s)
Diff to previous 656 , to selected 304
report error and don't die


Revision 656 - (view) (annotate) - [select for diffs]
Modified Fri Jan 28 16:58:30 2005 UTC (19 years, 2 months ago) by dpavlin
File length: 12677 byte(s)
Diff to previous 643 , to selected 304
don't show 0 in pager if no results are found


Revision 643 - (view) (annotate) - [select for diffs]
Modified Sun Jan 23 15:18:03 2005 UTC (19 years, 2 months ago) by dpavlin
File length: 12676 byte(s)
Diff to previous 642 , to selected 304
add filtering to index (using parameter filter, for now single)


Revision 642 - (view) (annotate) - [select for diffs]
Modified Sun Jan 23 14:31:02 2005 UTC (19 years, 2 months ago) by dpavlin
File length: 12614 byte(s)
Diff to previous 641 , to selected 304
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)


Revision 641 - (view) (annotate) - [select for diffs]
Modified Sun Jan 23 02:02:10 2005 UTC (19 years, 2 months ago) by dpavlin
File length: 12611 byte(s)
Diff to previous 639 , to selected 304
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.


Revision 639 - (view) (annotate) - [select for diffs]
Modified Wed Jan 19 22:34:31 2005 UTC (19 years, 2 months ago) by dpavlin
File length: 12613 byte(s)
Diff to previous 636 , to selected 304
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".


Revision 636 - (view) (annotate) - [select for diffs]
Modified Tue Jan 18 17:07:14 2005 UTC (19 years, 2 months ago) by dpavlin
File length: 12558 byte(s)
Diff to previous 600 , to selected 304
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.


Revision 600 - (view) (annotate) - [select for diffs]
Modified Wed Dec 8 18:24:24 2004 UTC (19 years, 3 months ago) by dpavlin
File length: 11692 byte(s)
Diff to previous 457 , to selected 304
improvement: path limit in URL works without full result display


Revision 457 - (view) (annotate) - [select for diffs]
Modified Tue Sep 21 16:40:46 2004 UTC (19 years, 6 months ago) by dpavlin
File length: 11765 byte(s)
Diff to previous 320 , to selected 304
bug fix when transfering fields with multiple values (e.g. checkboxes) to
pager (hidden fields that is)


Revision 320 - (view) (annotate) - [select for diffs]
Modified Sun Apr 18 00:57:39 2004 UTC (19 years, 11 months ago) by dpavlin
File length: 11733 byte(s)
Diff to previous 304
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


Revision 304 - (view) (annotate) - [selected]
Modified Sat Apr 17 20:40:28 2004 UTC (19 years, 11 months ago) by dpavlin
File length: 11635 byte(s)
Diff to previous 302
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).


Revision 302 - (view) (annotate) - [select for diffs]
Modified Sun Apr 4 22:09:57 2004 UTC (19 years, 11 months ago) by dpavlin
File length: 9368 byte(s)
Diff to previous 202 , to selected 304
bug fix: support for working from root of virtual host


Revision 202 - (view) (annotate) - [select for diffs]
Modified Sun Jan 18 16:23:03 2004 UTC (20 years, 2 months ago) by dpavlin
File length: 9213 byte(s)
Diff to previous 198 , to selected 304
implemented sort=1 variable to sort results by headline


Revision 198 - (view) (annotate) - [select for diffs]
Modified Sun Dec 21 06:35:43 2003 UTC (20 years, 3 months ago) by dpavlin
File length: 9083 byte(s)
Diff to previous 190 , to selected 304
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?


Revision 190 - (view) (annotate) - [select for diffs]
Modified Sat Nov 29 19:11:23 2003 UTC (20 years, 4 months ago) by dpavlin
File length: 8040 byte(s)
Diff to previous 186 , to selected 304
exact matches can now specify to include (or not) wildcard at end. Added
also documentation about exact matching using swish-e


Revision 186 - (view) (annotate) - [select for diffs]
Modified Sat Nov 29 18:40:19 2003 UTC (20 years, 4 months ago) by dpavlin
File length: 8001 byte(s)
Diff to previous 183 , to selected 304
transfer swish_exact flash in form also, not only in URL


Revision 183 - (view) (annotate) - [select for diffs]
Modified Sat Nov 29 17:51:12 2003 UTC (20 years, 4 months ago) by dpavlin
File length: 7950 byte(s)
Diff to previous 164 , to selected 304
fix for swish_exact


Revision 164 - (view) (annotate) - [select for diffs]
Modified Sat Nov 22 22:04:05 2003 UTC (20 years, 4 months ago) by dpavlin
File length: 7902 byte(s)
Diff to previous 163 , to selected 304
implemented filter which can replace (or be used together with) unac_string
from Text::Unaccent


Revision 163 - (view) (annotate) - [select for diffs]
Modified Thu Nov 20 21:23:40 2003 UTC (20 years, 4 months ago) by dpavlin
File length: 7797 byte(s)
Diff to previous 158 , to selected 304
Added type="swish_exact" to save data into swish index with boundaries
xxbxx data xxexxx. This is helpful to implement exact match from beginning
of query and exact match to full query which are defined using e[nr] field
in web user interface (with same [nr] as f[nr] and v[nr] fields) which
have to have value 1 (from beginning) 2 (from end, not that useful...) or
3 (1+2 - exact match)


Revision 158 - (view) (annotate) - [select for diffs]
Modified Mon Nov 17 21:18:37 2003 UTC (20 years, 4 months ago) by dpavlin
File length: 7341 byte(s)
Diff to previous 150 , to selected 304
fixed transfer of variables with multiple values in headline


Revision 150 - (view) (annotate) - [select for diffs]
Modified Sun Nov 16 22:39:06 2003 UTC (20 years, 4 months ago) by dpavlin
File length: 7314 byte(s)
Diff to previous 149 , to selected 304
support for "f" and "v" fields without number on which wildcards don't apply


Revision 149 - (view) (annotate) - [select for diffs]
Modified Sun Nov 16 16:57:11 2003 UTC (20 years, 4 months ago) by dpavlin
File length: 7175 byte(s)
Diff to previous 147 , to selected 304
display full record without path specified (used for linking)


Revision 147 - (view) (annotate) - [select for diffs]
Modified Sun Nov 16 16:14:37 2003 UTC (20 years, 4 months ago) by dpavlin
File length: 7072 byte(s)
Diff to previous 140 , to selected 304
Implementation of master template: just create template html file in
public_html and insert ##webpac## where you want output of webpac.
Then define template to full path to that template, and you are ready to go.


Revision 140 - (view) (annotate) - [select for diffs]
Modified Thu Oct 30 00:10:09 2003 UTC (20 years, 5 months ago) by dpavlin
File length: 6650 byte(s)
Diff to previous 128 , to selected 304
fix for total number of entries from index if using filter, renamed
check function to count and added limit


Revision 128 - (view) (annotate) - [select for diffs]
Modified Thu Sep 4 14:57:02 2003 UTC (20 years, 6 months ago) by dpavlin
File length: 6650 byte(s)
Diff to previous 126 , to selected 304
use index_DBI_cache.pm (non-cache version is depriciated)


Revision 126 - (view) (annotate) - [select for diffs]
Modified Thu Sep 4 13:47:36 2003 UTC (20 years, 6 months ago) by dpavlin
File length: 6644 byte(s)
Diff to previous 124 , to selected 304
added links from result headline to details, CSS style to make headline links
and links in index non-underlined


Revision 124 - (view) (annotate) - [select for diffs]
Modified Wed Sep 3 23:07:21 2003 UTC (20 years, 6 months ago) by dpavlin
File length: 6369 byte(s)
Diff to previous 122 , to selected 304
links from index back to search


Revision 122 - (view) (annotate) - [select for diffs]
Modified Wed Sep 3 20:08:26 2003 UTC (20 years, 6 months ago) by dpavlin
File length: 6351 byte(s)
Diff to previous 121 , to selected 304
don't add wildcards only to full words and, or, not (part of swish-e quiery
language)


Revision 121 - (view) (annotate) - [select for diffs]
Modified Tue Sep 2 21:31:54 2003 UTC (20 years, 6 months ago) by dpavlin
File length: 6343 byte(s)
Diff to previous 120 , to selected 304
don't report error if user didn't selected any result and clicked on
details. However, there is still bug: it will reset pager to first page.
I will have to re-write pager without JavaScript to fix this.


Revision 120 - (view) (annotate) - [select for diffs]
Modified Tue Sep 2 13:24:33 2003 UTC (20 years, 6 months ago) by dpavlin
File length: 6309 byte(s)
Diff to previous 114 , to selected 304
added minimum numbers of characters for wildcard * to kick in for swish


Revision 114 - (view) (annotate) - [select for diffs]
Modified Wed Jul 16 15:49:56 2003 UTC (20 years, 8 months ago) by dpavlin
File length: 6132 byte(s)
Diff to previous 112 , to selected 304
don't generate all html for headline results, lot of html fixes


Revision 112 - (view) (annotate) - [select for diffs]
Modified Tue Jul 15 15:07:42 2003 UTC (20 years, 8 months ago) by dpavlin
File length: 5996 byte(s)
Diff to previous 111 , to selected 304
fix: dynamicly create perasistent variables


Revision 111 - (view) (annotate) - [select for diffs]
Modified Tue Jul 15 12:48:49 2003 UTC (20 years, 8 months ago) by dpavlin
File length: 6037 byte(s)
Diff to previous 80 , to selected 304
fix pager bug when you have selected items


Revision 80 - (view) (annotate) - [select for diffs]
Modified Tue Jul 8 08:24:13 2003 UTC (20 years, 8 months ago) by dpavlin
File length: 6011 byte(s)
Diff to previous 76 , to selected 304
fixed bugs with < and > in headline


Revision 76 - (view) (annotate) - [select for diffs]
Modified Sat Jul 5 23:07:47 2003 UTC (20 years, 8 months ago) by dpavlin
File length: 5899 byte(s)
Diff to previous 73 , to selected 304
move configuration options in global.conf


Revision 73 - (view) (annotate) - [select for diffs]
Modified Sat Jul 5 22:31:46 2003 UTC (20 years, 8 months ago) by dpavlin
File length: 5642 byte(s)
Diff to previous 71 , to selected 304
- support multi-value fields (e.g. for checkboxes)
- remove accented characters before feeding swish


Revision 71 - (view) (annotate) - [select for diffs]
Modified Sat Jul 5 21:35:44 2003 UTC (20 years, 8 months ago) by dpavlin
File length: 5304 byte(s)
Diff to previous 63 , to selected 304
more fields and slight speedup


Revision 63 - (view) (annotate) - [select for diffs]
Modified Fri Jul 4 20:37:04 2003 UTC (20 years, 8 months ago) by dpavlin
File length: 5304 byte(s)
Diff to previous 53 , to selected 304
removed maximum number of results


Revision 53 - (view) (annotate) - [select for diffs]
Modified Sun Jun 1 18:49:49 2003 UTC (20 years, 10 months ago) by dpavlin
File length: 5306 byte(s)
Diff to previous 51 , to selected 304
moved configuration (database part) to global.conf, added
and, or and not operators


Revision 51 - (view) (annotate) - [select for diffs]
Modified Sun Jun 1 15:33:08 2003 UTC (20 years, 10 months ago) by dpavlin
File length: 4925 byte(s)
Diff to previous 47 , to selected 304
display details and back doesn't reset page to 1


Revision 47 - (view) (annotate) - [select for diffs]
Modified Sun Mar 23 01:17:49 2003 UTC (21 years ago) by dpavlin
File length: 4788 byte(s)
Diff to previous 41 , to selected 304
show just hits or all details buttons on result page


Revision 41 - (view) (annotate) - [select for diffs]
Modified Sat Mar 15 21:34:36 2003 UTC (21 years ago) by dpavlin
File length: 4539 byte(s)
Diff to previous 35 , to selected 304
decode output from swish


Revision 35 - (view) (annotate) - [select for diffs]
Modified Sun Feb 23 15:47:40 2003 UTC (21 years, 1 month ago) by dpavlin
File length: 4608 byte(s)
Diff to previous 30 , to selected 304
last changes; completly broken charsets


Revision 30 - (view) (annotate) - [select for diffs]
Modified Sun Feb 23 07:09:11 2003 UTC (21 years, 1 month ago) by dpavlin
File length: 4539 byte(s)
Diff to previous 16 , to selected 304
misc updates


Revision 16 - (view) (annotate) - [select for diffs]
Modified Sat Feb 22 21:21:35 2003 UTC (21 years, 1 month ago) by dpavlin
File length: 4539 byte(s)
Diff to previous 14 , to selected 304
allows users to enter queries with asterisk (*)


Revision 14 - (view) (annotate) - [select for diffs]
Modified Sat Feb 22 13:22:09 2003 UTC (21 years, 1 month ago) by dpavlin
File length: 4392 byte(s)
Diff to previous 13 , to selected 304
use Text::Iconv for conversions


Revision 13 - (view) (annotate) - [select for diffs]
Modified Sun Feb 16 22:41:37 2003 UTC (21 years, 1 month ago) by dpavlin
File length: 4373 byte(s)
Diff to previous 12 , to selected 304
added configuration file with database descriptions,
moved isis.xml definition file in separate directory (in preparation for MARK),
support for different encodings in different files,
various fixes, improvements and badly written parts which will change ;-)


Revision 12 - (view) (annotate) - [select for diffs]
Modified Wed Jan 22 22:27:19 2003 UTC (21 years, 2 months ago) by dpavlin
File length: 4343 byte(s)
Diff to previous 11 , to selected 304
added pager for lookup in index


Revision 11 - (view) (annotate) - [select for diffs]
Modified Wed Jan 22 20:24:32 2003 UTC (21 years, 2 months ago) by dpavlin
File length: 4026 byte(s)
Diff to previous 10 , to selected 304
display index (without pager for now)


Revision 10 - (view) (annotate) - [select for diffs]
Modified Thu Jan 16 17:35:54 2003 UTC (21 years, 2 months ago) by dpavlin
File length: 3596 byte(s)
Diff to previous 9 , to selected 304
bunch of changes: make design more modular, implement index (partial
implementation) and other small and big changes


Revision 9 - (view) (annotate) - [select for diffs]
Modified Sat Jan 11 19:55:30 2003 UTC (21 years, 2 months ago) by dpavlin
File length: 3666 byte(s)
Diff to previous 7 , to selected 304
renamed "old" index to swish, and introduced index which is -- index;
implemented using PostgreSQL for now.


Revision 7 - (view) (annotate) - [select for diffs]
Added Sat Jan 11 16:44:03 2003 UTC (21 years, 2 months ago) by dpavlin
File length: 3361 byte(s)
Diff to selected 304
major modifications to produce first (non-working) version of Web CGI
interface.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26