Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: shtml publisher

by willdooUK (Beadle)
on Jan 30, 2001 at 22:42 UTC ( #55310=note: print w/replies, xml ) Need Help??


in reply to Re: shtml publisher
in thread shtml publisher

Yup, this script has its limitations.

In my case I didn't need it to handle more than one SSI include on one line (but I should have put that in the header)

Since that shtml regexp is only meant to refer to links, it could maybe be changed to
s/href=(.+)\.shtml/href=$1.html/gi
although this would miss links in image maps and it wouldn't work if the href was split over two lines. Opening a can of worms....

It should definately have had the global modifier :)

Thanks for the tips.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://55310]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2020-10-22 03:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (225 votes). Check out past polls.

    Notices?