Configuration

Configuration manual for PageSeeder

daily-digest template

The email is sent once a day to members of a group who have their notification option set to "daily digest" whenever there was activity in this group.

Email headers

This message sets the following headers by default:

NameValue
Auto-Submittedauto-generated
FromGroup, see From address
Subject[group name] Daily digest

XML

PageSeeder will produce the following XML for the XSLT template.:

<notification template="daily-digest"
           emaildomain="example.org" 
               hosturl="https://example.org">

  <!-- list of comments sent in 24-hour period-->
  <comments>
    <comment id="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>
    <comment id="124" 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 fragment="default">
        <uri id="456" scheme="http" host="www.my-host.com" port="80" path="/ps/acme/test/folder/file.psml" decodedpath="/ps/acme/test/folder/file.psml" external="false" mediatype="application/vnd.pageseeder.psml+xml" created="2012-01-18T17:22:00+10:00">
           <displaytitle>My document</displaytitle>
           <description>This document is for testing purposes</description>
           <labels>test,example</labels>
         </uri>
      </context>
      <attachment>
        <uri id="456" scheme="http" host="www.my-host.com" port="80" path="/ps/project/group/folder/file.psml" decodedpath="/ps/project/group/folder/file.psml" external="false" mediatype="application/vnd.pageseeder.psml+xml" created="2012-01-18T17:22:00+10:00">
          <displaytitle>My document</displaytitle>
          <description>This document is for testing purposes</description>
          <labels>test,example</labels>
        </uri>
      </attachment>
      <attachment>
        <uri id="457" scheme="http" host="www.my-host.com" port="80" path="/ps/project/group/folder/subfolder/image.png" decodedpath="/ps/project/group/folder/subfolder/image.png" external="false" mediatype="image/png" created="2012-01-18T17:35:00+10:00">
          <displaytitle>An image</displaytitle>
        </uri>
      </attachment>
    </comment>
    <comment id="125" contentrole="Comment" created="2012-03-08T12:34:00+10:00" status="Open" priority="High" duedate="2012-05-10T00:00: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>
      <assignedto id="15" firstname="Jack" surname="Johnson" email="jjohnson@email.com" username="jjohnson">
        <fullname>Jack Johnson</fullname>
      </assignedto>
      <content type="text/plain">Sesame opened the door</content>
      <context>
        <group id="3" name="acme-test"></group>
      </context>
    </comment>
  </comments>

  <!-- Group context -->
  <group id="3" name="acme-test"></group>

</notification>

Usual content

Below is a screenshot of the HTML email:

daily-digest.png

Created on , last edited on