Catmandu::Fix::html_filter_tag - filter html tags
# 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}
Catmandu::Fix
To install Catmandu::HTML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::HTML
CPAN shell
perl -MCPAN -e shell install Catmandu::HTML
For more information on module installation, please visit the detailed CPAN module installation guide.