Re: Please make wget follow javascript links!

2002-09-10 Thread Martin Trautmann

On Mon 2002-09-09 (21:42), [EMAIL PROTECTED] wrote:
  I don't want a JS engine - but is it that hard to create a filter list
  that does identify anything that does look like a file?
  
  The main JS commands should be easy to understand - but maybe soem kind
  or filter file with regexp where to find the next file could be done
  easily (while it's more hard to create this filter read mechanism first)
  
  javascript:winopen(somepage.html, size and location)
javascript:winopen(\([^]*\).*)- \1
  
  (PS: on the other hand it's pretty simple to run a grep and detect those
  files manually)
 
 Really? have you try this?
 javascript:window.open(i + nde + x.h + tml)
 
 winopen() is not even a JS command it is a user defined function. 
 What worked for you in a specific case does not work in the general cases.

agreed - the more complicated you want to make links by JS, the more
you'll find the need for a real JS engine.

 If you want this kind of support, you need a JS engine.

... but in general, JS is mainly used to open a window of its own with a
given, full html file name. A basic filter on *.htm* could add some
extra hits.

Kind regards
Martin



CDMA9001300 1100600400 26840989

2002-09-10 Thread uhjn222

   


Re: wget and asp

2002-09-10 Thread Max Bowsher

You don't give a whole lot of information. It's kind of impossible to help when
you don't know what the problem is.

Posting the URL of the problem site would be a good idea.

Max.

Dominique wrote:
 Is it possible at all?

 dominique

 Dominique wrote:

 Hi,

 I have a problem trying to wget a site for off-line usage. The site
 is made in asp and uses lots of stuff like:

 xxx.asp?filename=yyy

 when I download a sample asp page it seems to be almost empty and
 have no links!!! I dont understand...

 I tried mirroring, html extensions and all I could find relevant in
 the man page. Would someone please help me solve this?

 thank you
 dominique




Re: wget and asp

2002-09-10 Thread Dominique



Posting the URL of the problem site would be a good idea.
  


well, I have quite a few. let's start with this:

http://www.w3schools.com/html/default.asp

or just anything from such a page page. I hacked around for a while with 
no apparent success.

thanks
dominique

Max.

Dominique wrote:
  

Is it possible at all?

dominique

Dominique wrote:



Hi,

I have a problem trying to wget a site for off-line usage. The site
is made in asp and uses lots of stuff like:

xxx.asp?filename=yyy

when I download a sample asp page it seems to be almost empty and
have no links!!! I dont understand...

I tried mirroring, html extensions and all I could find relevant in
the man page. Would someone please help me solve this?

thank you
dominique
  


-- 
--
Dominik Szczerba, Dr.
CO-ME, D-ITET, ETZ F85
ETH Zentrum, Gloriastr. 35
CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi
--
ii swear i never use vi^[:wqZZ
--





Re: wget and asp

2002-09-10 Thread Thomas Lussnig

Dominique wrote:



 Posting the URL of the problem site would be a good idea.
  


 well, I have quite a few. let's start with this:

 http://www.w3schools.com/html/default.asp

 or just anything from such a page page. I hacked around for a while 
 with no apparent success.

Try this and it works !!!
wget -U Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 5.1) 
http://www.w3schools.com/html/default.asp

Problem is that these site Block wget 

Cu Thomas Lußnig



msg04260/pgp0.pgp
Description: PGP signature


Trying to Mirror a site without success....

2002-09-10 Thread Marco Berni

Hello all,

I am new to this as I have just downloaded wget and an aqua shell for 
OSX in order to try to download the posts that reside in my online 
community at www.communityzero.com/imperium.

The problem I seem to be having is that any request to download 
recursively, or even just one level, runs into problems with the site's 
way of handling page requests via a registered account.

When I access the pages through my browser (with cookies enabled) I 
access the pages fine, but as wget does not submit my cookie details I 
get bumped to the community main page or login page with either 
'session expired' errors or requests to log-in register.

I have tried to make the site 'public' (so that anyone can view it) but 
not only does CZ have community specific passwords, it also requires 
you to register as a CZ member first.

Is there any way around this? I have hundreds of posts to copy...

Many thanks for any help you can offer.

Marco Berni

ps.  Please cc me as I am not registered to the list.


in a world without walls and fences who needs Windows and Gates




Re: wget and asp

2002-09-10 Thread Dominique

Yes! It works!! I just missed -U option

thanks a lot!

dominique

Thomas Lussnig wrote:


 Try this and it works !!!
 wget -U Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 5.1) 
 http://www.w3schools.com/html/default.asp

 Problem is that these site Block wget 

 Cu Thomas Lunig