... | in url_mapper.naml |
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
|
<macro name="map_atom_feeds" requires="url_mapper">
<n.regex Binary Namespace: BasicNamespace
Parameters:
pattern, text, do
♦ ♦ Binary Namespace: UrlMapperNamespace
♦ ♦
<pattern>
-f(t)?(\d+)(n(\d+))?.xml$
</pattern>
<do>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: RegexNamespace
♦ ♦
<then>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Macro Requires: regex
Parameters:
group
♦ ♦
<then.set_parameter Binary Namespace: UrlMapperNamespace
Parameters:
name, value
♦ ♦
<else.set_parameter Binary Namespace: UrlMapperNamespace
Parameters:
name, value
♦ ♦
</n.if.did_find>
<n.set_parameter_to_found Macro Requires: url_mapper, regex
Parameters:
name, group
♦ ♦
<n.set_parameter_if_found Macro Requires: url_mapper, regex
Parameters:
name, group
♦ ♦
<n.exit Binary Namespace: BasicNamespace
♦ ♦
</then>
</n.if.find>
</do>
</n.regex>
</macro>
|
Free forum by Nabble | Edit this page |