tematres / TemaTres-Vocabulary-Server

Web application for management formal representations of knowledge, like controlled vocabularies, taxonomies, thesauri and glossaries
https://vocabularyserver.com
121 stars 52 forks source link

Request: custom meta tags into to vocab head #41

Open horus68 opened 5 years ago

horus68 commented 5 years ago

Wish there was an easy way to include more metatags in the vocab head. Now its auto populated. Couldn't find a way to hard code my custom tags (I did it in the old version). Is there an easy way now?

Would love to include Google Analytics or custom tags as in:

Manifest for app like usage with Android devices

    <!-- Favicon Android -->
    <link rel="manifest" href="../manifest.json" />
    <meta name="theme-color" content="#77959e" />

IEconfig file with icons for Windows10

    <!-- Favicon Windows IE -->
    <meta name="msapplication-config" content="../IEconfig.xml" />
    <meta name="application-name" content="XPTO Vocab" />
    <meta name="msapplication-TileColor" content="#afa782" />

iOS and Opera icons

    <!-- Favicon iOS -->
    <link rel="apple-touch-icon-precomposed" href="../common/images/app/apple-touch-icon-precomposed.png" />
    <link rel="mask-icon" href="../common/images/app/safari-pinned-tab.svg" color="#5bbad5" />

OpenGraph custom thumbnail image for social sharing

    <!-- OpenGraph Facebook -->
    <meta property="og:image" content="../common/images/custom_image.jpg" />
    <meta property="og:image:height" content="363" />
    <meta property="og:image:width" content="694" />
tematres commented 5 years ago

We can use config.tematres.php to add local or custum data. Now you can use $CFG["HEADER_EXTRA"] in config.tematres.php to add custum logo. We can add GA, for example. OK?

horus68 commented 5 years ago

That would be a good solution, but I don't know the steps to implement it!