Configuration

Configuration manual for PageSeeder

new-comment template

The email is sent whenever a new comment is posted on PageSeeder.

Email headers

This message sets the following headers by default:

NameValue
Auto-Submittedauto-generated
BccGroup members depending on their notification settings
FromThe author or modifier of the comment, see From address
Senderpageseeder@emaildomain
Reply-To

uriid-locator@emaildomain
or
xlinkid-reply@emaildomain

Subject[group name] comment title
Message-ID<xlinkid.comment@emaildomain>
PrecedenceList
List-Unsubscribe<serverurl/ps/page/groupname/preferences/mygroups>
List-Idgroup description <groupname.serverhost>
List-Help<serverurl/ps/page/groupname/home>
List-Post<serverurl/ps/page/groupname/comment/new>
List-Archive<serverurl/ps/page/groupname/comments>

 

XML

PageSeeder will produce the following XML for the XSLT template:

<notification template="new-comment"
              announcement="false"
              taskchanged="false"
              modified="false"
              emaildomain="example.org"
              hosturl="https://example.org"
              unsubscribetoken="sample-token">

  <!-- The new comment -->
  <comment id="123" discussionid="123" contentrole="Comment" created="2012-03-08T12:34:00+10:00">
    <title>Cavern stolen!</title>
    <author id="12" firstname="John" surname="Jones" email="jjones@email.com" username="jjones">
      <fullname>John Jones</fullname>
    </author>
    <content type="text/plain">Sesame opened the door</content>
    <context>
      <group id="3" name="acme-test"></group>
    </context>
  </comment>

  <group id="3" name="acme-test" description="The ACME testing group"></group>

</notification>

Usual content

Below is a screenshot of the HTML email:

new-comment.png

Created on , last edited on