Closed Helianthella closed 8 years ago
@wushin now with 3 blocks: VideoGame
, Website
, NGO
Is this supposed to be added to each page? Maybe we should put this in GTM (Google Tag Manager)
@wushin it needs to be on the page itself, not inserted with javascript it's like a super-descriptive meta tag
@wushin nevermind, I found this in the docs: "Also, Google can read JSON-LD data even when it is dynamically injected into the page's contents, such as by Javascript code or embedded widgets."
or you could inject with
!function(e,t){"use strict";var a=e.createElement("script");a.type="application/ld+json",a.innerText=JSON.stringify(t),e.head.appendChild(a)}(document,[{"@context":"http://schema.org","@type":"VideoGame","@id":"https://www.themanaworld.org",name:"The Mana World",url:"https://www.themanaworld.org",sameAs:"https://github.com/themanaworld/",description:"A free Open Source 2D MMORPG",applicationCategory:"Online Game",inLanguage:"English",genre:["MMORPG","RPG"],gamePlatform:["PC","Mobile","Browser"],operatingSystem:["Windows","Linux","BSD","OSX","Android","Chrome","ChromeOS"],publisher:"The Mana World",playMode:["MultiPlayer","CoOp"],numberOfPlayers:"1+",gameTip:{"@type":"CreativeWork",name:"Getting Starged",alternateName:"Walkthrough",url:"https://www.themanaworld.org/index.php/Walkthrough"},softwareHelp:{"@type":"CreativeWork",name:"Technical Support (IRC)",url:"https://webchat.freenode.net/?channels=#themanaworld",sameAs:"irc://chat.freenode.net/themanaworld"},trailer:{"@type":"VideoObject",url:"https://www.youtube.com/watch?v=xE2dQvrl1Ec",name:"The Mana World [Demo Video]",description:"Official Trailer",thumbnailUrl:"http://img.youtube.com/vi/xE2dQvrl1Ec/0.jpg",uploadDate:"2014"},screenshot:"https://www.themanaworld.org/index.php/Screenshots",downloadUrl:"https://www.themanaworld.org/index.php/Downloads",gameServer:[{"@type":"GameServer",name:"The Mana World",alternateName:"main",description:"Join adventures with people from all over the world.",url:"manaplus://connect?t=tmwa&s=server.themanaworld.org&p=6901",serverStatus:"Online",sameAs:"https://github.com/themanaworld/tmwa"},{"@type":"GameServer",name:"The Mana World test server",alternateName:"test",description:"New content can be tested here before release.",url:"manaplus://connect?t=tmwa&s=server.themanaworld.org&p=6902",sameAs:"https://github.com/themanaworld/tmwa/tree/test-server"}],softwareRequirements:"ManaPlus 1.6.2.13+",softwareAddon:{"@type":"SoftwareApplication",name:"ManaPlus",alternateName:"Official Client",description:"Official client for Evol Online, The Mana World, Land of Fire",applicationCategory:"Game Client",operatingSystem:["Windows","Linux","BSD","OSX","Android","Chrome","ChromeOS"],url:"https://manaplus.org",releaseNotes:"https://manaplus.org/changelog",processorRequirements:"2 GHz",memoryRequirements:"150 Mb",storageRequirements:"300 Mb",inLanguage:["English","German","French","Portugese","Spanish","Ukrainian","Czech","Polish","Italian"],translator:"https://www.transifex.com/akaras/manaplus/"}},{"@context":"http://schema.org","@type":"Website","@id":"https://github.com/themanaworld/themanaworld-website",name:"The Mana World",url:"https://www.themanaworld.org/"},{"@context":"http://schema.org","@type":"NGO","@id":"http://www.spi-inc.org/projects/tmw/",name:"The Mana World",legalName:"The Mana World",url:"https://www.themanaworld.org/",sameAs:["https://plus.google.com/+TheManaWorldOrg","https://www.facebook.com/themanaworld","https://twitter.com/The_Mana_World","https://www.youtube.com/user/TheManaWorldOfficial","https://www.patreon.com/TheManaWorld","http://www.reddit.com/r/themanaworld","https://www.openhub.net/p/themanaworld","http://www.spi-inc.org/projects/tmw/"],logo:"https://www.themanaworld.org/images/7/7a/Tmw_logo.png",founder:{"@type":"Person",name:"Eugenio Favalli",additionalName:"Elvenprogrammer"},foundingDate:"2004-04-11",owns:[{"@type":"Product",name:"The Mana World (Game)",alternateName:"tmwa-server-data",url:"https://github.com/themanaworld/tmwa-server-data"},{"@type":"Product",name:"tmwAthena",alternateName:"TMWA",url:"https://github.com/themanaworld/tmwa"},{"@type":"Product",name:"manavis",url:"https://github.com/themanaworld/manavis"}],brand:{"@type":"Brand",url:"https://github.com/themanaworld",name:"The Mana World"},memberOf:{"@type":"NGO",name:"SPI",legalName:"Software in the Public Interest, Inc.",url:"http://www.spi-inc.org/"}}]);
ok, live and https://www.themanaworld.org/ is validating.