solidusio-contrib / solidus_content

BSD 3-Clause "New" or "Revised" License
8 stars 9 forks source link

Allow to fetch content from third parties #5

Closed elia closed 4 years ago

elia commented 4 years ago

Allow to configure a content in order to fetch data from a third party.

E.g. if we want to fetch content from Contentful:

Will be up to the provider to store in the data attribute of the content just the content ID (or other means to fetch the content on the go) or to also store the content allowing local access. A content provider should be able to update the data section of the content whenever it's triggered. A content provider should setup itself to receive webhooks or run regularly to update the data attribute of the content.

The default and basic content provider should allow raw editing of the data attribute (in json format).

A content provider should also connect with content created with solidus_static_content.

elia commented 4 years ago

Implemented in https://github.com/nebulab/solidus_content/commit/c3fbb1f50f47a4bff334ffc0f1d844e042e21447