Hi Mike,

On Thu, 17 Apr 2014 10:01:35 -0700
Mike McClain <mike.j...@nethere.com> wrote:

> Hi,
>     My brother Rick, a windrider, put together a webpage,
> http://www.photographers1.com/Sailing/NauticalTerms&Nomenclature.html
> about sailing and wind surfing that has grown too large and should be
> split into smaller sections to reduce load time.
>     Can anyone point me to any tools/modules that would automate the
> process of fixing all the links?

Not sure if there's anything ready made, but you can use an HTML
parsing/manipulation module or framework. See:

* http://perl-begin.org/uses/text-parsing/

* http://perl-begin.org/uses/web-automation/

(*Note*: perl-begin.org is a site I originated and maintain).

And write some code using it.

Before you do all that, it is a good idea to make sure the HTML markup
validates so the parser will have an easier time:

* http://perl-begin.org/tutorials/bad-elements/#generating_non_valid_markup

See:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.photographers1.com%2FSailing%2FNauticalTerms%26Nomenclature.html

Perhaps https://metacpan.org/pod/HTML::Tidy and
https://github.com/petdance/tidyp will prove of utility.

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Optimising Code for Speed - http://shlom.in/optimise

The apple completely supplanted the tree.
    — http://www.shlomifish.org/humour/Summerschool-at-the-NSA/

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to