SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

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

Name : perl-HTML-Strip
Version : 2.120.0 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp155.1.1 Date : 2024-07-23 21:57:58
Group : Unspecified Source RPM : perl-HTML-Strip-2.120.0-lp155.1.1.src.rpm
Size : 0.04 MB
Packager : https://www_suse_com/
Summary : Perl extension for stripping HTML markup from text
Description :
This module simply strips HTML-like markup from text rapidly and brutally.
It could easily be used to strip XML or SGML markup instead - but as
removing HTML is a much more common problem, 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 HTML::Parser.
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). No parsing
for quotes is performed within comments, so for instance \'< !-- comment with
both \' quote types \" -->\' would be entirely stripped.

* 2

Anything that appears between tags which we term _strip tags_ is removed.
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 a call to \'parse()\' ends half-way through a tag,
quote or comment; the next call to \'parse()\' expects its input to carry on
from that point.

If this is not the behaviour you want, you can either call \'eof()\' between
calls to \'parse()\', or set \'auto_reset\' to true (either on the constructor
or with \'set_auto_reset\') so that the parser will reset after each call.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/15.5/x86_64

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  perl-HTML-Strip-2.120.0-lp155.1.1.x86_64.rpm
     

Provides :
perl(HTML::Strip)
perl-HTML-Strip
perl-HTML-Strip(x86-64)

Requires :
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
perl(:MODULE_COMPAT_5.26.1)
perl(Test::Exception)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/HTML
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/HTML/Strip.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/auto/HTML
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/auto/HTML/Strip
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-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