Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RFC: make "--html-extension" a default for "wget -r -k".: msg#00025

web.wget.general

Subject: RFC: make "--html-extension" a default for "wget -r -k".

Hi!

RFC: make "--html-extension" a default for "wget -r -k".

I used wget to download some pages from a PHP site using parameters with
"wget
-r -k" but without "--html-extension". wget did correctly save a page like
"http://www.XXX.de/view.php?page=a.html"; as a file
"www.XXX.de/view.php?page=a.html".

But if this html page is href'ed from any other html page, then I ran into
problems. The resulting url was something like <a
href="view.php?page=a.html">aa</a>. This href does not work, when

(a) put on a (non-php) web server (because the web server will try to
deliver view.php instead of "view.php?page=a.html")

(b) used by a browser from the local disk with "file:///...", because of
the
same reason than (a) (see rfc2396, section 3.3)

Giving the option "--html-extension" did solve this problem by escaping
the
reserved characters (e.g. "?" and "="), but this is hard to find out.

So "wget -r -k" is totally useless without "--html-extension" at least
when
the downloaded filenames contain reserved characters.

I would like to make "--html-extension" the default, if "-k" and "-r" are
given. What do you think?

If you don't like this, then we should at least print out an error message
saying something like:

"the downloaded filenames contained reserved characters like '?'. Please
rerun the program with '--html-extension' otherwise the downloaded pages
will be useless."

if we detect a filename containing a reserved character and no
"--html-extension" was given.

What do you think?

Till

--
+-------+-------------------------------------------------------------+
| | dr. tilmann bubeck reinform medien- und |
| rein | informationstechnologie AG |
| form | cell.: +49 (172) 8 84 29 72 koenigstrasse 80 |
| AG | fax : +49 (711) 7 22 77 34 70173 stuttgart / germany |
| | email: t.bubeck@xxxxxxxxxxx http://www.reinform.de |
+-------+-------------------------------------------------------------+



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
user-groups.jax...    php.zend.framew...    os.solaris.open...    web.quixote.use...    java.openjdk.ho...    ietf.secmech/20...    gnu.glpk/2004-0...    recreation.cars...    network.smokepi...    linux.drivers.i...    cms.opencms.dev...    fonts.gfontview...    text.xml.soap.u...    voip.nist-sip/2...    debian.ports.hp...    xfree86.interna...    science.biology...    qnx.openqnx.dev...    mail.sylpheed.c...    busybox/bios/20...    emulators.kvm.s...    hardware.openco...    apple.fink.begi...    kde.german/2006...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation