map_sitemapB

NAML documentation   Watch a video
   Usages of this macro
... in sitemap.naml
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<macro name="map_sitemapB" requires="url_mapper">  
    <n.regex
Binary
Namespace: BasicNamespace
Parameters: pattern, text, do
 text="[n.path
Binary
Namespace: UrlMapperNamespace
/]">  
        <pattern>  
            ^/sitemapB.txt$  
        </pattern>  
        <do>  
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.find
Binary
Namespace: RegexNamespace
>  
                <then>  
                    <n.set_parameter
Binary
Namespace: UrlMapperNamespace
Parameters: name, value
 name="macro" value="sitemapB_txt" />  
                    <n.exit
Binary
Namespace: BasicNamespace
/>  
                </then>  
            </n.if.find>  
        </do>  
    </n.regex>  
</macro>