Documentation ¶
Overview ¶
Package jf2 converts microformats to JF2
Index ¶
- func CleanHTML(s string) (string, error)
- func ConvertItem(item interface{}, md *microformats.Microformat)
- func SimplifyMicroformatDataAuthor(md *microformats.Data) (microsub.Card, bool)
- func SimplifyMicroformatDataItems(md *microformats.Data) []microsub.Item
- func SimplifyMicroformatItem(mdItem *microformats.Microformat, author microsub.Card) (microsub.Item, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertItem ¶
func ConvertItem(item interface{}, md *microformats.Microformat)
ConvertItem converts items based on struct tags
func SimplifyMicroformatDataAuthor ¶
func SimplifyMicroformatDataAuthor(md *microformats.Data) (microsub.Card, bool)
SimplifyMicroformatDataAuthor simplfies a microformats.Data object containing a Card
func SimplifyMicroformatDataItems ¶
func SimplifyMicroformatDataItems(md *microformats.Data) []microsub.Item
SimplifyMicroformatDataItems simplfies a microformats.Data object
func SimplifyMicroformatItem ¶
func SimplifyMicroformatItem(mdItem *microformats.Microformat, author microsub.Card) (microsub.Item, bool)
SimplifyMicroformatItem simplfies a Microformat object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.