/[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

Diff of /trunk/WebPac.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 16 by dpavlin, Sat Feb 22 21:21:35 2003 UTC revision 35 by dpavlin, Sun Feb 23 15:47:40 2003 UTC
# Line 22  my $INDEX = '/data/webpac/index/isis.ind Line 22  my $INDEX = '/data/webpac/index/isis.ind
22  my $MAX_HITS = 500;  my $MAX_HITS = 500;
23  my $ON_PAGE = 10;  my $ON_PAGE = 10;
24    
25  Text::Iconv->raise_error(1);     # Conversion errors raise exceptions  Text::Iconv->raise_error(0);     # Conversion errors raise exceptions
26    
27  my $from_utf8 = Text::Iconv->new('UTF8', $CHARSET);  my $from_utf8 = Text::Iconv->new('UTF8', $CHARSET);
28    
# Line 109  sub show_results_list { Line 109  sub show_results_list {
109                          push @swish_results, {                          push @swish_results, {
110                                  nr => ($#swish_results + 2),                                  nr => ($#swish_results + 2),
111                                  path => $hit->swishdocpath,                                  path => $hit->swishdocpath,
112                                  headline => $from_utf8->convert($hit->headline),  #                               headline => $from_utf8->convert($hit->headline),
113                                  html => back2html($from_utf8->convert($hit->html)),  #                               html => back2html($from_utf8->convert($hit->html)),
114                                    headline => $hit->headline,
115                                    html => back2html($hit->html),
116                                  rank => $hit->swishrank };                                  rank => $hit->swishrank };
117    
118                  },                  },

Legend:
Removed from v.16  
changed lines
  Added in v.35

  ViewVC Help
Powered by ViewVC 1.1.26