3 # urlPageGrab on a set of Safari plt-style sites. The HTML source for these sites
4 # can be obtained from speedo_html.tar in this directory. You typically place
5 # the untarred version of that in a user's ~/Sites directory; they'll appear in
6 # ~/Sites/base. If you do this on host foo.local, in ~someUser/Sites, then you'd
7 # typically run this script like this (the time prefix results in your shell
8 # telling you how much time elapsed to execute the whole script):
10 # % time pltGrab foo.local "/~someUser/base" s q
12 # This assumes of course that you have an https-capable web server running on
13 # host foo.local. See SecurityTech/apacheConfig/ for a script and instructions
14 # that make that pretty easy.
16 ####################################################################################
18 if ( $#argv < 2 ) then
19 echo Usage
: pltGrab pltHostName pltBasePath \
[s \
(ssl\
)\
] \
[q \
(quiet\
)\
]
23 set PLT_SITES
= ( bugzilla.mozilla.org \
50 www.nytimes.com_Table \
55 www.tomshardware.com \
57 www.voodooextreme.com \
58 www.w3.org_DOML2Core \
62 www.zdnet.com_Gamespot.com
)
65 set BASE_PATH
=$argv[2]
82 echo Usage
: pltGrab pltHostName pltBasePath \
[s \
(ssl\
)\
] \
[q \
(quiet\
)\
]
87 foreach site
($PLT_SITES)
88 set HTTP_PATH
="$BASE_PATH/$site/"
89 urlPageGrab
$PLT_HOST "$HTTP_PATH" $DO_SSL $QUIET || exit(1)