https://github.com/rakshazi/gsd-generator
Google Structured Data generator :+1:
https://github.com/rakshazi/gsd-generator
Last synced: 3 months ago
JSON representation
Google Structured Data generator :+1:
- Host: GitHub
- URL: https://github.com/rakshazi/gsd-generator
- Owner: rakshazi
- Created: 2016-07-14T06:39:33.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-20T12:04:43.000Z (almost 9 years ago)
- Last Synced: 2025-01-21T07:11:34.407Z (4 months ago)
- Language: PHP
- Homepage: https://developers.google.com/search/docs/data-types/data-type-selector
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Google Structured Data generator
> This library has only needed for repo owner functions. If you want something else, feel free to create issue.
Generates `` with ld markup of passed data. See comments inside class if you want know more.
**Supported data types**:
1. [Breadcrumbs](https://developers.google.com/search/docs/data-types/breadcrumbs) `$result = \Rakshazi\GsdGenerator::getBreadcrumbs($data);`
2. [Sitelinks Searchbox](https://developers.google.com/search/docs/data-types/sitelinks-searchbox) `$result = \Rakshazi\GsdGenerator::getSearchbox($url, $search_url);`
3. [Your Site Name in Results](https://developers.google.com/search/docs/data-types/sitename) `$result = \Rakshazi\GsdGenerator::getSitename($name, $alt_name, $url);`
4. [Search Gallery / Product](https://developers.google.com/search/docs/guides/search-gallery) `$result = \Rakshazi\GsdGenerator::getProduct($productData);`