Scan meta descriptions for minimum length


#1

I would like to scan my website and flag every post where the meta description is shorter than X, but I haven’t been able to find a solution. I haven’t explored HTML proofer much since I can’t get it to run on my windows machine. Is there a tool tat could achieve this?


#2

you could probably make a page with a bit of liquid to make a list of posts that meet that criteria - size returns the number of characters in a string.


#3

If you’re looking for a Ruby solution, you can try writing a plugin that parses the HTML with Nokogiri similar to how jekyll-mentions and jemoji does, only, you’d be focusing on the <head instead of <body


#4

Thank you both for the help. I think using size is likely the simplest solution, as I would not really know how to write a plugin.