jkomoros / card-web

The web app behind thecompendium.cards
Apache License 2.0
46 stars 8 forks source link

Clip OG description at word boundaries #664

Open jkomoros opened 1 year ago

jkomoros commented 1 year ago

Related to #9

Currently the OG description in the SEO pipeline clips descriptions at a certain number of characters which can show up as user-visible part-words in the social card. First, check to see how bad it is if they're too long (presumably it's better for the social platofrm to cut it at the right length for its card), and also cut on word boundaries.