Ignore part of the filename?

Author Message
Whoever 12/19/2003 07:31 pm
This kind of link is quite often recently on forums:

http://... /forumdisplay.php?fid=11&page=8&sid=yOXDk6

Where the sid= is session id. It`s different everytime you start a project and sometime changes in the middle of downloading sessions.

Is there a way to ignore the last portion of the URL and consider the following two the same and do not try to download both?

http://... /forumdisplay.php?fid=11&page=8&sid=yOXDk6
http://... /forumdisplay.php?fid=11&page=8&sid=wHaTeVeR

Thanks.
Oleg Chernavin 12/20/2003 06:34 pm
Yes, it will be possible in Offline Explorer Pro 3.0 version soon. I will try to finish URL Substitutes feature there on the next week and it will be possible to cut URL parts easily.

Best regards,
Oleg Chernavin
MP Staff
Oleg Chernavin 12/22/2003 07:20 am
I just uploaded the updated oe.exe file that supports that kind of operation. Here it is:

http://www.metaproducts.com/download/betas/oep1473.zip

Please unzip it and replace the old oe.exe file with the new one.

Now you will be able to add a URL Substitution rule in your Project Properties | Advanced section:

URL:
*
Replace:
&sid=*
With:

(keep the With field empty). Click Add button to add the rule, OK button to close Substitutes dialog and another OK button to save changes in the Project settings.

Now Offline Explorer Pro will remove all Session IDs of that kind from the URLs it loads.

Oleg.
Whoever 01/12/2004 09:18 am
Thanks for the update. I just came back and trying to test it.

One thing in case you still track this thread:

With the previous version, I change the configuration file to C:\OfflineExplorerProj\Configuration so that they won`t get lost during upgrade. But I forgot where and how I did it. There is a registry key Parameters\CurrentDir points to the location, but seem have no effect on 3.0Beta1. Beta1 even reset that key to empty, but old version still be able to pickup the configuration somehow. Any hints? Thanks
Oleg Chernavin 01/22/2004 09:09 am
If that registry value is empty, Offline Explorer uses the same directory where it is installed. You will find all your Projects in the webdown.dat file there.

Oleg.