new-uri template
The email is sent whenever a new URL is created/modified or a Document is created/uploaded.
Email headers
This message sets the following headers by default:
Name | Value |
---|---|
Auto-Submitted | auto-generated |
From | The author of the url/document, see From address |
Sender | pageseeder@emaildomain |
Subject | [group name] URL created/modified: URL title or[group name] Document created/uploaded |
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-uri" description="Document creation" announcement="true" unsubscribetoken="sample-token" subject="[acme-test] Document created"> <message contentrole="File Creation" created="2012-03-08T12:34:00+10:00"> <title>Document created</title> <labels>surprising,story</labels> <author id="12" firstname="John" surname="Jones" email="jjones@example.org" username="jjones"> <fullname>John Jones</fullname> </author> <content type="text/plain">A new document has been created with the following description: This is my document </content> <content type="application/xhtml+xml"> <p>A new document has been created with the following description:</p> <p>This is my document</p> </content> <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 is my document</description> <labels>test,example</labels> </uri> </attachment> </message> <group id="3" name="acme-test" description="The ACME testing group"/> </notification>
Usual content
Following is a screenshot of the HTML email: