jsld
20 sites
Security covered
JSLD is simple API for add Json-LD support to your site by using Plugin system.
Module doesn't do nothing without you, it's just help you to organize your Json-LD data on site.
Entity Plugin
Entity plugins is attached for specific entity type and their bundle\view-mode combinations.
It's used when you need to add JSON-LD on pages where specific entity is presented.
/**
* @JsldEntity(
* id = "node_news",
* entity_type = "node",
* entity_limit = {"news|*"}
* )
*/
Path Plugin
Path plugins is attached for specific pages applies on URL paths.
It's used when you need to add JSON-LD on pages with specific paths.
/**
* @JsldPath(
* id = "organization",
* match_type = "listed",
* match_path = {"/about", "<front>", "/info", "/info/*"}
* )
*/