]> sjero.net Git - wget/blob - TODO
[svn] Implemented and documented new -E / --html-extension / html_extension option.
[wget] / TODO
1                                  Hey Emacs, this is -*- outline -*- mode
2
3 This is the to-do list for Wget.  There is no timetable of when we plan to
4 implement these features -- this is just a list of things it'd be nice to see in
5 Wget.  Patches to implement any of these items would be gladly accepted.  The
6 items are not listed in any particular order.  Not all of them represent
7 user-visible changes.
8
9 * Add an option to not encode special characters like ' ' and '~' when saving
10   local files.  Would be good to have a mode that encodes all special characters
11   (as now), one that encodes none (as above), and one that only encodes a
12   character if it was encoded in the original URL (e.g. %20 but not %7E).
13
14 * --retr-symlinks should cause wget to traverse links to directories too.
15
16 * Lots of noncompliant webservers issue HTTP redirects to relative URLs, and
17   browsers follow them, so wget should too.
18
19 * Make wget return non-zero status in more situations, like incorrect HTTP auth.
20
21 * Timestamps are sometimes not copied over on files retrieved by FTP.
22
23 * Wget does not currently handle "fragment identifiers" (the part of a URL 
24   starting with the '#' character) properly.
25
26 * Make -K compare X.orig to X and move the former on top of the latter if 
27   they're the same, rather than leaving identical .orig files laying around.
28
29 * Allow mirroring of FTP URLs where logging in puts you somewhere else besides 
30   '/'. 
31
32 * Make `-k' convert <base href=...> too.
33
34 * Make `-k' check for files that were downloaded in the past and convert links 
35   to them in newly-downloaded documents.
36
37 * -k should convert convert relative references to absolute if not downloaded.
38
39 * -k should convert "hostless absolute" URLs, like <A HREF="/index.html">.
40   However, Brian McMahon <bm@iucr.org> wants the old incorrect behavior to still
41   be available as an option, as he depends on it to allow mirrors of his site to
42   send CGI queries to his original site, but still get graphics off of the
43   mirror site.  Perhaps this would be better dealt with by adding an option to
44   tell -k not to convert certain URL patterns?
45
46 * Add option to clobber existing file names (no `.N' suffixes).
47
48 * Introduce a concept of "boolean" options.  For instance, every
49   boolean option `--foo' would have a `--no-foo' equivalent for
50   turning it off.  Get rid of `--foo=no' stuff.  Short options would
51   be handled as `-x' vs. `-nx'.
52
53 * Implement "thermometer" display (not all that hard; use an
54   alternative show_progress() if the output goes to a terminal.)
55
56 * Add option to only list wildcard matches without doing the download.
57
58 * Add case-insensitivity as an option.
59
60 * Handle MIME types correctly.  There should be an option to (not)
61   retrieve files based on MIME types, e.g. `--accept-types=image/*'.
62
63 * Implement "persistent" retrieving.  In "persistent" mode Wget should
64   treat most of the errors as transient.
65
66 * Allow time-stamping by arbitrary date.
67
68 * Fix Unix directory parser to allow for spaces in file names.
69
70 * Allow size limit to files.
71
72 * Recognize HTML comments correctly.  Add more options for handling
73   bogus HTML found all over the 'net.
74
75 * Implement breadth-first retrieval.
76
77 * Download to .in* when mirroring.
78
79 * Add an option to delete or move no-longer-existent files when
80   mirroring.
81
82 * Implement a switch to avoid downloading multiple files (e.g. x and
83   x.gz).
84
85 * Implement uploading (--upload URL?) in FTP and HTTP.
86
87 * Rewrite FTP code to allow for easy addition of new commands.  It
88   should probably be coded as a simple DFA engine.
89
90 * Recognize more FTP servers (VMS).
91
92 * Make HTTP timestamping use If-Modified-Since facility.
93
94 * Implement better spider options.
95
96 * Add more protocols (e.g. gopher and news), implementing them in a
97   modular fashion.
98
99 * Implement a concept of "packages" a la mirror.
100
101 * Implement correct RFC1808 URL parsing.
102
103 * Implement HTTP cookies.
104
105 * Implement more HTTP/1.1 bells and whistles (ETag, Content-MD5 etc.)
106
107 * Support SSL encryption through SSLeay or OpenSSL.