- Get started
- Body Elements
Contents define the main part of a Content List file. They are the articles, images, videos... included in the file.
Each content has a body part which is an array of one or multiple Body Elements. For instance, to publish just a photo, its enough to insert an unique Image Element as the body of the content. To publish an article with multple photos in its text, the body can contain first of all a Text Element, then a Image Element and then another Text Element and so on. In the way a file parser can instantaneously distingish the type of data and deliver it in the bast way.
Optional parameters are indicated as "(Optional)".
|title (string) (optional)||The title of the content.||
|pubDate (int)||The publication date for the content.||
|description (string) (optional)||The description of the content.||
|url (string) (optional)||The url of the content.||
|body (array of body_elemets)||The body of the content.||
|img (array of image_objects) (optional)||The thumbnail image of the content.|