Goal
Define the locations of the sources used in a template and a ‘lastModified’ date to determine if they should be downloaded again.
Example
For Trivire this would look like:
<sources>
<source name="16-116 Trivire Folder A4 alternatieve_voor_achterzijde.pdf" src="https://download.com/16-116 Trivire Folder A4 alternatieve_voor_achterzijde.pdf" lastModified="2020-01-06T09:00:00" />
<source name="16-116 Trivire Folder A4 v5.pdf" src="https://download.com/16-116 Trivire Folder A4 v5.pdf" lastModified="2020-01-06T09:00:00" />
<source name="Helvetica.ttf" src="https://download.com/Helvetica.ttf" lastModified="2020-01-06T09:00:00" />
<source name="Helvetica.ttf" src="https://download.com/Helvetica-Bold.ttf" lastModified="2020-01-06T09:00:00" />
<source name="Helvetica-LightOblique.ttf" src="https://download.com/Helvetica-LightOblique.ttf" lastModified="2020-01-06T09:00:00" />
<source name="Helvetica-Light.ttf" src="https://download.com/Helvetica-Light.ttf" lastModified="2020-01-06T09:00:00" />
<source name="Helvetica-Obliqu.ttf" src="https://download.com/Helvetica-Obliqu.ttf" lastModified="2020-01-06T09:00:00" />
</sources>
Implementation
| attribute | values | description |
|---|---|---|
| name | name | name of the source as used in the template: src attribut in font-face, file attribute in page-source |
| src | url | source url for downloading |
| lastModified | date/time | date/time last modified |