Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Contentful as a content source #173

Open
seancdavis opened this issue Apr 8, 2022 · 16 comments
Open

Support Contentful as a content source #173

seancdavis opened this issue Apr 8, 2022 · 16 comments

Comments

@seancdavis
Copy link
Collaborator

seancdavis commented Apr 8, 2022

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
Copy link

fhub-1 commented Apr 21, 2022

cant wait to see what next

@calebpdx
Copy link

This would be amazing!

@bholmesdev
Copy link

Yes now give it to me

@fhub-1
Copy link

fhub-1 commented Apr 25, 2022

You are talking about amazing these will be fire bro

@fhub-1
Copy link

fhub-1 commented Apr 25, 2022

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

@stale
Copy link

stale bot commented Jun 24, 2022

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
Copy link

tkasper commented Jul 5, 2022

馃憤 +1

@seancdavis
Copy link
Collaborator Author

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

@steve-marmalade
Copy link

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
Copy link

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.:

  • very slow build
  • content is being fetched multiple times
  • too much logic in the contentful-sdk and too much coupling with contentful query language

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
Copy link
Collaborator

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
Copy link

itsjavi commented Mar 31, 2023

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
Copy link
Collaborator Author

@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
Copy link

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
Copy link

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

@mian678
Copy link

mian678 commented Apr 27, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests