Java Scripting question

Author Message
Steve Sieloff 01/25/2006 10:17 am
Oleg --

Your continued support via this forum is OUTSTANDING and very much appreciated!!!!

I have an issue with OEP (2321) and the following site:

http://www.desotosheriff.com/corrections

If you go to this site and then choose the "Persons who have been previously in jail" link, a new window opens with the first of 7,046 records ... if you hit next you will get record number 2 with the following URL in browser

http://65.40.25.25/FMRes/FMPJS?-db=archived.fp5&-layid=30&-format=formvwcss.htm&-max=1&-skip=1&-token.0=25&-mode=browse&-sortfield=name&-sortorder=ascend&-sortfield=arrest%20date&-sortorder=ascend&-sortfield=time%20in%20jail&-sortorder=ascend&-lop=and&-find

I noticed the max=1&-skip=1&- embedded in URL and changed the skip=1 to skip=2000 and a new record (number 2001) displayed in the browser window. I immediately set up a Project to use a macro of skip={:0..7045} and expected to be OK ... except OEP just reads thru the 7046 URLs in Queue and nothing is parsed or saved ... yet if I copy URLs individually to IE window the records display fine as I change values manually in the URL for skip=

I enabled "Evaluate script calculations" and have level limit turned off ...

Any suggestions?
Steve Sieloff 01/25/2006 10:20 am
Here is current project aettings:

[Object]
OEVersion=Pro 4.1.0.2321
Type=0
IID=62233
Caption=http://65.40.25.25/FMRes/FMPJS?-db=in%5fout.fp5&-layid=30&-format=formvwcss.htm&-max=1&-skip={:0..7045}&-token.0=25&-mode=browse&-sortfield=name&-sortorder=ascend&-lop=and&-find
URL=http://65.40.25.25/FMRes/FMPJS?-db=in%5fout.fp5&-layid=30&-format=formvwcss.htm&-max=1&-skip={:0..7045}&-token.0=25&-mode=browse&-sortfield=name&-sortorder=ascend&-lop=and&-findReferer=http://65.40.25.25/FMRes/FMPJS?-db=in%5fout.fp5&-layid=30&-format=formvwcss.htm&-max=1&-skip=0&-token.0=25&-mode=browse&-sortfield=name&-sortorder=ascend&-lop=and&-find
Lev=1000001
Weekday=257
LimTSize=10000
LimNumber=5000
LimTime=100
EnableForms=True
FMGroup=1
FTText.Exts=htmlhtmaspaspxjspstmstmlidcshtmlhtxtxttextxspxmlrxmlcfmwmlphpphp3
FTImages.Exts=gifjpgjpegtiftiffxbmfifbmppngipxjp2j2cj2kwbmplwf
FTVideo.Exts=mpgavianimpegmovfliflcvivrmramrvasfasxwmvm1vm2vvob
FTAudio.Exts=wavriffmp3midmp2m3uravocwmaape
FTArchive.Exts=ziparcgzzarjlhalayleirarcabtarpakacejarpdf
FTUDef.Exts=classcssdtdfp5jsssiswfvbsxsl xxxxxxxxx
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
RProt=127
LastStart=93:55:47:170:205:234:226:64:
LastEnd=168:19:247:170:205:234:226:64:
S400=4
SAbr=7042
SLast=400
LSize=14664
Stopped=True
ImgDim=0,0,0,0
PrevURL=http://65.40.25.25/FMRes/FMPJS?-db=in%5fout.fp5&-layid=30&-format=formvwcss.htm&-max=1&-skip=0&-token.0=25&-mode=browse&-sortfield=name&-sortorder=ascend&-lop=and&-find
ExploreDirs=True
ExploreSSMaps=True
ParseComplexScripts=True
ConvertRSS=True



> Oleg --
>
> Your continued support via this forum is OUTSTANDING and very much appreciated!!!!
>
> I have an issue with OEP (2321) and the following site:
>
> http://www.desotosheriff.com/corrections
>
> If you go to this site and then choose the "Persons who have been previously in jail" link, a new window opens with the first of 7,046 records ... if you hit next you will get record number 2 with the following URL in browser
>
> http://65.40.25.25/FMRes/FMPJS?-db=archived.fp5&-layid=30&-format=formvwcss.htm&-max=1&-skip=1&-token.0=25&-mode=browse&-sortfield=name&-sortorder=ascend&-sortfield=arrest%20date&-sortorder=ascend&-sortfield=time%20in%20jail&-sortorder=ascend&-lop=and&-find
>
> I noticed the max=1&-skip=1&- embedded in URL and changed the skip=1 to skip=2000 and a new record (number 2001) displayed in the browser window. I immediately set up a Project to use a macro of skip={:0..7045} and expected to be OK ... except OEP just reads thru the 7046 URLs in Queue and nothing is parsed or saved ... yet if I copy URLs individually to IE window the records display fine as I change values manually in the URL for skip=
>
> I enabled "Evaluate script calculations" and have level limit turned off ...
>
> Any suggestions?
Oleg Chernavin 01/25/2006 10:41 am
Steve,

I was able to load it by setting NTLM box in the Options dialog - Proxy section. However the page heavily uses scripts and I cannot make it display anything offline. I don`t know, maybe you will have an idea regarding scripts there.

Best regards,
Oleg Chernavin
MP Staff
Steve Sieloff 01/25/2006 11:51 am
Oleg --

Thanks for the reply ... I duplicated your outputs but am unable to display them offline also ... looks like I will have to manually browse and scrape these pages ... got to go back and get familiar with ContentSaver toolbar launched scraper ... better yet, would MP Inquiry save these pages if manually browsed?

Steve

> Steve,
>
> I was able to load it by setting NTLM box in the Options dialog - Proxy section. However the page heavily uses scripts and I cannot make it display anything offline. I don`t know, maybe you will have an idea regarding scripts there.
>
> Best regards,
> Oleg Chernavin
> MP Staff
Oleg Chernavin 01/25/2006 12:08 pm
Yes, Inquiry saves and displays them well. You could also copy the URL to clipboard and paste it into Inquiry to load and save the page automatically.

Oleg.