HTML::Quoted man page on Alpinelinux

Man page or keyword search:  
man Server   18016 pages
apropos Keyword Search (all sections)
Output format
Alpinelinux logo
[printable version]

HTML::Quoted(3)	      User Contributed Perl Documentation      HTML::Quoted(3)

NAME
       HTML::Quoted - extract structure of quoted HTML mail message

SYNOPSIS
	   use HTML::Quoted;
	   my $html = '...';
	   my $struct = HTML::Quoted->extract( $html );

DESCRIPTION
       Parses and extracts quotation structure out of a HTML message.  Purpose
       and returned structures are very similar to Text::Quoted.

SUPPORTED FORMATS
       Variouse MUAs use quite different approaches for quoting in mails.

       Some use blockquote tag and it's quite easy to parse.

       Some wrap text into p tags and add '>' in the beginning of the
       paragraphs.

       Things gettign messier when it's an HTML reply on plain text mail
       thread.

       If you found format that is not supported then file a bug report via
       rt.cpan.org with as short as possible example. Test file is even
       better. Test file with patch is the best. Not obviouse patches without
       tests suck.

METHODS
   extract
	   my $struct = HTML::Quoted->extract( $html );

       Takes a string with HTML and returns array reference. Each element in
       the array either array or hash. For example:

	   [
	       { 'raw' => 'Hi,' },
	       { 'raw' => '<div><br><div>On date X wrote:<br>' },
	       [
		    { 'raw' => '<blockquote>' },
		    { 'raw' => 'Hello,' },
		    { 'raw' => '<div>How are you?</div>' },
		    { 'raw' => '</blockquote>' }
	       ],
	       ...
	   ]

       Hashes represent a part of the html. The following keys are meaningful
       at the moment:

       ·   raw - raw HTML

       ·   quoter_raw, quoter - raw and decoded (entities are converted)
	   quoter if block is prefixed with quoting characters

AUTHOR
       Ruslan.Zakirov <ruz@bestpractical.com>

LICENSE
       Under the same terms as perl itself.

perl v5.18.2			  2011-01-09		       HTML::Quoted(3)
[top]

List of man pages available for Alpinelinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net