Import Formats

84.4.5.68 CUSTOM > MOMO ASSET XML

Import Scope
The "Momo Asset XML" import allows reading XML files and retrieving assets (and their related data) contained within them. 
Import parameters
This import allows the following parameters to be set and then [saved]:

Import_custom_momo_asset_xml

•File to import: Specify the path from which files will be imported. Files are named as follows:
asset_code.xml
e.g.
131118s12345601.XML
Launch the import
Once all parameters have been correctly set, just press the <Import> button to launch the import operation. 
Sample file to import
The file to be imported using this method will have to the following structure in order to be correctly imported:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Table>
  <Fields>    <MEDIUM_CODE>131118s12345601</MEDIUM_CODE>
    <!--  FILMATI.COD_PROGRA -->    <MEDIUM_TYPE_CODE>SRC</MEDIUM_TYPE_CODE>
    <!--  FILMATI.NEWTYPE -->    <MEDIUM_LIVE_DATE>2013/11/18</MEDIUM_LIVE_DATE>
    <!--  FILMATI.CREATIONDATE -->
    <MEDIUM_TITLE>123456 ????????</MEDIUM_TITLE>
    <!--  FILMATI.DESCRIZIO -->  <MEDIUM_MID_CLASS>13</MEDIUM_MID_CLASS>
    <!--  GENERI.COD_GEN -->
    <MEDIUM_ARTISE>
      <PD Record="1">22</PD>
      <!--  ARTISTI.ID_ARTISTI -->
      <PD Record="2">30</PD>
      <!--  ARTISTI.ID_ARTISTI -->
    </MEDIUM_ARTISE>  <MEDIUM_PLAING>69</MEDIUM_PLAING>
    <!--  ARTISTI.ID_ARTISTI -->
    <MEDIUM_CL>22</MEDIUM_CL>
    <!--  PARENTALRATE.ID_PARENTALRATE -->
    <MEDIUM_TV_PROG></MEDIUM_TV_PROG>
    <!--  GENERI.ID_GENERI -->
    <MEDIUM_HOST>
      <SH Record="1"></SH>
      <!--  ARTISTI.ID_ARTISTI -->
      <SH Record="2"></SH>
      <!--  ARTISTI.ID_ARTISTI -->
    </MEDIUM_HOST>
    <MEDIUM_MID_CHANNEL></MEDIUM_MID_CHANNEL>
    <!--  GENERI.ID_GENERI -->
    <MEDIUM_USER01>???140521</MEDIUM_USER01>
    <!--  FILMATI.NOTE_A -->
 <MEDIUM_USER02>123456</MEDIUM_USER02>
    <!--  FILMATI.NOTE_B -->
    <MEDIUM_USER03></MEDIUM_USER03>
    <!--  FILMATI.NOTE_C -->
  </Fields>
</Table>

5279_Import_custom_momo_asset_xml