Closed nathcast closed 3 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:
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)
title: is fed by $page_title
default $page_title = "e-RA";
meta description is fed by $page_description
default $page_description = "e-RA provides a permanent managed database for secure storage of data from Rothamsted's Long-term Experiments, the oldest, continuous agronomic experiments in the world. Together with the accompanying meteorological records, associated documentation and sample archive, it is a unique historical record of experiments that have been measured continuously for over 170 years.";
meta keywors is fed by $page_keywords
default $page_keywords = "experiments, long term experiments, agriculture, datasets, research, fields, yields, weather";
note: we do not need keywords, but it doesnt hurt...
I have also put tags for robots.
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.
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.