Contentful migrations: Add validation to slug field and update existing values

by Magnus Sigvartsen

Adding custom validations to a slug field in Contentful and updating existing faulty values using Contentful migration scripts and Contentful CLI…

Lagring av data i Contentful. Nå i EU!

by Magnus Sigvartsen

Contentful tilbyr nå datalagring i EU, med servere i Dublin og backup i Frankfurt, for å styrke GDPR-overholdelse. Denne funksjonen er tilgjengelig for "Premium plan"-kunder. Noen begrensninger gjelder.…

Building dynamic URL structures with Contentful and Nextjs

by Magnus Sigvartsen

Set up a parent/child URL structure using Contentful, and resolve the URL and build up the static paths in Nextjs.…

Use Contentful's image processing to give every user the best image for their screen size

by Bjarte Aune Olsen

With responsive websites, the same image can be displayed on screens ranging from several thousand pixels wide down to a few hundred. It is a lot of wasted bandwidth if the user on a tiny mobile screen has to download an image 2000 pixels wide, only to display it as…

Contentful: How to avoid messing up your production content using environments

by Bjarte Aune Olsen

I have a web application with a separate test and production environment. I'm changing the content model, and I want to try out this new feature in my test environment without messing up the content in production.…