Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecipeProcessor ¶
type RecipeProcessor struct {
// contains filtered or unexported fields
}
RecipeProcessor is a json-ld Schema Recipe processor.
func NewRecipeProcessor ¶
func NewRecipeProcessor() *RecipeProcessor
NewRecipeProcessor returns a RecipeProcessor with default settings.
func (*RecipeProcessor) GetRecipeNode ¶
GetRecipeNode searches doc to find a Schema.org Recipe node encoded in ld+json format. If found, the Recipe is serialized into a map. Individual recipe fields can be accessed in the map using the field names defined in https://schema.org/Recipe.
Click to show internal directories.
Click to hide internal directories.