Home
header
Technical Specs
IDenterprise Brochure
XML Import

The XML import tool can be used to import content and folders into the CMS.

Instructions
  1. Prepare the XML file for importing. The format of the XML file is as follows:

    <?xml version="1.0" encoding="UTF-8"?>
    <ContentImport>
           <Folder Name="Folder Name">
                  <Folder Name=”Sub Folder Name”>
                        <Content>
                              <Title>Content Title</Title>
                              <Date>YYYY-MM-DD</Date>
                              <Body>
                                  <![CDATA[
                                  Content Body (Can include HTML)
                                   ]]>
                             </Body>
                      </Content>
                 </Folder>
          </Folder>
    </ContentImport>
     
  2. Once the XML file is ready, go to IDmedia in the CMS and navigate to the folder that you want to import your content into.  Click on the XML import button.


     
  3. You will be presented with the XML Import Screen.


     
  4. Select the XML file to import from, then click either the Preview or Import button.
  5. If Preview is clicked, a preview of up to 40 content items will be shown.  When previewing, a different XML file to import from can be selected by clicking the "Select new file" button.


     
  6. When Import is clicked, the content will be imported, and the number of items imported will be displayed.


     

Important points to note for XML Importing:

  • Folders without a Name atribute will be skipped.
  • Folder elements can be nested as deeply as required.
  • Content elements must be contained within Folder elements
  • Content elements with an empty title or an empty body will be skipped.
  • Content dates must be in the format YYYY-MM-DD.  If any date is invalid or missing, the current date will be used instead.

News
Forum
ID Portfolio Header