Convert HTML document to use relative links ?

2008-09-03 Thread Andre Majorel
Is there is program to make all links relative in HTML documents saved in wget -x fashion ? (http://foo.com/a/b.html saved as ./foo.com/a/b.html.) For example, - if ./foo.com/a/b.html contains img src=/images/d.jpg and ./foo.com/images/d.jpg exists, replace that

Re: Convert HTML document to use relative links ?

2008-09-03 Thread Owen Townend
2008/9/3 Andre Majorel [EMAIL PROTECTED]: Is there is program to make all links relative in HTML documents saved in wget -x fashion ? (http://foo.com/a/b.html saved as ./foo.com/a/b.html.) For example, - if ./foo.com/a/b.html contains img src=/images/d.jpg and

Re: Convert HTML document to use relative links ?

2008-09-03 Thread Raj Kiran Grandhi
Owen Townend wrote: 2008/9/3 Andre Majorel [EMAIL PROTECTED]: Is there is program to make all links relative in HTML documents saved in wget -x fashion ? (http://foo.com/a/b.html saved as ./foo.com/a/b.html.) For example, - if ./foo.com/a/b.html contains img src=/images/d.jpg and