link_preview_generator v0.0.3 LinkPreviewGenerator.Parsers.Basic
Basic Parser implementation.
It provides overridable parsing functions that returns unchanged input
LinkPreviewGenerator.Page.t
struct. Main reason behind this is to let
parsers work without need to implement all possible parsing functions.
See __using__/1
macro.
All parsing functions should take LinkPreviewGenerator.Page.t
and
Floki.html_tree
as params and returns LinkPreviewGenerator.Page.t
as result.
Parsing function should not override result from previously invoked parser unless explicit configuration specifies otherwise.
Summary
Functions
Returns list of parsing functions
Macros
This macro should be invoked in all non-basic parsers