Ouranosinc / PAVICS-landing

The landing page serving as the entrance to PAVICS
1 stars 0 forks source link

Help external parser describe the website #43

Closed aulemahal closed 2 years ago

aulemahal commented 2 years ago

This adds a "meta" description field so we control what external parsers use as the website's description.

For example, when pasting the page url in a email on outlook, we now get: image Before we had: image

Note: this is not easy to test. For example, I wasn't able to reproduce the "before" case on my VM...

aulemahal commented 2 years ago

Haha, j'ai en effet googlé "seo description" pour obtenir cette solution!

Attendons Travis, mais le c'est un copié collé de la page elle-même.

Oui on génère des pages en français, mais cette description est extraite de l'url de base directement. Et comme on a la même url pour les deux langues, je ne pense pas que ces parseurs externes vont faire la différence : ils vont prendre le défaut.

tlvu commented 2 years ago

Should be autodeployed at 12:17 (in 25 minutes).

tlvu commented 2 years ago

It's live

$ curl https://pavics.ouranos.ca --silent |grep 'meta name="description"' 
    <meta name="description" contents="PAVICS is a virtual laboratory facilitating the analysis of climate data. It provides access to several data collections ranging from observations, climate projections and reanalyses. It also provides a Python programming environment to analyze this data without the need to download it. This working environment is constantly updated with the most efficient libraries for climate data analysis, in addition to ensuring quality control on the provided data and associated metadata."