178 |
|
|
179 |
# strip all non word characters from beginning or end |
# strip all non word characters from beginning or end |
180 |
# of word |
# of word |
181 |
my $words = join(" ",@{$ds->{'swish'}}); |
my $words = unac(join(" ",@{$ds->{'swish'}})); |
182 |
$words =~ s/^\W+//; |
$words =~ s/^\W+//; |
183 |
$words =~ s/\W*\s+\W*/ /g; |
$words =~ s/\W*\s+\W*/ /g; |
184 |
$words =~ s/\W+$//; |
$words =~ s/\W+$//; |
195 |
#path => $f, |
#path => $f, |
196 |
path => $webpac->mfn, |
path => $webpac->mfn, |
197 |
headline => $h, |
headline => $h, |
198 |
words => unac($words), |
words => $words, |
199 |
); |
); |
200 |
} |
} |
201 |
|
|
276 |
return(9, $l->{"a:$code:"} ) if (defined($l->{"a:$code:"})); |
return(9, $l->{"a:$code:"} ) if (defined($l->{"a:$code:"})); |
277 |
}, |
}, |
278 |
style => 'display: none', |
style => 'display: none', |
279 |
|
iframe => 1, |
280 |
},{ |
},{ |
281 |
# 1 |
# 1 |
282 |
code_arr => sub { @{$_[0]} }, |
code_arr => sub { @{$_[0]} }, |
286 |
lookup_mfn => sub { shift @{$l->{"900_mfn:".$_[0]}} }, |
lookup_mfn => sub { shift @{$l->{"900_mfn:".$_[0]}} }, |
287 |
have_children => sub { return $l->{"a:".$_[1].":"} }, |
have_children => sub { return $l->{"a:".$_[1].":"} }, |
288 |
style => 'display: none', |
style => 'display: none', |
|
iframe => 1, |
|
289 |
},{ |
},{ |
290 |
# 2 |
# 2 |
291 |
code_arr => sub { @{$_[0]} }, |
code_arr => sub { @{$_[0]} }, |