Go library for parsing microformats
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

microformats

GoDoc Build Status MIT License

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.

License

microformats is released under an MIT license. Though portions are copyright Google, it is not an official Google product.