Mercurial Hosting > nabble
diff src/nabble/modules/naml/pedxing.naml @ 0:7ecd1a4ef557
add content
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 21 Mar 2019 19:15:52 -0600 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/nabble/modules/naml/pedxing.naml Thu Mar 21 19:15:52 2019 -0600 @@ -0,0 +1,20 @@ +<!-- http://forums.landertalk.com/ --> + +<macro name="atom_topics_by_popularity" requires="servlet" unindent="true"> + <n.node_page.> + <n.page_node.as_atom_feeds.> + <n.page_node.topics_list. + start="0" + length="10" + sort="popularity" + filter="[n.atom_topics_by_popularity_filter/]" + > + <n.loop.current_node.as_atom_entry/> + </n.page_node.topics_list.> + </n.page_node.as_atom_feeds.> + </n.node_page.> +</macro> + +<macro name="atom_topics_by_popularity_filter"> + <n.page_node.date_range_filter from_date="[n.get_parameter name='from_date'/]" to_date="[n.get_parameter name='to_date'/]"/> +</macro>