[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [PATCH 20/25] New option --metalink-index to process Metalink
From: |
Matthew White |
Subject: |
[Bug-wget] [PATCH 20/25] New option --metalink-index to process Metalink application/metalink4+xml |
Date: |
Sat, 10 Sep 2016 12:59:24 +0200 |
[Coverity Scan is ok, make syntax-check is ok, make check-valgrind is ok,
contrib/check-hard is ok]
This introduces the new option --metalink-index=NUMBER, for auto-processing of
Metalink files contained in a Metalink/HTTP header answer.
--metalink-index=<inf|0|N> saves the user from manually (cli) 1. choose, 2.
download, 3. process the metalink file.
e.g.:
$ wget --metalink-over-http \
--metalink-index=inf \
[--trust-server-names \]
<url answering with a Metalink/HTTP header>
--metalink-index=inf allows the auto-processing of the first good Metalink file
contained in the Metalink/HTTP header answer.
--metalink-index=N allows the auto-processing of the N* indexed Metalink file
contained in the Metalink/HTTP header answer.
* N refers to the ordinal number of the Metalink (metaurl) Link once the
Metalink/HTTP's header links have been sorted by priority.
Link: <http://example.com/file1.ext.meta4>; rel=describedby;
type="application/metalink4+xml"; pri=7
Link: <http://example.com/file2.ext.meta4>; rel=describedby;
type="application/metalink4+xml"; pri=5
In the above case scenario, N=1 means file2.ext.meta4, N=2 means
file1.ext.meta4, N=0 or N=inf means the first good one.
Regards,
Matthew
--
Matthew White <address@hidden>
0020-New-option-metalink-index-to-process-Metalink-applic.patch
Description: Text Data
pgpWpuJa5Oav7.pgp
Description: PGP signature
- [Bug-wget] [PATCH 20/25] New option --metalink-index to process Metalink application/metalink4+xml,
Matthew White <=
- Re: [Bug-wget] [PATCH 20/25] New option --metalink-index to process Metalink application/metalink4+xml, Giuseppe Scrivano, 2016/09/11
- Re: [Bug-wget] [PATCH 20/25] New option --metalink-index to process Metalink application/metalink4+xml, Matthew White, 2016/09/14
- Re: [Bug-wget] [PATCH 20/25] New option --metalink-index to process Metalink application/metalink4+xml, Giuseppe Scrivano, 2016/09/14
- Re: [Bug-wget] [PATCH 20/25] New option --metalink-index to process Metalink application/metalink4+xml, Matthew White, 2016/09/14
- Re: [Bug-wget] [PATCH 20/25] New option --metalink-index to process Metalink application/metalink4+xml, Giuseppe Scrivano, 2016/09/15
- Re: [Bug-wget] [PATCH 20/25] New option --metalink-index to process Metalink application/metalink4+xml, Matthew White, 2016/09/15
- Re: [Bug-wget] [PATCH 20/25] New option --metalink-index to process Metalink application/metalink4+xml, Tim Ruehsen, 2016/09/15
- Re: [Bug-wget] [PATCH 20/25] New option --metalink-index to process Metalink application/metalink4+xml, Matthew White, 2016/09/15
- Re: [Bug-wget] [PATCH 20/25] New option --metalink-index to process Metalink application/metalink4+xml, Tim Ruehsen, 2016/09/16
- Re: [Bug-wget] [PATCH 20/25] New option --metalink-index to process Metalink application/metalink4+xml, Eli Zaretskii, 2016/09/16