Le Cyber Monday est arrivé ! Créez une application et profitez de 50% de réduction dès maintenant !

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, maps for now and videos, events, photos... soon).

The values are described here : Item Types Documentation
 
You can download some examples here: Custom feeds (articles, maps) 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 My app > Structure
2. Click the green button "Add a section" from the right column
3. Select the custom source you want to add: Articles or Map (Photos, video, calendar or, Event sound will soon be available)

picture

4. Paste the URL of your custom content feed, then click Add


Autres articles
Conseils pour créer une app