ztix import should use "series" for creating new play
The code of the ztix import module is executed by a drush command (commented on the staging).
mohid@mk-staging:~$ cat /etc/crontab| grep mainz
#17 * * * * www-data cd /var/www/mainzer-kammerspiele.de/docroot && ../vendor/bin/drush -y --quiet zid pm ; ../vendor/bin/drush -y --quiet zid pl
This fetches an XML from http://88.198.11.203/xmlExport/index.php/main/getEvents/41/all
The XML contains eg.:
<series>
<![CDATA[ 13041 ]]>
</series>
<title>
<![CDATA[ KRÜMEL THEATER: Krümel und die Farben ]]>
</title>
Currently the title is used, to create a new play.
This should be changed. The Value of the node "series" should be used instead
Imported data can be deleted at https://staging.mainzer-kammerspiele.de/de/admin/content
After a play is deleted, it will be reimported by executing:
root@mk-staging:~# sudo su - mohid
mohid@mk-staging:~$ sudo su
root@mk-staging:/home/mohit# sudo su - www-data
www-data@mk-staging:~$ pwd
/var/www
www-data@mk-staging:~$ cd mainzer-kammerspiele.de/docroot/
www-data@mk-staging:~/mainzer-kammerspiele.de/docroot$ ../vendor/bin/drush zid pl
Running ztix-import-data
The second cammand drush zid pm
is used to import performances.