Giter Site home page Giter Site logo

ivoba-json-ld's Introduction

JSON-LD Structured Data module for Oxid eShop v6

Add JSON-LD data of your shop to your website. https://developers.google.com/search/docs/guides/intro-structured-data

Add these information to your page:

  • Marketing details like your official name, logo, and social profile info
  • Sitelinks searchbox
  • Breadcrumbs
  • Contact details
  • Product details
  • Lists

Use https://search.google.com/structured-data/testing-tool to verify the outputs

Installation

composer require ivoba-oxid/jsonld

If you have OXID eshop < 6 use v1, check v1 branch of this module.

Usage

In "Erweiterungen -> Module -> Ivo Bathke: JsonLD" enter your settings in the "Settings" tab

Note

  • using RDFa with JsonLD is in most cases double and not needed
  • Flow theme has schema.org data baked in, which should be removed in custom theme, to not have unneeded markup.

Requirements

  • UTF-8
  • PHP >= 7
  • Oxid eShop >= CE 6

Todo

  • add Tests
  • add fields for shopName, Organization name to override Stammdaten
  • add option for beautify json
  • make controller to render only jsonLD to include in script tag

License MIT

© Ivo Bathke

ivoba-json-ld's People

Contributors

ivoba avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.