The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Catmandu::Fix::html_filter_tag - filter html tags

SYNOPSIS

   # keep only the meta tags information
   html_filter_tag(meta)
   # produces:
   # ---
   # html:
   #   - [S,html,{},[],<html>]
   #   - ...
   #   - [E,html,</html>]

   # group all attributes of the meta tags grouped by name
   html_filter_tag(meta,group_by:name)
   # produces:
   # ---
   # html:
   #  citation_author:
   #   content: Linda M. Scott
   #  citation_doi:
   #   content: 10.1353/asr.0.0023
   #  citation_fulltext_html_url:
   #   content: https://muse.jhu.edu/article/260988
   #  citation_issn:
   #   content: 1534-7311
   # {etc}

SEE ALSO

Catmandu::Fix