How to download site like www.mcmaster.com

Author Message
Vincent 02/26/2006 08:43 am
Hi,
I tried to use OE to download some pages of www.mcmaster.com, but it didn`t work.
This site use Java script to check parent pages, if it finds you are not retrieving new page from home frame page, it would return you a blank page. I tried to check on "evaluation script calculation" but still no result.

Can you help to check it, is this site can`t be loaded at all.

[Object]
OEVersion=Enterprise 4.1.0.2328
Type=0
IID=7012
Caption=http://www.mcmaster.com/
URL=http://www.mcmaster.com/
Lev=4
Weekday=257
LimTSize=10000
LimNumber=5000
LimTime=100
EnableForms=True
FTText.Exts=htmlhtmaspaspxjspstmstmlidcshtmlhtxtxttextxspxmlrxmlcfmwmlphpphp3
FTImages.Exts=gifjpgjpegtiftiffxbmfifbmppngipxjp2j2cj2kwbmplwf
FTVideo.Exts=mpgavianimpegmovfliflcvivrmramrvasfasxwmvm1vm2vvob
FTAudio.Exts=wavriffmp3midmp2m3uravocwmaape
FTArchive.Exts=ziparcgzzarjlhalayleirarcabtarpakacejarpdftgz
FTUDef.Exts=jscssssivbsdtdxslswfclass
FTText.B=ooxooo
FTImages.B=ooxooo
FTVideo.B=ooxooo
FTAudio.B=ooxooo
FTArchive.B=ooxooo
FTUDef.B=ooxooo
FTOther.B=ooxooo
FTSizes=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,0,3,0
RSrvsBx=2
RPathBx=2
RProt=127
LastStart=30:252:255:178:190:238:226:64:
LastEnd=72:177:142:86:192:238:226:64:
S200=4
S304=7
SPar=10
SSav=4
SLast=304
SSiz=11250
LFiles=11
LSize=11699
ImgDim=0,0,0,0
ParseComplexScripts=True
Oleg Chernavin 02/26/2006 09:19 am
The only way is to find all nav/toolbar.asp.... files in the Project map, edit them, find OnLoad() function there and remove the following 4 lines from each of these files:

if (typeof sesnextrep == "undefined" || sesnextrep == null || sesnextrep == ``) {
parent.parent.location.assign("../ident/removecookie.asp@redirecturl=_2Findex.asp");
parent.parent.location.reload;
}

Best regards,
Oleg Chernavin
MP Staff
Vincent 02/26/2006 08:10 pm
Yes, Oleg:

I found the same way as yours, it would stop the hope page refleshing all the time, and the home page can be loaded and display. But have you check the level2 or level3 link in the site? They are still can`t be loaded. The Java script is like as this:


<html>
<head>
<SCRIPT language="javascript" src="/include/mcmglobals002.js"></SCRIPT><SCRIPT language="javascript" src="/include/Framework001.js"></SCRIPT>
</head>
<script language="javascript">if (parent.location.href.lastIndexOf("framework.asp") >= 0) { if (parent.parent.McMMain) parent.parent.McMMain.location = location; } else{ frameworkInit(`reqTyp=parametric&act=SlctFmly&FAM=aluminumppf,brassppf,ironsteelppf,plasticppf,ssppf&VAL=,,,,&desc=Pipe+Fittings&sesnextrep=521502385010972`,``);
document.write(`<frameset border="0" rows="0,0,*" name="Framework" id="Framework">`);
document.write(`<frame src="http://www.mcmaster.com/nav/Toolset.asp?` + frameworkGetState(``) + `" name="Toolset" id="Toolset" scrolling="no" frameborder="0" marginheight="0" marginwidth="0">`);
document.write(`<frame src="http://www.mcmaster.com/FrameworkActnSubmit.html"name="FrameworkSubmitTarget" id="FrameworkSubmitTarget"scrolling="NO" noresize frameborder="0" marginheight="0" marginwidth="0">`);
document.write(`<frame src="http://www.mcmaster.com/param/asp/SelectFamily2.asp?` + frameworkGetState(``) + `" name="parametric" id="parametric" scrolling="AUTO" frameborder="0" marginheight="0" marginwidth="0">`);
document.write(`</frameset>`);
} </script>

</html>

Can you find any solution for that?
Oleg Chernavin 02/27/2006 07:32 am
No. The only way is to use AutoSave to manually get all missing pages.

Oleg.
Vincent 02/27/2006 11:18 am
> No. The only way is to use AutoSave to manually get all missing pages.
>
> Oleg.

Thanks, anyway.
Oleg Chernavin 02/27/2006 03:04 pm
You are welcome!

Oleg.