{"id":24764111,"url":"https://github.com/booink/microdata_schema","last_synced_at":"2025-10-11T13:30:19.479Z","repository":{"id":56883544,"uuid":"131420014","full_name":"booink/microdata_schema","owner":"booink","description":"microdata json-ld generator","archived":false,"fork":false,"pushed_at":"2021-01-19T14:43:16.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-23T22:55:32.408Z","etag":null,"topics":["json-ld","microdata","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/booink.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-28T15:11:30.000Z","updated_at":"2021-01-19T14:42:13.000Z","dependencies_parsed_at":"2022-08-20T22:31:11.204Z","dependency_job_id":null,"html_url":"https://github.com/booink/microdata_schema","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/booink%2Fmicrodata_schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/booink%2Fmicrodata_schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/booink%2Fmicrodata_schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/booink%2Fmicrodata_schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/booink","download_url":"https://codeload.github.com/booink/microdata_schema/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236034759,"owners_count":19084686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["json-ld","microdata","ruby"],"created_at":"2025-01-28T21:32:56.346Z","updated_at":"2025-10-11T13:30:14.151Z","avatar_url":"https://github.com/booink.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MicrodataSchema\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'microdata_schema'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install microdata_schema\n\n## Usage\n\n* application.html.erb\n\n```app/views/layouts/application.html.erb\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n  \u003chead\u003e\n    \u003cmeta charset=\"UTF-8\" /\u003e\n    \u003ctitle\u003eTitle\u003c/title\u003e\n    \u003c%= yield(:json_ld_tag) %\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n* bar.html.erb\n\n```app/views/foos/bar.html.erb\n\u003c%\njson_ld_tag = Microdata::Schema::List.new([\n  Microdata::Schema::SoftwareSourceCode.new(\n    code_repository: \"https://github.com/booink/microdata_schema\", programming_language: \"ruby\",\n  ),\n  Microdata::Schema::BreadcrumbList.new(\n    item_list_element: [\n      Microdata::Schema::ListItem.new(position: 1, item: Microdata::Schema::Thing.new(id: \"https://github.com/booink/microdata_schema/blob/master/lib/microdata/schema/thing.rb\", name: 'Thing')),\n      Microdata::Schema::ListItem.new(position: 2, item: Microdata::Schema::Thing.new(id: \"https://github.com/booink/microdata_schema/blob/master/lib/microdata/schema/thing/action.rb\", name: 'Action')),\n      Microdata::Schema::ListItem.new(position: 2, item: Microdata::Schema::Thing.new(id: \"https://github.com/booink/microdata_schema/blob/master/lib/microdata/schema/thing/action/play_action.rb\", name: 'PlayAction'))\n    ]\n  )\n]).to_json_ld.html_safe\n%\u003e\n\u003c% provide :json_ld_tag, json_ld_tag %\u003e\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/booink/microdata_schema. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the MicrodataSchema project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/booink/microdata_schema/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbooink%2Fmicrodata_schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbooink%2Fmicrodata_schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbooink%2Fmicrodata_schema/lists"}