ChickenKyiv / ChickenKyiv/recipe-api-only

make stuff more friendly to ggoogle schema or to main scema. links below

Open
#147 1 comment 0 reactions 1 assignee Claimed by @atherdon View on GitHub
feature
Dominant language
JavaScript
Stars
37
Forks
11
PR merge metrics
No merged PRs in 30d

Description

https://developers.google.com/search/docs/data-types/recipe
![image](https://user-images.githubusercontent.com/1469198/35046068-95f7d9ec-fb9e-11e7-91f7-0950ff4652c5.png)
https://search.google.com/structured-data/testing-tool
```



Strawberry-Mango Mesclun Recipe



{
"@context": "http://schema.org/",
"@type": "Recipe",
"name": "Strawberry-Mango Mesclun Recipe",
"image": [
"https://example.com/photos/1x1/photo.jpg",
"https://example.com/photos/4x3/photo.jpg",
"https://example.com/photos/16x9/photo.jpg"
],
"author": {
"@type": "Person",
"name": "scoopnana"
},
"datePublished": "2008-03-03",
"description": "Mango, strawberries, and sweetened dried cranberries are a vibrant addition to mixed greens tossed with an oil and balsamic vinegar dressing.",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "5",
"reviewCount": "52"
},
"prepTime": "PT15M",
"totalTime": "PT14M",
"recipeYield": "12 servings",
"nutrition": {
"@type": "NutritionInformation",
"servingSize": "1 bowl",
"calories": "319 cal",
"fatContent": "20.2 g"
},
"recipeIngredient": [
"1/2 cup sugar",
"3/4 cup canola oil",
"1 teaspoon salt",
"1/4 cup balsamic vinegar",
"8 cups mixed salad greens",
"2 cups sweetened dried cranberries",
"1/2 pound fresh strawberries, quartered",
"1 mango - peeled, seeded, and cubed",
"1/2 cup chopped onion",
"1 cup slivered almonds"
],
"recipeInstructions": "\n1. Place the sugar, oil, salt, and vinegar in a jar with a lid. Seal jar, and shake vigorously to mix.\n2. In a large bowl, mix salad greens, sweetened dried cranberries, strawberries, mango, and onion. To serve, toss with dressing and sprinkle with almonds."
}



The best strawberry and mango mesclun you’ll ever try!


```

http://schema.org/Recipe
http://schema.org/suitableForDiet
https://jsonld.com/recipe/

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.