feeds

NAML documentation   Watch a video
   Usages of this macro
... in feeds.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<macro name="feeds" requires="servlet">
    <n.node_page
Macro
Requires: servlet
Parameters: do
.>
        <n.html
Macro
Parameters: head, body
>
            <head>
                <n.title
Macro
Parameters: text
.><t>Atom feeds for <t.location.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.subject
Macro
Requires: node
/></t></n.title.>
            </head>
            <body>
                <h1><t>Atom feeds for <t.location.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.subject
Macro
Requires: node
/></t></h1>
                <div style="margin-top:1.5em">
                    <div class="big-title second-font">
                        <img src="/images/feeds.png" width="16" height="16" align="absmiddle" alt="feeds"/>
                        <t>Topics only</t>
                    </div>
                    <a href="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.feeds_topics_path
Macro
Requires: node
/]"><n.base_url
Binary
Namespace: NabbleNamespace
/><n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.feeds_topics_path
Macro
Requires: node
/></a>
                </div>
                <div style="margin-top:1.5em">
                    <div class="big-title second-font">
                        <img src="/images/feeds.png" width="16" height="16" align="absmiddle" alt="feeds"/>
                        <t>Topics and replies</t>
                    </div>
                    <a href="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.feeds_posts_path
Macro
Requires: node
/]"><n.base_url
Binary
Namespace: NabbleNamespace
/><n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.feeds_posts_path
Macro
Requires: node
/></a>
                </div>
            </body>
        </n.html>
    </n.node_page.>
</macro>