This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:otml [2025/02/27 11:01] – bk | en:otml [2025/10/30 16:24] (current) – [Preheader] fw | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== How do I develop | + | ====== How to develop |
| - | The following document provides technical information for the development of email templates for promio.connect. | + | The following document provides technical information for the development of e-mail |
| ===== General information ===== | ===== General information ===== | ||
| - | * Special characters must use XML-conform entities: | + | * Special characters must use XML conform entities: |
| * ''& | * ''& | ||
| * ''& | * ''& | ||
| Line 13: | Line 13: | ||
| * ''& | * ''& | ||
| * ''& | * ''& | ||
| - | * for all other entities, you have to use decimal syntax; e.g., use ''&# | + | * for all other entities you have to use decimal syntax; e.g.: use ''&# |
| - | * UTF-8 4-byte characters are not supported at the moment. You can check the byte length with several tools, e.g., [[http:// | + | * UTF-8 4-byte characters are not supported at the moment. You can check the byte length with several tools, e.g. [[http:// |
| * The length of lines in the source code **must not exceed 700 characters**. | * The length of lines in the source code **must not exceed 700 characters**. | ||
| Line 35: | Line 35: | ||
| ===== OTML ===== | ===== OTML ===== | ||
| - | OTML is an extension of the HTML standard, specifically created for usage in promio.connect' | + | OTML is an extension of the HTML standard, specifically created for usage in promio.connect' |
| - | Because of this, an understanding | + | Because of this, an undestanding |
| - | OTML serves the cause to make designated parts of an email editable. The global structure of the email will not be affected. | + | OTML serves the cause to make designated parts of an e-mail |
| - | At first, the email developer creates the email as usual. After this is done, all intended parts can be made editable with the usage of OTML. | + | At first, the e-mail |
| The OTML elements are separated into two namespaces: '' | The OTML elements are separated into two namespaces: '' | ||
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| + | |||
| ==== Editable Title ==== | ==== Editable Title ==== | ||
| - | If you want the user to be able to edit the title of the mail, add the attribute '' | + | If you want the user to be able to edit the title of the mail, add the attribute '' |
| === Example === | === Example === | ||
| Line 72: | Line 74: | ||
| A repeater element defines an area of repeating blocks and **must contain one or more ''< | A repeater element defines an area of repeating blocks and **must contain one or more ''< | ||
| - | added to the email by the user via a selection list. | + | added to the e-mail |
| The repeater element can hold one or more ''< | The repeater element can hold one or more ''< | ||
| Line 78: | Line 80: | ||
| ^ Attribute ^ Type ^ Required ^ Description | ^ Attribute ^ Type ^ Required ^ Description | ||
| - | | title | string | No | Title of the repeater. This is useful if you use more than one repeater in your template. | | + | | title | string | No | Title of the repeater. This is useful, if you use more than one repeater in your template. | |
| Line 119: | Line 121: | ||
| A layout is represented by the OTML tag ''< | A layout is represented by the OTML tag ''< | ||
| - | A layout element contains a template, which can be added to the email. It's a sub-element of the ''< | + | A layout element contains a template, which can be added to the e-mail. It's a sub-element of the ''< |
| added multiple times. | added multiple times. | ||
| Line 145: | Line 147: | ||
| - | ==== Repeater content | + | ==== Repeatercontent |
| - | A repeater content | + | A repeatercontent |
| - | The repeater content | + | The repeatercontent |
| - | It's a sub-element of the ''< | + | It's a sub-element of the ''< |
| to pre-fill a ''< | to pre-fill a ''< | ||
| Line 184: | Line 186: | ||
| A preheader is represented by the OTML tag ''< | A preheader is represented by the OTML tag ''< | ||
| - | A preheader is the preview text which is shown beneath the sender in most email clients. | + | A preheader is the preview text which is shown beneath the sender in most e-mail |
| - | During the build process of the email, the content of the preheader element will be put directly after the ''< | + | During the build process of the e-mail, the content of the preheader element will be put directly after the ''< |
| tracking pixels provided by promio.connect will be embedded after the preheader. This way, there is no HTML source code visible to the | tracking pixels provided by promio.connect will be embedded after the preheader. This way, there is no HTML source code visible to the | ||
| end-user. | end-user. | ||
| Line 192: | Line 194: | ||
| < | < | ||
| </ | </ | ||
| - | |||
| Line 433: | Line 434: | ||
| ^ Attribute | ^ Attribute | ||
| - | | text | Text that is visible in the email | | + | | text | Text that is visible in the e-mail |
| | summary | | summary | ||
| | organizerName | | organizerName | ||
| - | | organizerEmail | Email of the appointments organizer | + | | organizerEmail | E-mail |
| | dateTimeStart | | dateTimeStart | ||
| | dateTimeEnd | | dateTimeEnd | ||
| Line 496: | Line 497: | ||
| ==== External data sources ==== | ==== External data sources ==== | ||
| - | External data sources make it possible to embed content from RSS feeds into an email. | + | External data sources make it possible to embed content from RSS feeds into an e-mail. |
| The setup of external data sources is individually realized by promio.net GmbH. If you are interested in the usage, please contact our support team via ticket. | The setup of external data sources is individually realized by promio.net GmbH. If you are interested in the usage, please contact our support team via ticket. | ||
| Line 518: | Line 519: | ||
| A source item is represented by the OTML tag ''< | A source item is represented by the OTML tag ''< | ||
| - | It serves as the connection between the email and the setup data source. | + | It serves as the connection between the e-mail |
| ^ Attribute | ^ Attribute | ||
| Line 528: | Line 529: | ||
| ^ Value ^ Description | ^ Value ^ Description | ||
| - | | build | Refresh data source on build of the email. | | + | | build | Refresh data source on build of the e-mail. | |
| | delivery | Refresh data source before sending the campaign. | | | delivery | Refresh data source before sending the campaign. | | ||
| Line 658: | Line 659: | ||
| - | == Rendered | + | == Rendered |
| <code html> | <code html> | ||
| Line 757: | Line 758: | ||
| ==== External content ==== | ==== External content ==== | ||
| - | '' | + | '' |
| - | It is also possible to use this tag in the subject of an email. | + | It is also possible to use this tag in the subject of an e-mail. |
| ^ Attribute ^ Type ^ Required ^ Description ^ | ^ Attribute ^ Type ^ Required ^ Description ^ | ||
| Line 767: | Line 768: | ||
| === Example === | === Example === | ||
| - | As content of an email: | + | As content of an e-mail: |
| <code html> | <code html> | ||
| < | < | ||
| Line 838: | Line 839: | ||
| With the help of placeholders, | With the help of placeholders, | ||
| - | You can access each user data field if you place a '' | + | You can access each user data field, if you place a '' |
| - | A list of all universally | + | A list of all universal |
| - | If custom placeholders are requried please contact our support team via ticket. | + | If custom placeholders are requried, please contact our support team via ticket. |
| === Example === | === Example === | ||
| - | '' | + | '' |
| If no gender is given, it will fall back to "Dear Sir or Madam," | If no gender is given, it will fall back to "Dear Sir or Madam," | ||
| Line 890: | Line 891: | ||
| ==== Config Tags ==== | ==== Config Tags ==== | ||
| - | Config tags make it possible to control the behaviour of the email editor. | + | Config tags make it possible to control the behaviour of the e-mail |
| ^ Attribute | ^ Attribute | ||
| Line 988: | Line 989: | ||
| ^ Value ^ Description ^ | ^ Value ^ Description ^ | ||
| - | |frame | + | |frame |
| - | |shadow | Save the contents from a shadow copy of the email. This assures that the email' | + | |shadow | Save the contents from a shadow copy of the e-mail. This assures that the e-mails |