in reply to Re^2: RFC: Name and/or API for module ("HTML::RewriteURLs")
in thread RFC: Name and/or API for module ("HTML::RewriteURLs")

Well. .. If you don't have options to handle base, then better forget my suggestion to call it Rebase.pm ... ;)

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Updated

wording

  • Comment on Re^3: RFC: Name and/or API for module ("HTML::RewriteURLs")

Replies are listed 'Best First'.
Re^4: RFC: Name and/or API for module ("HTML::RewriteURLs")
by Corion (Patriarch) on Jul 26, 2015 at 14:41 UTC

    I've released it as HTML::Rebase without <base href= support. But while thinking about how to also process the tag, I think support for it should be fairly simple. First scan the HTML for the <base> tag. If it is there, use that URL instead of the user-supplied URL to rewrite all links.

    This will likely get into a later version.