hfeed

package
v0.0.0-...-44d4e1f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2022 License: MIT, CC0-1.0 Imports: 6 Imported by: 0

Documentation

Overview

Package hfeed provides a parser for h-feeds.

See http://microformats.org/wiki/h-feed

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct{}

Parser is capable of reading webpages marked up with the h-feed microformat.

func (Parser) CanRead

func (Parser) CanRead(r io.Reader, charset func(charset string, input io.Reader) (io.Reader, error)) bool

CanRead returns true if the reader provides HTML containing the h-feed microformat.

func (Parser) Read

func (p Parser) Read(r io.Reader, rootURL *url.URL, charset func(charset string, input io.Reader) (io.Reader, error)) (foundChannels []*common.Channel, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL