]> sjero.net Git - wget/commitdiff
[svn] TODO: Generalize --html-extension to something like --mime-extension.
authordan <devnull@localhost>
Fri, 20 Oct 2000 23:20:24 +0000 (16:20 -0700)
committerdan <devnull@localhost>
Fri, 20 Oct 2000 23:20:24 +0000 (16:20 -0700)
ChangeLog
TODO

index 144140994ed50e7e8052425c82101f483c7c1c79..66c01b31db7800bb0169d4d59c45c7f0ce1bd26a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
        * TODO: -k needs to convert '?' to "%3F" in links to saved files
        containing the '?' character (e.g. CGI output).  Also, we need to
        check the HTTP spec w.r.t. simplification of absolute URLs.
+       Generalize --html-extension to something like --mime-extension.
 
        * MAILING-LIST: I didn't realize <wget@sunsite.auc.dk> allowed posting
        by non-subscribers.  <bug-wget@gnu.org> soon to be an alias for it.
diff --git a/TODO b/TODO
index d55a97b75990ba6fba72d03c23f1ccc5d95f8c72..e8f610852260c4c19c0394c347865bc90aa71920 100644 (file)
--- a/TODO
+++ b/TODO
@@ -6,6 +6,14 @@ Wget.  Patches to implement any of these items would be gladly accepted.  The
 items are not listed in any particular order (except that recently-added items
 may tend towards the top).  Not all of these represent user-visible changes.
 
+* Generalize --html-extension to something like --mime-extension and have it
+  look at mime.types/mimecap file for preferred extension.  Non-HTML files with
+  filenames changed this way would be re-downloaded each time despite -N unless
+  .orig files were saved for them.  Since .orig would contain the same data as
+  non-.orig, the latter could be just a link to the former.  Another possibility
+  would be to implement a per-directory database called something like
+  .wget_url_mapping containing URLs and their corresponding filenames.
+
 * When spanning hosts, there's no way to say that you are only interested in
   files in a certain directory on _one_ of the hosts (-I and -X apply to all).
   Perhaps -I and -X should take an optional hostname before the directory?