Re: (Fwd) Proposed new --unfollowed-links option for wget
Hi List! As a non-wget-programmer I also think that this option may be very useful. I'd be happy to see it wget soon :) Just thought to drop in some positive feedback :) CU Jens > > -u, --unfollowed-links=FILE log unfollowed links to FILE. > Nice. It sounds useful.
Re: (Fwd) Proposed new --unfollowed-links option for wget
On 7 Mar 2002 at 23:41, Tony Lewis wrote: > [...] There are two features that I need that are missing. One of them is > getting a list of the links that were not followed by wget. (The other is > the subject of another message.) > > I have skimmed a few GNU programs in the past and found the source for wget > pretty easy to follow. I was able to implement this feature today by adding > the following command line argument: > > -u, --unfollowed-links=FILE log unfollowed links to FILE. Nice. It sounds useful. > Unfortunately, I made all my changes directly to the distribution sources > before I stumbled across the long list of instructions for using CVS. Before > I redo the changes following the CVS route, Depending on how close the distribution is to the CVS (there haven't been too many changes since Wget 1.8.1), you might get away with creating a patch relative to the distribution sources and applying that to the CVS sources. It's worth a try, anyway! I'd like to know a little bit > more about the process for getting a submission approved for inclusion in a > future version The file 'PATCHES' in the distribution is a good start. (particularly in light of this change grabbing one of the > seven -- by my count -- remaining single-letter command line arguments). In general, the single-letter options ought to be used for commonly (and frequently) used options. I think it will be safest to assume that that is not the case until proved otherwise (e.g. other seemingly useful options such as --cut-dirs have no single-letter version). > Also, is there some sort of regression test suite that I should run? None that I know of.
(Fwd) Proposed new --unfollowed-links option for wget
This seems more appropriate for the main Wget list. The wget-patches list is for patches! --- Forwarded message follows --- From: "Tony Lewis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject:Proposed new --unfollowed-links option for wget Date sent: Thu, 7 Mar 2002 23:41:15 -0800 Last night I was roaming through Google looking for a program to let me grab chunks of a web site and found a reference to wget. After reading the manual, I downloaded and built it and found that it does almost everything I needed. There are two features that I need that are missing. One of them is getting a list of the links that were not followed by wget. (The other is the subject of another message.) I have skimmed a few GNU programs in the past and found the source for wget pretty easy to follow. I was able to implement this feature today by adding the following command line argument: -u, --unfollowed-links=FILE log unfollowed links to FILE. Having used the option on a couple of sites that I maintain, I have already found it very useful. For example: after running "wget --mirror -uexternal http://www.mysite.com";, I have a list of all the external references made by "my site" in the file "external". Unfortunately, I made all my changes directly to the distribution sources before I stumbled across the long list of instructions for using CVS. Before I redo the changes following the CVS route, I'd like to know a little bit more about the process for getting a submission approved for inclusion in a future version (particularly in light of this change grabbing one of the seven -- by my count -- remaining single-letter command line arguments). Also, is there some sort of regression test suite that I should run? Tony Lewis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- End of forwarded message ---