indieweb-algorithms-0.1.0: A collection of implementations of IndieWeb algorithms.

Safe HaskellNone
LanguageHaskell2010

Data.IndieWeb.MicroformatsUtil

Synopsis

Documentation

allMicroformatsOfType :: Text -> Value -> Maybe [(Value, [Value])] Source

Recursively finds microformats of a given type, also keeping the path (in reverse order) that led to them. Returns Nothing when the given Value isn't an object with an items key, ie. is not a result of Microformats 2 parsing.