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.
Click to show internal directories.
Click to hide internal directories.