search_path

NAML documentation   Watch a video
   Usages of this macro
... in spam_searcher.naml
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<macro name="search_path"
 
parameters="query,author,starrer,days,index_record,sort"
 
requires="node, searcher_tool">
    <n.encode_url
Macro
Parameters: text
.remove_spaces
Macro
Parameters: text
.>
        /template/NamlServlet.jtp?macro=searcher&node=<n.id
Binary
Namespace: NodeNamespace
/>
        <n.add_to_path
Macro
Parameters: name, default_value, value
 name="query" value="[n.query/]" />
        <n.add_to_path
Macro
Parameters: name, default_value, value
 name="author" value="[n.author/]" />
        <n.add_to_path
Macro
Parameters: name, default_value, value
 name="starrer" value="[n.starrer/]" />
        <n.add_to_path
Macro
Parameters: name, default_value, value
 name="days" value="[n.days/]" />
        <n.add_to_path
Macro
Parameters: name, default_value, value
 name="i" value="[n.index_record/]"
        
        default_value="0" />
        <n.add_to_path
Macro
Parameters: name, default_value, value
 name="sort" value="[n.sort/]"
        
        default_value="relevance" />
    </n.encode_url.remove_spaces.>
</macro>