Day 14: Getting the lengths of meta title and description right

Thu, June 27, 2024 - 1 min read

(This post was originally shared on X)

I am sharing every day a lesson I learned while building my last products.

Every time I produce a title and metadescription on my blog articles, it is a mess to keep getting them within the advisable limits: 50-70 characters for title, 110-160 for metadescription.

Even when I use @aiblogarticles to generate the article, the LLM often doesn’t stick to the advisable length.

I fixed this problem with a simple Python script. It uses OpenAI to understand the article context to produce the best sentence possible. And I published it for everyone.

Tomorrow let’s talk about site speed!