new-version template
The email is sent whenever a new version is created on PageSeeder.
Email headers
This message sets the following headers by default:
Name | Value |
---|---|
Auto-Submitted | auto-generated |
Bcc | group members depending on their notification settings |
From | the author of the version, see From address |
Sender | pageseeder@emaildomain |
Subject | [group name] documenttitle version versionname |
Precedence | List |
List-Unsubscribe | <serverurl/ps/page/groupname/preferences/mygroups> |
List-Id | group 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 produces the following XML for the XSLT template:
<notification template="new-version" description="New version" announcement="false" emaildomain="ps.pageseeder.com" hosturl="https://ps.pageseeder.com" unsubscribetoken="sample-token"> <!-- The new version--> <version id="123" name="1.0" contentrole="Comment" created="2012-03-08T12:34:00+10:00"> <description>This is a document version</description> </version> <!-- the context document --> <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> <group id="3" name="acme-test" description="The ACME testing group" /> </notification>
Usual content
Following is a screenshot of the HTML email: