sitemap_txt

NAML documentation   Watch a video
   Usages of this macro
... in sitemap.naml
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<macro name="sitemap_txt" unindent="true">  
    <n.text_response
Macro
Requires: servlet
/>  
    
    <n.root_node
Binary
Namespace: NabbleNamespace
Parameters: do
.descendant_apps_list
Binary
Namespace: NodeNamespace
Parameters: do
.>
        <n.loop
Macro
Requires: sequence
Parameters: by, do
.>
            <n.current_node
Binary
Namespace: NodeList
Parameters: do
.url
Macro
Requires: node
Parameters: template, date, index_record
/><n.crlf
Binary
Namespace: BasicNamespace
/>
        </n.loop.>
    </n.root_node.descendant_apps_list.>    
    
    <n.root_node
Binary
Namespace: NabbleNamespace
Parameters: do
.topics_list
Macro
Requires: node
Parameters: filter, start, length, sort, do
. start="0" length="50000" sort="last-node-date">
        <n.loop
Macro
Requires: sequence
Parameters: by, do
.>
            <n.base_url
Binary
Namespace: NabbleNamespace
/><n.current_node
Binary
Namespace: NodeList
Parameters: do
.topic_path
Macro
Requires: node
Parameters: view, index_record, selected_id
 view="[n.classic_view
Macro
/]"/><n.crlf
Binary
Namespace: BasicNamespace
/>
        </n.loop.>
    </n.root_node.topics_list.>
    
    <n.site_users
Binary
Namespace: NabbleNamespace
Parameters: filter, length, start, do
. start="0" length="10000">
        <n.loop
Macro
Requires: sequence
Parameters: by, do
.>
            <n.current_user
Binary
Namespace: UserList
Parameters: do
.url
Macro
Requires: user
Parameters: filter, index_record
/><n.crlf
Binary
Namespace: BasicNamespace
/>
        </n.loop.>
    </n.site_users.>     
</macro>