| Server IP : 104.21.4.30 / Your IP : 104.23.197.87 Web Server : Apache System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64 User : simottodesign.com_2tntp341vs7 ( 10011) PHP Version : 8.3.31 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/libhtml-parser-perl/examples/ |
Upload File : |
For most of these scripts if you run them with a file argument, where the file contains some HTML, you should get some output. The 'h*sub' scripts take two arguments the first of which is a perl expression and the second an HTML file. In any case all of the files have an exlanatory comment. For example try running: lynx -dump -source -raw http://www.debian.org > /tmp/a.txt ./hanchors /tmp/a.txt Of course if http://www.debian.org is not your favourite web site you can make the appropriate substitution. hanchors - List all anchors in the HTML hlc - Correct any upper case tags to lower case hstrip - Removes deprecated scripting and styling tags and attributes htextsub - Apply arbirary perl expression to all text within HTML hrefsub - Apply arbirary perl expression to all hrefs within HTML htitle - Print title of the HTML document hdump - Output event information whilst parsing HTML document hform - Print analysis of form controls present in HTML htext - Print all the text from the HTML