Re: WANTED: HTML parser with inline replace

"Tatsuhiko Miyagawa" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
I'm not sure what you mean by "resolve ALL links" but my
HTML::ResolveLink would do the job quite nicely.
http://search.cpan.org/~miyagawa/HTML-ResolveLink-0.05/lib/HTML/ResolveLink.pm

It uses HTML::TagSet implementation to figure out which links are to
be resolved. Even if it doesn't work for you, the module's code might
be worth looking at.

On 1/6/08, Tuc at T-B-O-H.NET <[email protected]> wrote:
> Hi,
>
>        Not sure what group this really belongs on, sorry.
>
>        I'm looking to take ANY HTML document from ANY site. I want to
> then be able to resolve *!ALL!* links (Be they CSS, background, form,
> text, image, etc {I know weird things like Javascript or possibly
> applets might be pushing it}, and then be able to go through the list,
> get both the listed and absolute URL for the link, and globally change
> it.
>
>        Is there one good module to do that. I was going down the path
> of WWW::Mechanize, and had it doing text/images, but when I got to
> forms I started my testing and realized it wasn't handling CSS, background
> and some other things.
>
>        Any pointers are appreciated. I've been looking at module after
> module and just not seeming to find it.
>
>                        Thanks, Tuc
>


-- 
Tatsuhiko Miyagawa
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.