/[webpac2]/trunk/conf/lookup/isis.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

Annotation of /trunk/conf/lookup/isis.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (hide annotations)
Sat Jul 16 12:37:18 2005 UTC (18 years, 10 months ago) by dpavlin
File size: 923 byte(s)
more work on lookups, example configuration layout

1 dpavlin 4 =pod
2    
3     =head1 NAME
4    
5     WebPAC lookup file definition
6    
7     =cut
8    
9     @lookup = (
10     { 'key' => 'd:v900', 'val' => 'filter{CROVOC_tree}v250^a v800' },
11     # { 'eval' => '"v901^a" eq "Podruèje"', 'key' => 'pa:v561^4:v562^4:v461^1', 'val' => 'v900' },
12     # { 'eval '=> '"v901^a" eq "Mikrotezaurus"', 'key' => 'a:v561^4:v562^4:v461^1', 'val' => 'v900' },
13     # { 'eval' => '"v901^a" eq "Deskriptor"', 'key' => 'a:v561^4:v562^4:v461^1', 'val' => 'v900' },
14     { 'key' => 'a:v561^4:v562^4:v461^1', 'val' => 'v900' },
15     { 'key' => '900_mfn:v900', 'val' => 'v000' },
16     # tree structure
17     { 'eval' => 'length("v251") == 2 && "v800" =~ m/EUROVOC/ || "v800" =~ m/CROVOC/ && "v251" =~ m/^(H|HD|L|Z|P)$/', 'key' => 'root:v251', 'val' => 'v900' },
18     { 'eval' => '"v251"', 'key' => 'code:v900', 'val' => 'v561^4:v251' },
19     { 'eval' => '"v561^4" && "v562^4"', 'key' => 'code:v900', 'val' => 'v561^4:v562^4' },
20     { 'key' => 'crovoc:v900', 'val' => 'filter{CROVOC}v800' },
21     );

  ViewVC Help
Powered by ViewVC 1.1.26