Show navigation ≫
≪ Hide navigation
Structure > Content

Description

Contents define the main part of a Feed 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.

Structure

Optional parameters are indicated as "(Optional)".

Parameter Meaning Notes
title (string) (optional) The title of the content.
  • For an article it is the title of the article; for an image it can be the attached comment/post with the image.
pubDate (integer) The publication date for the content.
  • Must be an Unix timestamp - in seconds.
author (author_object) (optional) The author text of the content.
  • This parameter requires a Connected Web Author Object. See the Objects > Author documentation to understand more.
description (string) (optional) The description of the content.
  • For an article it is a short summary of its content.
  • If left empty, some Connected Web parsers will maybe use the text of the first Text Element (if present) as description of the content.
url (string) (optional) The url of the content.
  • To open the original content.
body (array of body_elemets) The body of the content.
img (array of image_objects) (optional) The thumbnail image of the content.
  • This parameters is necessary to specify a thumbnail of, for example, an article. It's not necessary when the content is a photo or gallery. Photo or gallery data are declared using an image or gallery body element.
Discover Body Elements

Example

{
    
    "title": "This is a simple content",
    "pubTime": 1491255023,
    "body": [{
		
	"type": "text",
	"data": {
			
	    "value": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
			
	}
		
    }]
    
}
Show navigation ≫
≪ Hide navigation