简体   繁体   中英

How can I publish mulitple content to dotCMS through script

As I am new to dotCMS, just wondering is it support any script through which I can upload/publish my multiple contents(ie well structured directory) as whole. For example I have multiple text files with contents to publish how can i do this in one shot ?

I know it support dynamic content page, but seems that works on already created content/page.

There are two ways:

  1. You can either put all the content in an Excel file and use the "import content" option of the "Add new Content" button in the dotCMS admin "Content" tab. To know what the Excel structure should be, first download a piece of the content you plan to upload by clicking on the "Export button in the same page".

在此输入图像描述 在此输入图像描述

  1. The second way is to use the Restfull content API. Check the documentation on how to use it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM