HTML::parser problem?

by bobmin(at)nidlink.com

 Date:  Fri, 22 Sep 2000 14:46:36 -0700
 To:  hwg-languages(at)hwg.org
  todo: View Thread, Original
Greetings, 
 I am wondering if someone can shed some light on this problem. 
The following code fragment has been sucessful in extracting links 
to nearly every url I've tried in the last few weeks.

# Parse the html, breaking out the links

$tree=HTML::Parse::parse_html($body);
$link_refs=$tree->extract_links(); # pull out ALL links, images etc.
@links=sort(@$link_refs);

$tree=$tree->delete();

 Unfortunately this evening while continuing my testing, I ran into a
problem concerning the html found at www.trainyardsoftware.com. 
Even though this looks like perfectly good html to me, the code is 
failing to detect any links at all.

 Could my server be using an out of date html module? And if so, 
how can I found out the version number of any of the modules that 
are installed?

 Thanks
 Bob Minnick, Northern Webs
      http://www.northernwebs.com

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.