nextcloud / website

An attempt to build a new website (obsolete)
7 stars 4 forks source link

Add json-ld metadata #5

Open pierreozoux opened 6 years ago

pierreozoux commented 6 years ago

I'm starting a new project (feedback appreciated), and I'd like to add some metadata to the website. We could add this to the index:

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "WebApplication",
  "name": "Nextcloud",
  "description": "Access & share your files, calendars, contacts, mail & more from any device, on your terms",
    " softwareVersion ": "13.0.0",
    "url": "https://nextcloud.com",
    "license": "AGPL-3.0"
}
</script>

We could start with something simple like that, and iterate overtime.

What do you think about the idea?

MorrisJobke commented 6 years ago

Looks interesting 👍

pierreozoux commented 4 years ago

Ok, if you update your index with:

 <html>
  <head>
    <title>Executive Anvil</title>
    <script type="application/ld+json">

    {
        "@context": "https://schema.org",
        "@type": "SoftwareApplication",
        "name": "Nextcloud",
        "description": "Nextcloud is the most deployed on-premises file share and collaboration platform. Access & collaborate across your devices. Your data remains under your control.",
        "logo": "https://upload.wikimedia.org/wikipedia/commons/6/60/Nextcloud_Logo.svg",
        "operatingSystem": "Windows, OSX, Linux, Android, iOS",
        "downloadUrl": "https://nextcloud.com/install/",
        "featureList": "documents, share, collaborate, email, calendar, chats, visio",
        "applicationCategory": "groupware, document management system,  enterprise content management",
        "screenshot": [
            "https://nextcloud.com/wp-content/themes/next/assets/img/features/mobileDesktop.png",
            "https://nextcloud.com/wp-content/themes/next/assets/img/features/talk-devices-nw.png",
            "https://nextcloud.com/wp-content/themes/next/assets/img/features/calendar-nw.png"
        ],
        "softwareHelp": {
            "@type": "CreativeWork",
            "url": "https://help.nextcloud.com/"
        },
        "softwareAddOn": {
            "@type": "SoftwareApplication",
            "url": "https://apps.nextcloud.com/"
        },
        "license": "AGPLv3"
      }

    </script>
  </head>
  <body>
  </body>
</html>

Google will understand it.

You can add fields like:

More info here.

Here is the result:

image