The problem centers on the webpage generated by OE is not changing all of the path information for links on the page. I am at a webpage like this:
http://www.server.com/members/folder/load.asp?arg1=img_aaa&arg2=dir_bbb
I sent the URL substitution rule to the following:
URL: */load.asp?arg1=*&arg2=*
Replace: load.asp?arg1=**&arg2=*
With: */**.htm
You can see the webpage is one folder lower in the chain than what is used on the originating website.
But inside the webpage itself are a lot of references to images that are displayed on the page like
1) Src=`images/top_bar.gif`
2) and others like mouse_over=`images/home_over.gif`
3) and some with src=`/secret_members/images/dir_bbb/img_aaa`
The problem is with my new subfolder listed in Replace: and With: above and OE making the downloaded page anywhere in the folder chain, I am off, in this case, by one folder.
Using the above as an example, they should be:
1) src=`.../images/top_bar.gif`
2) mouse_over=`../images/home_over.gif`
3) src=`../../../secret_members/images/dir_bbb/img_aaa`
But OE is off, as I said, by one folder so they are coming up as:
1) src=`images/top_bar.gif`
2) mouse_over=`images/home_over.gif`
3) src=`../../secret_members/images/dir_bbb/img_aaa`
FYI, the images themselves are downloaded to the proper folders. It is the webpage images and some links in the redirected and OE generated webpages that are referenced wrong.
Is there anything you can suggest I can add to the `URL Substitution` rules to fix this? I tried all kind of parameters for URL/Replace/With without success.
Thanks
Best regards,
Oleg Chernavin
MP Staff
http://www.metaproducts.com/download/betas/oep1794.zip
Does it work well?
Best regards,
Oleg Chernavin
MP Staff
> I think, I have fixed that. Here is the updated file:
> > http://www.metaproducts.com/download/betas/oep1794.zip
> > Does it work well?
> > Best regards,
> Oleg Chernavin
> MP Staff
Oleg.
Say I have this link:
http://www.server.com/members/showpic.php?dir=abc&pic=001
I have this URL Substitution rule:
URL: */showpic.php?dir=*&pic=*
Replace: /showpic.php?dir=**&pic=*
With: /**/*.htm
The URL downloads works fine. The images are downloads fine. The image, after reading the page source, is at: http://www.server.com/members/images/abc/001.jpg. Now at the end of downloading everything successfully, it appears that OE makes another attempt to download images from this location: http://members/private/abc/001.jpg. Obviously this fails because the URL (www.server.com) is missing. This happens everytime with URL Substitution for me. If you are testing, make sure you try a site that is displaying a picture based on a server-side script (php). If you are not watching the downloading of the files, you will think nothing is wrong. I can still export successfully. I only noticed the error because I was watching the download in progress.
I tried the same download without any URL substitution and I do not get this error.
I hope this helps.
> Can you please explain it with more details?
> > Oleg.
Oleg.
> Could you please tell me a particular site that works this way? I can`t recall right now any of them. Maybe you would better write me by E-mail?
> > Oleg.
Oleg.