index.html tags

Discussion and feedback on Construct 2

Post » Wed Apr 05, 2017 4:54 am

Would it be possible to change the meta tags of the index.html before it's parsed for say its preview used by scrapers?
Basically non static webpage/game that can have a meta to match.
Image ImageImage
B
169
S
50
G
173
Posts: 8,319
Reputation: 110,282

Post » Wed Apr 05, 2017 10:47 am

Which tags do you want to be able to change specifically?
Scirra Founder
B
397
S
236
G
88
Posts: 24,422
Reputation: 194,553

Post » Wed Apr 05, 2017 2:41 pm

It's usually it's done in php, and I know it would be a stretch to get it to work properly with javascript, but an example is like when you post a url to sites like Facebook, and Twitter those sites parse the urls and get tags such as title, and even image previews to give the user a better idea of what the link is about.
Of course another question would be if it should even be in the index.html, as many games are hosted in other pages.
Image ImageImage
B
169
S
50
G
173
Posts: 8,319
Reputation: 110,282

Post » Wed Apr 05, 2017 2:51 pm

Ah, you mean all the social media tags? That would be an interesting thing to cover.
Scirra Founder
B
397
S
236
G
88
Posts: 24,422
Reputation: 194,553


Return to Construct 2 General

Who is online

Users browsing this forum: boybacteria, higher2003, MadSpy, TheRealDannyyy, Yahoo [Bot] and 15 guests