contentlayerdev / contentlayer

Contentlayer turns your content into data - making it super easy to import MD(X) and CMS content in your app
https://www.contentlayer.dev
MIT License
3.27k stars 200 forks source link

Support Contentful as a content source #173

Open seancdavis opened 2 years ago

seancdavis commented 2 years ago

We are already planning to implement Contentful support. However, you can help us prioritize this work by clicking the 👍 emoji below to add your vote.

fhub-1 commented 2 years ago

cant wait to see what next

calebpdx commented 2 years ago

This would be amazing!

bholmesdev commented 2 years ago

Yes now give it to me

fhub-1 commented 2 years ago

You are talking about amazing these will be fire bro

fhub-1 commented 2 years ago

for once has a front-end dev i would have what it takes to make the work done

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

tkasper commented 2 years ago

👍 +1

seancdavis commented 2 years ago

@tkasper Please add 👍 reaction to the original message to add your vote.

steve-marmalade commented 1 year ago

Saw someone give Contentlayer a shout-out on Twitter so I came to check it out. I could definitely see how support for Contentful would allow us to remove a significant amount of boilerplate needed to incorporate content in our NextJS app. Will be excited to try this out once you add support for remote sources.

digitalbase commented 1 year ago

hi everyone.

I'd love to help update the docs and contribute to the plugin. Our company is using contentful for +- 30 content types and +1000 entities and we have all the issues that @schickling talked about in Lee Robinsons interview.:

Now, in the documentation contentful is marked as 'experimental' but going through the code, I can only find code with mocked data.

Is there anything I'm missing?

schickling commented 1 year ago

Thanks for your comment @digitalbase. I'm excited to hear you're looking forward to use Contentlayer together with Contentful. Unfortunately there isn't any update yet in regards to a production-grade Contentful content source (however you can find the experimental source code here).

itsjavi commented 1 year ago

Thanks Johannes @schickling , although I thought this was more going to be a way to download the Contentful posts and convert them to MDX, or am I missing something? One of the reasons I am moving to ContentLayer is to replace Contentful entirely.

I am currently doing that by combinign contentful-export, @contentful/rich-text-html-renderer and turndown, so I can use all content with ContentLayer after some adjustments.

seancdavis commented 1 year ago

@itsjavi The exact approach is still TBD. However, the intention is that Contentlayer makes working with a content source easier, not that it replaces the source.

The approach you're taking to replace Contentful sounds like a good one, and should also work nicely with Contentlayer.

ziyafenn commented 11 months ago

I totally by accident found out about contentlayer and when i saw an example code in the introductory blog post with processing MD content and how easy it is to achieve same with Contentlayer, i shed a tear!

Can't wait for contentful adapter to be released to use contentlayer for my portfolio website.

leonardo-motta-deel commented 8 months ago

currently running a blog using nextjs and contentful, would love to see contentlayer on top of contentful with type safe

mian678 commented 4 months ago

I have voted for Contentful as a content source. Done it

aaron5670 commented 3 months ago

👀