ontola / openbesluitvorming

Elasticsearch front-end for searching through meeting data from 100+ municipalities
http://openbesluitvorming.nl
MIT License
14 stars 7 forks source link

Media tags for social sharing #94

Open jurrian opened 4 years ago

jurrian commented 4 years ago

There is already an issue for indexing documents #74, but currently there is no description tag or any SEO for the homepage. Should be an easy fix and quick win.

joepio commented 4 years ago

Might be a good idea, but I'm not sure whether the description tag actually adds value. IIRC, google prefers body text, which is already crawled correctly: image

jurrian commented 4 years ago

I think it works for Google and such, but I added it as an example on LinkedIn: Screenshot from 2019-12-31 10-24-34

I had to type the text myself.

joepio commented 4 years ago

I'll add Helmet and create an image + description for social sharing

joepio commented 4 years ago

Added the tags using helmet, but the facebook crawler requires pre-rendered / hardcoded tags.

Hardcoded is not an option, as the service has two different URLs running on one instance.

Pre-rendering is possible with Netlify, but that requires quite a bit of setup and DNS transfer. I'll leave this open, but probably won't fix it anytime soon.