You can create your own custom feeds, respecting the specifications of the Content API. Once these JSON content feeds created on your website, you'll be able to add them as sources of your sections, using the Custom connector.

The values handled by the app are simple. Each element inherits from the Item type, and has some type specific attributes (like articles, videos, events, photos, ...).

The values are described here : Item Types Documentation
 
You can download some examples here: Custom feeds (articles, events, videos, photos, podcast ...) examples .

For each source type, it's possible to define several types of actions:
getLastItems => get the last items published, or items for a specific filter (like categories filters)
search => takes a [KEYWORD] argument to make a search in the website's content
getCommentsByItem => get the comments associated to an item
 
NB : The names getLastItems, search, getItemByCategorie, getCommentsByItem described in the documentation are the conventions that we use.
When you add a custom source, you'll have to enter the whole URL to access your custom feeds, so it's not mandatory to respect this naming convention.


1

Add a custom source in your section

  1. In the left swipe menu go to Design & Structure > Structure > Sections
  2. Click the green button "Add a section" from the right column
  3. Click two times on Load more 
  4. ​Select the custom source you want to add (Articles, Photos, Videos, Calendar, Map or Sound).
  5. Paste the URL of your custom content feed and click on Add. 
​Optional: You'll be able to setup your search field and filters once it has been added 

picture

picture

More articles