SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-HTML-TagReader rpm build for : RedHat EL 7. For other distributions click perl-HTML-TagReader.

Name : perl-HTML-TagReader
Version : 1.10 Vendor : gus_cpan_org
Release : 1.2 Date : 2015-07-14 21:53:51
Group : Applications/CPAN Source RPM : perl-HTML-TagReader-1.10-1.2.src.rpm
Size : 0.30 MB
Packager : Holger Manthey < holger_manthey_bertelsmann_de>
Summary : HTML-TagReader - Perl extension module for reading html/sgml/xml files
Description :
The module implements a fast and small object oriented way of
processing any kind of html/sgml/xml files by tag.

The getbytoken(0) is similar to while(< >) but instead of reading lines
it reads tags or tags and text.

HTML::TagReader makes it easy to keep track of the line number in a file
even though you are not reading the file by line. This important if you
want to implement error messages about html errors in your code.

Here is a program that list all href tags
in a html file together with line numbers and column:

use TagReader;
my $p=new TagReader \"file.html\";
my AATTtag;
while(AATTtag = $p->gettag(1)){
if ($tag[0]=~/ href ?=/i){

$tag[0]=~s/ ?= ?/=/g;
print \"line: $tag[1]: col: $tag[2]: $tag[0]\
\";
}
}

Here is a program that will read a html file tag
wise:

use TagReader;
my $p=new TagReader \"file.html\";
my AATTtag;
while(AATTtag = $p->getbytoken(1)){
if ($tag[1] eq \"\"){
print \"line: $tag[2]: col: $tag[2]: not a tag (some text), \\\"$tag[0]\\\"\
\
\";
}else{
print \"line: $tag[2]: col: $tag[2]: is a tag, $tag[0]\
\
\";
}
}

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/csbuild:/Perl/RHEL_7/x86_64

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  perl-HTML-TagReader-1.10-1.2.x86_64.rpm
     

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

Requires :
libc.so.6()(64bit)
perl(Getopt::Std)
libc.so.6(GLIBC_2.2.5)(64bit)
perl(vars)
perl(HTML::TagReader)
perl(Config)
/bin/sh
rtld(GNU_HASH)
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
perl(Socket)
/usr/bin/perl
perl(File::Basename)
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
perl(Image::Size)
perl(IO::Handle)
libc.so.6(GLIBC_2.4)(64bit)
perl(DynaLoader)
libc.so.6(GLIBC_2.3)(64bit)
rpmlib(PayloadIsXz) <= 5.2-1
perl(IO::File)
perl(strict)
perl => 0:5.003


Content of RPM :
/usr/bin/tr_blck
/usr/bin/tr_delfont
/usr/bin/tr_fixltgt
/usr/bin/tr_httpcheck
/usr/bin/tr_imgaddsize
/usr/bin/tr_llnk
/usr/bin/tr_mvlnk
/usr/bin/tr_staticssi
/usr/bin/tr_tagcontentgrep
/usr/bin/tr_xlnk
/usr/lib64/perl5/vendor_perl/HTML
/usr/lib64/perl5/vendor_perl/HTML/TagReader.pm
/usr/lib64/perl5/vendor_perl/auto
/usr/lib64/perl5/vendor_perl/auto/HTML
/usr/lib64/perl5/vendor_perl/auto/HTML/TagReader
/usr/lib64/perl5/vendor_perl/auto/HTML/TagReader/TagReader.so
/usr/share/doc/perl-HTML-TagReader-1.10
/usr/share/doc/perl-HTML-TagReader-1.10/Changes
/usr/share/doc/perl-HTML-TagReader-1.10/README
/usr/share/doc/perl-HTML-TagReader-1.10/bin
/usr/share/doc/perl-HTML-TagReader-1.10/bin/run_without_installing
/usr/share/doc/perl-HTML-TagReader-1.10/bin/tr_blck
/usr/share/doc/perl-HTML-TagReader-1.10/bin/tr_blck.PL
/usr/share/doc/perl-HTML-TagReader-1.10/bin/tr_delfont
/usr/share/doc/perl-HTML-TagReader-1.10/bin/tr_delfont.PL
/usr/share/doc/perl-HTML-TagReader-1.10/bin/tr_fixltgt
/usr/share/doc/perl-HTML-TagReader-1.10/bin/tr_fixltgt.PL
/usr/share/doc/perl-HTML-TagReader-1.10/bin/tr_httpcheck
/usr/share/doc/perl-HTML-TagReader-1.10/bin/tr_httpcheck.PL
/usr/share/doc/perl-HTML-TagReader-1.10/bin/tr_imgaddsize
There is 23 files more in these RPM.

 
ICM