SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-HTML-Strip rpm build for : OpenSuSE 12.X. For other distributions click perl-HTML-Strip.

Name : perl-HTML-Strip
Version : 2.09 Vendor : http://Packman_links2linux_de
Release : 1.1 Date : 2015-05-21 09:34:09
Group : Development/Libraries/Perl Source RPM : perl-HTML-Strip-2.09-1.1.src.rpm
Size : 0.04 MB
Packager : packman_links2linux_de
Summary : Perl extension for stripping HTML markup from text
Description :
This module simply strips HTML-like markup from text in a very quick and
brutal manner. It could quite easily be used to strip XML or SGML from text
as well; but removing HTML markup is a much more common problem, hence this
module lives in the HTML:: namespace.

It is written in XS, and thus about five times quicker than using regular
expressions for the same task.

It does _not_ do any syntax checking (if you want that, use the
HTML::Parser manpage), instead it merely applies the following rules:

* 1

Anything that looks like a tag, or group of tags will be replaced with a
single space character. Tags are considered to be anything that starts
with a \'< \' and ends with a \'>\'; with the caveat that a \'>\' character may
appear in either of the following without ending the tag:

* Quote

Quotes are considered to start with either a \'\'\' or a \'\"\' character,
and end with a matching character _not_ preceded by an even number or
escaping slashes (i.e. \'\\\"\' does not end the quote but \'\\\\\\\\\"\' does).

* Comment

If the tag starts with an exclamation mark, it is assumed to be a
declaration or a comment. Within such tags, \'>\' characters do not end
the tag if they appear within pairs of double dashes (e.g. \'< !-- < a
href=\"old.htm\">old page< /a> -->\' would be stripped completely). Inside
a comment, no parsing for quotes is done as well. (That means \'< !--
comment with \' quote \" -->\' are entirely stripped.)

* 2

Anything the appears within so-called _strip tags_ is stripped as well.
By default, these tags are \'title\', \'script\', \'style\' and \'applet\'.

HTML::Strip maintains state between calls, so you can parse a document in
chunks should you wish. If one chunk ends half-way through a tag, quote,
comment, or whatever; it will remember this, and expect the next call to
parse to start with the remains of said tag.

If this is not going to be the case, be sure to call $hs->eof() between
calls to $hs->parse(). Alternatively, you may set \'auto_reset\' to true on
the constructor or any time after with \'set_auto_reset\', so that the parser
will always operate in one-shot basis (resetting after each parsed chunk).

RPM found in directory: /packages/linux-pbone/packman.iu-bremen.de/suse/openSUSE_12.3/Multimedia/i586

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  perl-HTML-Strip-2.09-1.1.i586.rpm
     Search for other platforms
perl-HTML-Strip-2.09-1.1.sparc.rpm
perl-HTML-Strip-2.09-1.1.alpha.rpm
perl-HTML-Strip-2.09-1.1.ppc.rpm
perl-HTML-Strip-2.09-1.1.ia64.rpm
perl-HTML-Strip-2.09-1.1.s390.rpm

Provides :
Strip.so
perl(HTML::Strip)
perl-HTML-Strip
perl-HTML-Strip(x86-32)

Requires :
libc.so.6
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1.3)
libc.so.6(GLIBC_2.3)
libc.so.6(GLIBC_2.3.4)
perl = 5.16.2
perl(Test::Exception)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.16.2/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.16.2/i586-linux-thread-multi/HTML
/usr/lib/perl5/vendor_perl/5.16.2/i586-linux-thread-multi/HTML/Strip.pm
/usr/lib/perl5/vendor_perl/5.16.2/i586-linux-thread-multi/auto/HTML
/usr/lib/perl5/vendor_perl/5.16.2/i586-linux-thread-multi/auto/HTML/Strip
/usr/lib/perl5/vendor_perl/5.16.2/i586-linux-thread-multi/auto/HTML/Strip/Strip.bs
/usr/lib/perl5/vendor_perl/5.16.2/i586-linux-thread-multi/auto/HTML/Strip/Strip.so
/usr/share/doc/packages/perl-HTML-Strip
/usr/share/doc/packages/perl-HTML-Strip/Changes
/usr/share/doc/packages/perl-HTML-Strip/README
/usr/share/man/man3/HTML::Strip.3pm.gz

 
ICM