K
K
Kirill Shvets2018-05-18 00:26:24
HTML
Kirill Shvets, 2018-05-18 00:26:24

Is it possible to store page meta data in JSON?

Hello. I am creating a website on Sinatra. And so the idea came up to put the meta tag data (description, keywords, and title) into separate JSON files for each page that will have this data. That is, upon request, the required JSON file will be parsed and the data will be substituted into the erb template.
Will this affect the issuance of the site in search engines? And will they see this data at all in the issuance in order to correctly display the page snippet?
This is done for the further ease of use by other people, so that they can edit this data without getting into the code.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2018-05-18
@webninja_surgut

It doesn't matter where you store the data and how you insert it - as long as you send the fully assembled html from the server to the search engines, everything will be ok.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question