如何为Google Assistant启用食谱Schema以共享至Google Home Hub及相关文档查询
Hey there! I’ve spent a good amount of time tinkering with Google Assistant and Actions tools, so let me break this down for you clearly.
启用方法
Getting your recipes/guides to show up and send to Google Home Hub boils down to proper schema implementation and indexing:
- Add structured data to your content: Use
RecipeorHowToschema (from Schema.org) in JSON-LD format on your webpage. This tells Google exactly what your content is. Here’s a quick example for a recipe:<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Recipe", "name": "Classic Chocolate Chip Cookies", "ingredients": [ "1 cup butter, softened", "1 cup white sugar", "1 cup packed brown sugar", "2 eggs" ], "recipeInstructions": [ { "@type": "HowToStep", "text": "Preheat oven to 350 degrees F (175 degrees C)." }, { "@type": "HowToStep", "text": "Cream together the butter, white sugar, and brown sugar until smooth." } ] } </script> - Validate your schema: Run your page through Google’s Structured Data Testing Tool to fix any syntax errors or missing required fields—this is non-negotiable for Google to recognize your content.
- Ensure your page is indexed: Submit your URL to Google Search Console to speed up crawling and indexing. If your page is already indexed, give it a few days for Google to process the new schema.
- Test on Home Hub: Once indexed, either search for your content on Google, find your result, and tap the Send to Hub button. Or use a voice command like: "Hey Google, send [your recipe/guide name] to my Home Hub" (make sure your Assistant knows which device to target if you have multiple).
相关文档位置
The old Google Actions docs you referenced have been merged into Google’s updated developer resources—here’s where to find what you need:
- Search Structured Data Docs: This is the core resource for
RecipeandHowToschema specs. Search for "Google Search Structured Data Recipe" or "HowTo" directly to access detailed field requirements, examples, and validation guidelines. - Actions on Google Docs: Look for the Search Actions section—it explains how structured content integrates with Google Assistant, including support for sending results to smart displays like Home Hub. If you want to build custom voice interactions beyond basic sharing, the Actions Builder docs also have relevant guides.
Pro tip: If you remember specific terms from the old Actions page, pair them with "Google Assistant Home Hub" in your search—this will help you track down the updated content faster.
内容的提问来源于stack exchange,提问作者Modern Beatnik
相关产品推荐
相关产品推荐

