Versions in this module Expand all Collapse all v0 v0.1.1 Jan 12, 2026 Changes in this version + type Item struct + ID string + InnerHTML map[string][]string + Properties PropertyMap + Types []string + func NewItem() *Item + func (i *Item) CountPaths(prefix string, paths *map[string]int) + func (i *Item) GetNested(keys ...string) (data Microdata, ok bool) + func (i *Item) GetNestedItem(keys ...string) (val *Item, ok bool) + func (i *Item) GetProperties(keys ...string) (arr []interface{}, ok bool) + func (i *Item) GetProperty(keys ...string) (val interface{}, ok bool) + func (i *Item) IsOfSchemaType(itemType string) bool + func (i *Item) IsOfType(itemType ...string) bool + type Microdata struct + Items []*Item + func ParseHTML(r io.Reader, contentType string, urlStr string) (*Microdata, error) + func ParseNode(root *html.Node, urlStr string) (*Microdata, error) + func ParseURL(urlStr string) (*Microdata, error) + func (m *Microdata) GetFirstOfSchemaType(itemType string) *Item + func (m *Microdata) GetFirstOfType(itemType ...string) *Item + type PropertyMap map[string]ValueList + type ValueList []interface