• Resolved avobelle

    (@avobelle)


    Looking at the Google Search Console I just realized, that there are some issues with the recipeYield information provided in the schema.org markup.

    This is google’s guideline:
    https://developers.google.com/search/docs/data-types/recipe

    The quantity produced by the recipe. Specify the number of servings produced from this recipe with just a number. If you wish to use a different unit (for example, number of items), you may include additional yields. This is required if you specify any nutritional information per serving (such as nutrition.calories).

    "recipeYield": [
      "6",
      "24 cookies"
    }

    However, this plugin provides a number, as well as a text field that goes with it. Both of them are then combined in the markup. –> or at least that’s how it shows up on my page. Please let me know if this is not the result of your plugin.

    This, of course, doesn’t correspond with the Google guideline of having a numeric value, potentially followed by a seperate value and/or description.

    Any way to incorporate a method to achieve the result from the example above?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Brecht

    (@brechtvds)

    This was fixed in version 6.0.4 as soon as Google started sending warnings about this.

    Thread Starter avobelle

    (@avobelle)

    Completely missed the update, sorry for that!

    Thanks – absolutely amazing!

    Plugin Author Brecht

    (@brechtvds)

    No problem, just let me know if you notice any other issues at all!

    Thread Starter avobelle

    (@avobelle)

    Well, there’s actually one more, that I’m guessing came with Google’s changes:

    Missing field “name”
    First detected: 5/18/20
    Status: Warning

    This refers to the name of the instruction step. Not a big fan of Google wanting a name for each instruction step, but it would probably make sense to include the option.

    Plugin Author Brecht

    (@brechtvds)

    That’s indeed part of the new Guided Recipes metadata:
    https://help.bootstrapped.ventures/article/263-metadata-for-guided-recipes

    With 6.0.4 that warning will also go away as we reuse the regular instruction text for the name field (that’s how we’ve had it for How-to Instructions metadata for a long time without any issues). There will also be an update this week that allows you to manually set that Name field for each instruction step.

    Thread Starter avobelle

    (@avobelle)

    I actually made sure to check the output before posting and couldn’t find the name …looks like I didn’t look closely enough. Checked again and found it. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘RecipeYield: Invalid Number’ is closed to new replies.