Rev 6967 | Rev 7679 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6967 | Rev 7044 | ||
---|---|---|---|
Line 7... | Line 7... | ||
7 | !read search.common |
7 | !read search.common |
8 | !else |
8 | !else |
9 | scnt=0 |
9 | scnt=0 |
10 | !endif |
10 | !endif |
11 | # Limit of shown items |
11 | # Limit of shown items |
12 | gotlim= |
12 | gotlim=1000 |
13 | !distribute item 0,0,, into weight,gotcnt,gotm,gotw,lastmod |
13 | !distribute item 0,0,, into weight,gotcnt,gotm,gotw,lastmod |
14 | 14 | ||
15 | !for i=1 to $scnt |
15 | !for i=1 to $scnt |
16 | l_=!line $i of $sout |
16 | l_=!line $i of $sout |
17 | t_=!wordcnt $l_ |
17 | t_=!wordcnt $l_ |
Line 38... | Line 38... | ||
38 | gotw=$gotw $weight |
38 | gotw=$gotw $weight |
39 | !advance gotcnt |
39 | !advance gotcnt |
40 | !endif |
40 | !endif |
41 | 41 | ||
42 | gotm=!words2lines $gotm |
42 | gotm=!words2lines $gotm |
- | 43 | gotm=!line 1 to $gotlim2 of $gotm |
|
- | 44 | gotcnt=!linecnt $gotm |
|
- | 45 | ||
43 | translator_switch=leaveline |
46 | translator_switch=leaveline |
44 | dictionary=$basedir/title |
47 | dictionary=$basedir/title |
45 | gott=!exec translator $gotm |
48 | gott=!exec translator $gotm |
46 | dictionary=$basedir/description |
49 | dictionary=$basedir/description |
47 | gotd=!exec translator $gotm |
50 | gotd=!exec translator $gotm |