ptd

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package ptd implements Post Type Discovery as defined by https://www.w3.org/TR/post-type-discovery/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PostType added in v1.1.0

func PostType(item *microformats.Microformat) string

PostType determines the type of a post identified by the provided microformat using the Post Type Algorithm.

See also https://www.w3.org/TR/post-type-discovery/#algorithm

func ResponseType added in v1.1.0

func ResponseType(item *microformats.Microformat) string

ResponseType determines the type of a post identified by the provided microformat using the Response Type Algorithm.

See also https://www.w3.org/TR/post-type-discovery/#response-algorithm

Types

This section is empty.

Jump to

Keyboard shortcuts

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