auth/vendor/willnorris.com/go/microformats/README.md

1.3 KiB

microformats

GoDoc
Test Status
Test Coverage

microformats is a go library and tool for parsing microformats, supporting
both classic v1 and v2 syntax. It is based on Andy Leap's original
library
.

Usage

Import the package:

import "willnorris.com/go/microformats"

Fetch the HTML contents of a page, and call Parse or ParseNode,
depending on what input you have (an io.Reader or an html.Node). See an
example of each in cmd/gomf/main.go.