contentful / contentful-metalsmith

A plugin for Metalsmith that pulls content from the Contentful API
87 stars 32 forks source link

Add support for rich text contentful datatype #63

Open pburrows opened 5 years ago

pburrows commented 5 years ago

Contentful has a new (currently in Beta) data type called "Rich Text" which allows the embedding of other contentful content (for instance, I could have a page with 5 other pages embedded, one of those pages could have a specific blog post embedded, and so forth).

It allows for composition of complex pages built from smaller parts. Here is a link to the documentation: https://www.contentful.com/developers/docs/concepts/rich-text/

When pulling back content with the Rich Text type, a JSON object is returned that contains a list of nodes, some of those nodes are references to other content, they are referenced by ID. I believe a separate API call would be needed to also pull those data back.

dmitrek commented 5 years ago

That would be really helpful.

micheltucker commented 4 years ago

👍 Problem still exists