Offline .js and .asp conversion problems

devin M. arnold
03/29/2006 07:01 am
Hello,

When I try to export an offline version of an internal website that is made up of mostly .asp files, OE is converting all of the .asp files to .asp.htm so instead of index.asp being exported it exports out index.asp.htm. Since it renames these files on export, the .js file still refers to the file as index.asp.

Is there a way to fix this?

Also, I am noticing that when I export to offline the .js file that is used for left hand navigation urls is being rewritten but the pathing is not correct so the original path looks like this:

discovery.services.hp.com/behavioral_skills.asp

but the .js file that OE creates has a link that looks like this:

b\havioral_skills.asp

You`ll notice that the "discovery.services.hp.com/" portion of the path has been removed and it looks like it wants a directory named "b" created with a .asp files named "havioral_skills.asp" sitting inside of it.

Any suggestions?

thanks,

devin M. arnold
devin M. arnold
03/29/2006 07:01 am
I figured out how to keep the .asp file name.

Go under Export Projects>Use standard extensions for files with known file types and make sure that it`s not checked.

Solved.

I am still having the issue with OE wrongly converting the paths within .js and the .asp files it downloads and translates
Oleg Chernavin
03/29/2006 07:01 am
Thank you for the problem report. Is it possible somehow to reproduce it on some public site? And can you please tell me about all settings in the Export dialog? As you probably know, our site is also ASP-driven. I downloaded some parts of it with Offline Explorer Pro, exported them, but I haven`t faced such problem with slashes inside filenames.

Best regards,
Oleg Chernavin
devin M. arnold
03/29/2006 07:01 am
Oleg,

These are what links to a .js file and .css file look like BEFORE OE downloads and parses the .asp page:

http://discovery.inet.cpqcorp.net/hp%20js/header.js
http://discovery.inet.cpqcorp.net/hp%20js/local6.js
http://discovery.inet.cpqcorp.net/hp%20js/athp_style.css

AFTER OE downloads and parses the .asp page these links look like this:

../discovery.inet.cpqcorp.net/hp%20js/h/ader.js
../discovery.inet.cpqcorp.net/hp%20js/l/cal6.js
../discovery.inet.cpqcorp.net/hp%20js/a/hp_style.css

As you can see from the above examples, OE is consistently replacing the second character in the actual .js or .css filename with a backslash character.

Why is this happening?

thanks,

devin
Oleg Chernavin
03/29/2006 07:01 am
Devin,

The site http://discovery.inet.cpqcorp.net/ is not accessible online. Is there any public mirror of it?

Oleg.
devin M. arnold
03/29/2006 07:01 am
Oleg.

Unfortunately the website is internal and can only be seen by hp employees.

Given the information i`ve already posted in regards to this topic, is it possible for you to check the parsing routines within OE to see if the problem I am experiencing could manifest itself?

If the parsing engine is correct, what could I be doing wrong on my end for this problem to be happening? Could it be a bad hd driver or something? I know I followed the instructions properly.

thanks,

devin
Oleg Chernavin
03/29/2006 07:01 am
I just checked if subdomains influences that process - nothing found as well.

Can we go another way - I would make a special version that will log links translation operations while exporting a Project. I will ask you to download and make one export using it. I hope it will shed some light on the problem.

Thank you.

Oleg.
devin M. arnold
03/29/2006 07:01 am
Oleg,

that sounds execellent. let me know how i can download it.

as a sidenote i ran chkdsk on all of my hd`s and it found a number of errors. maybe this would cause the problem?

cheers,

devin
Oleg Chernavin
03/29/2006 07:01 am
Devin,

Does it export properly after chkdsk cleans all errors?

Oleg.
devin M. arnold
03/29/2006 07:01 am
Oleg,

Repairing the errors on my HD`s didn`t fix the parsing problem that OE is experencing. Could you possibly post that updated build for me to test out regarding the parsing?

thanks,

devin
Oleg Chernavin
03/29/2006 07:01 am
Thank you. I will try to prepare and upload it tomorrow.

Oleg.
devin M. arnold
03/29/2006 07:01 am
Oleg,

thanks Oleg! I look forward to testing your updated version.

Would it be helpful if I could post a zip file with some downloaded files that were offline parsed by OE and another set that hasn`t been parsed?

cheers,

devin

Oleg Chernavin
03/29/2006 07:01 am
Yes, that would be helpful. This way I will log only some URLs and filenames to minimize log operations. Please send the file directly to support@metaproducts.com

Oleg.