Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Add additional properties to the Recipe model and JSON-LD #50

Closed
khalwat opened this issue Oct 2, 2021 · 3 comments
Closed

[FR] Add additional properties to the Recipe model and JSON-LD #50

khalwat opened this issue Oct 2, 2021 · 3 comments

Comments

@khalwat
Copy link
Contributor

khalwat commented Oct 2, 2021

The following Recipe schema.org properties should be added:

recipeCategory
recipeCuisine
author
video
keywords

In addition, add the equipment needed for the Recipe as per #32 via the tool Recipe sub-property

khalwat added a commit that referenced this issue Oct 2, 2021
@khalwat
Copy link
Contributor Author

khalwat commented Oct 2, 2021

Added recipeCategory & recipeCuisine in: 238eac1

You can try it now by setting your semver in your composer.json to look like this:

    "nystudio107/craft-recipe": "dev-develop as 1.4.0”,

Then do a composer clear-cache && composer update

khalwat added a commit that referenced this issue Oct 3, 2021
@khalwat
Copy link
Contributor Author

khalwat commented Oct 3, 2021

Added a Recipe Video field that can be accessed via .getVideoUrl(): c899b27

You can try it now by setting your semver in your composer.json to look like this:

    "nystudio107/craft-recipe": "dev-develop as 1.4.0”,

Then do a composer clear-cache && composer update

khalwat added a commit that referenced this issue Oct 3, 2021
@khalwat
Copy link
Contributor Author

khalwat commented Oct 3, 2021

Added author and keywords fields: 918c140

You can try it now by setting your semver in your composer.json to look like this:

    "nystudio107/craft-recipe": "dev-develop as 1.4.0”,

Then do a composer clear-cache && composer update

@khalwat khalwat closed this as completed Oct 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant