digest_text.naml

<override_macro name="digest_text" requires="subscription,node_list" unindent="true">
    <n.set_local_subscription.this_subscription/>
    <n.comment.>Increased quote length to 500 chars</n.comment.> 
    <t>Digest Email</t>
    "<n.local_subscription.node.subject/>"
    <n.digest_post_count/>

    <n.reset_list_index/>
    <n.loop.>
        [<n.current_node.digest_subject/>]
        <n.compress.>
           <n.truncate. size="500">
                <n.current_node.message.as_text/>
            </n.truncate.>
        </n.compress.>
        <n.compress.>
            <t>by <t.author.current_node.owner.name/></t>
            <t>on <t.date.current_node.when_created.custom_format format="yyyy-MM-dd"/></t>
            <t>in <t.location.current_node.get_app_node.subject/></t>
        </n.compress.>

        <t>Read more</t>
        <n.current_node.url/>

        <n.nop/>
    </n.loop.>
    <n.unsubscribe_line format="text"/>

    ---
    <t>DO NOT REPLY TO THIS EMAIL</t>

    <t>Replies sent to this address are not read or processed.</t>
    <t>If you want to respond to a post for which you received this email,
    please go to the website: <t.url.local_subscription.node.url/></t>
</override_macro>