Search the web
Sign In
New User? Sign Up
pavuk · Pavuk Webgrabber Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
js_transform2 syntax question   Message List  
Reply | Forward Message #745 of 988 |
Hi,

I have a problem getting the -js_transform2 option to work properly. I
have
javascripts which have lines like this:

SHFTHZFIG = JSFIGDIR + "shh.gif";
document.writeln(" <TD valign=\"center\"><IMG SRC=\"" + JSFIGDIR +
"nospins.gif\"></TD>");

JSFIGDIR is a variable which is set to "/online/javascript/figs/". I
tried to
use the following commandline option

-js_transform2 'JSFIGDIR[ ]*+[ ]*"(.*\.gif)"'
"/online/javascript/figs/$1" "" "" \
-js_transform2 'JSFIGDIR[ ]*+[ ]*"(.*\.gif)\\"'
"/online/javascript/figs/$1" "" "" \

to mirror the gif-files to the proper location. However, this does not
seem to
work and the gif-files in these javascripts are missing from my mirror.

What is wrong with the syntax for the -js_transform2 here?

Best regards,

Matthias Ernst


--
+----------------------------------------+---------------------------------=
--+
| Matthias Ernst | Phone: +41-1-632-4366 | | ETH Zürich | Fax:
+41-1-632-1621 | | Laboratorium für Physikalische Chemie | | |
ETH-Hönggerberg - HCI D 227 | Email: maer@... | |
CH-8093 Zürich, Switzerland | maer@... |
+----------------------------------------+---------------------------------=
--+






Tue Feb 10, 2004 1:57 pm

maer020264
Offline Offline
Send Email Send Email

Forward
Message #745 of 988 |
Expand Messages Author Sort by Date

Hi, I have a problem getting the -js_transform2 option to work properly. I have javascripts which have lines like this: SHFTHZFIG = JSFIGDIR + "shh.gif";...
maer020264
Offline Send Email
Feb 10, 2004
2:04 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help