XML interface
BACKCLICK has the possibility, to structured Content and control information from external system, for example Contentmanagementsystemen or process automation systems. As a data exchange format it is used XML.
Duties, function and applications of the XML interface
The BACKCLICK XML interface can be used for two different kinds of tasks:
Transferring of structured Content to BACKCLICK for spend this within newsletters as sorted lists. These lists exist of single records, the BACKCLICK as XML files must be made available. Thus, for example, the newest sports news which is delivered by XML within a newsletter can be dispatched considering the interests of every single subscriber. Control of the production and dispatch of newsletters to be able to provide complete HTML newsletters or text newsletters of external system help of special XML attributes and even to dispatch them.
Funktions of the XML interface:
All XML files which are pushed by external systems must be filed at BACKCLICK in the list ~/XMLImport. These files can be filed as FTP, NFS, SMB or some else. Which variation you use remains to you. For the import the central controlling process the MCP is responsible. Sould be a Controll file are in included for the production of the newsletters, the MCP creates one and dispatches them also if the dispatch date is put on NOW or in the past. Should the XML files contain no control functions, the structured data are filed as records in the BACKCLICK database. You are able to do the contents of this data bank in the administration surface inside of Campaign - Management ->; Content records can be seen and deleted when required. Editing isnt included here
Use of the XML interface:
The following text is about how you generate and dispatch this by email as a newsletter from imported XML data structured lists. In addition own computer language (GIS-API) is used in BACKCLICK. This computer language is treated on the basis of examples in detail. Also the possibility is described to put on entire newsletters without use of the administration surface by XML and to dispatch. The following chapter uses automatic compensations of user-defined key words by certain contents occur, for the start we explain this function which is called GIS-SUBSTITUTIONS.
GIS-SUBSTITUTIONS
Within the newsletters which you write, the text segments which recur seem absolutely over and over again. To simplify the insertion of these text segments, the functionality GIS-SUBSTITUTIONS was inserted. This function substitutes for certain expressions with other expressions or text blocks which u defined. In the menu System administration->; configuration menu you find the function 'Substitutions - manager'. If you call the function by clicking on the -button, you will find here an overview of key words which are substituted with certain contents with the construction and mailing of newsletters. Now you have the possibility to extend, edit, look or delete the Keywords. If you click on the button, a new input field in which you insert the expression to be substituted (key word) on the left side and on the right side the contents to be substituted. By a click on you finish the allocation. However, you can not only substitute for expressions or automate linking. The main advantage of GIS-SUBSTITUTIONS is that you can make available complicated GIS_API instructions (the integrated computer language of BACKCLICK) to every editor. GIS_API allows an entire automation of the contents of your newsletters. The contents coming from any sources which must be entered in the form of XML files in the BACKCLICK system in the list ~/XMLImport can be automatically read with the help of GIS_API instructions, and be given sorted and formatted. Anhand eines Beispiels wird nun erklärt, wie Sie Newsletter automatisch erstellen und versenden können. With the help of an example it is explained how the Newsletter is getting created and dispatched.
XML interface - controll creation and the dispatch of the newsletter
With the help of the following XML attributes in the tax file XML to be transmitted in BACKCLICK the dispatch of a newsletter is steered. The XML file must be filed in the list ~/XMLImport. You can infer from the example illustrated below as such a XML file is based.
In the following the XML attributes are getting more described:
NEWSLETTER-NO
Here a number is given between 1 and N which specifies the number of the newsletter distributor list to which the newsletter should be dispatched.
NEWSLETTER-SUBJECT
Here the reference line of the newsletter is given. They can also use personalization arrays like $$ GIVEN NAME $$ or $$ PLACE $$.
NEWSLETTER-PUBLISH-DATE
Here the dispatch date of the newsletter is fixed. They have the possibility to give several formats for the dispatch date:
- "now" - immediately dispatch by activiate the XML file
- "tt.mm.yyyy hh.mm" - 01.01.2003 11.11.00 statement exact to the minute
"dddddddddd" - Unixtime (10-figure information of the time in seconds since 1970)
NEWSLETTER-STATUS
Here you give whether you liked to provide the newsletter and then should be visible in the administration surface under edit newsletter. You can also fix that the newsletter is provided and is taken up with a dispatch time immediately in the list of the newsletters to be dispatched and is automatically dispatched. There are the conditions 0. 1 and 2 which have the following meaning:
- Status 0 - Design (appears under newsletter list: Newsletters edit)
- Status 1 - ready for sending (appears, in addition, in newsletter dispatch)
- Status 2 - ( appears in newsletter dispatch too)
- as soon as a NEWSLETTER PUBLISH DATE is given, the status is put on 2.
NEWSLETTER-AUTHOR-LOGIN
Here you have to type in a name. This name defines the producer of the newsletter and finds itself in the overview of the creating or ready for dispatch newsletters .
NEWSLETTER-DESCRIPTION
Hier wird die Kurzbeschreibung des Newsletters angegeben, um ihn auch später noch im Archiv wieder finden zu können.
Here the short description of the newsletter is given to be able to find late in the archive.
NEWSLETTER-PRIORITY
Here you give the priority indicated by the receiver the email.
NEWSLETTER-ATTACHMENTS
Hier geben Sie einen Dateinamen ein. Diese Datei muss sich bereits als Attachment im BACKCLICK-System befinden.
Here you give a file name. This file must already exist in the Attachment of the BACKCLICK system.
CONTENT-MAIN
Hier geben Sie den HTML-/Text-Part an. Bitte beachten Sie, dass UNBEDINGT alle “<” durch “<” und alle “>” durch “>” zu ersetzen.
Here you give the HTML part and text part. Please note that absolutly all "<" have to substitute with a " <" and all ">"with a ">".
CONTENT-ALTERNATIVE
Here you insert the alternative text part by the alternative newsletter .Now you know how a XML file is based and which <META> Tags you have to be insert, so that you can automatically dispatch a newsletter. In the following it is explained with the help of which GIS_API instructions BACKCLICK contents from this XML file can read in and be economical afterwards.
With the help of these instructions you read in information from the BACKCLICK internal content database and print out them afterwards sorted. Please note that the single GIS_API instructions are described in the chapter Individuation in detail. You make available these GIS_API instructions to the editors, with storing the instructions wiht the help of the substitution (name: beispiel_ru).Now the editor only have to insert the expression "beispiel_ru" in a Template which should be published with the newsletter and the newsletter and the contents are given in the way the GIS-API instructions tell them.
Below you see the HTML code of an example of a template. Create a template in the presentation management and insert the following code here. Name the Template " XML import".
- HEADLINE
- HEADER
- BODY
- CONTENT_SOURCE
- CONTENT_ID
The XML filme should be look like this:
Abb. 11.18.1 - Newsletter mit Template erstellt
Please, open the preshow-window and activate 'personalize' and 'individualize'. Then an accordingly formatted newsletter is shown.
Abb. 11.8.2 - Vorschau auf individualisiertem Newsletter mit externem XML Content
The example on top should give you an insight into the possibilities of GIS_API with the help of an example. The chapter "Individuation" deals with the exact functions of the XML interface and describes the skripting language GIS_API and their possibilities. Please, note that it concerns a technical chapter and was written less or not for editors.