Rothamsted-Ecoinformatics / eRA

e-RA website code
3 stars 0 forks source link

design: metatags #49

Closed nathcast closed 3 years ago

nathcast commented 4 years ago

This started as an issue regarding keywords: first off: the metatag keywords is not used by GOogle an altavista dropped it too. see comments for information about that.

Check that the metatags are in the following pages:

and then, for each page I can decide where the metatags are picked up.

nathcast commented 4 years ago

This page says that meta keywords is deprecated and not used. https://en.wikipedia.org/wiki/Meta_element#The%5Fkeywords%5Fattribute Google[1] states they do support the meta tags "content", "robots", "google", "google-site-verification", "content-type", "refresh" and "google-bot". https://support.google.com/webmasters/answer/79812?hl=en

LIst here the Header Tags that we could use:

nathcast commented 4 years ago

Where the metatags are taken from:

For experiments, datasets, and pages which call an obvious json string, pick up description from there. For the stations: make a simple json string to have all the minimum information: that can be used to fill in meta tags and also to add at the top of the page

For the extra pages: add a description field to the files.json (in default folder)

nathcast commented 4 years ago

note: we do not need keywords, but it doesnt hurt...

nathcast commented 4 years ago

I have also put tags for robots.

nathcast commented 4 years ago

The description is taken from experiment.json for station and exptphp nameofdataset.json for the dataset description summary.json for the sites.

summary, and experiment.json for met station has to be manually edited and are in the relevant folders for control.