as_atom_feeds

NAML documentation   Watch a video
   Usages of this macro
... in feeds.naml
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<macro name="as_atom_feeds" dot_parameter="do" requires="node">
<n.use_html_encoder
Binary
Namespace: BasicNamespace
Parameters: text
.>
<![CDATA[<?xml version="1.0" encoding="utf-8"?>]]>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0">
    <n.xml_response
Macro
Requires: servlet
/>
    <id>tag:<n.server_name
Binary
Namespace: RequestNamespace
/>,2006:forum-<n.id
Binary
Namespace: NodeNamespace
/></id>
    <title>Nabble - <n.subject
Macro
Requires: node
/></title>
    <updated><n.now
Binary
Namespace: BasicNamespace
Parameters: do
.as_atom_date_format
Macro
Requires: date
/></updated>
    <link rel="self" type="application/atom+xml" href="[n.current_url
Binary
Namespace: RequestNamespace
/]" />
    <link rel="alternate" type="text/html" href="[n.url
Macro
Requires: node
Parameters: template, date, index_record
/]" />
    <subtitle type="html"><n.encode
Binary
Namespace: BasicNamespace
Parameters: text
.message
Binary
Namespace: NodeNamespace
Parameters: do
.message_as_html
Macro
Requires: message
/></subtitle>
    <n.do/>
</feed>
</n.use_html_encoder.>
</macro>