Menu

#40 Support Metalink XML format (mirrors & checksums)

open
nobody
None
5
2009-08-02
2009-08-02
Ant Bryan
No

Hi, please consider supporting .metalink files, which are mirrors and checksum information for downloads in a simple XML format.
Many download managers and open source projects use it to simplify downloads.

More info:
http://en.wikipedia.org/wiki/Metalink
http://www.metalinker.org/

Example .metalink file:

<?xml version="1.0" encoding="UTF-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org">
<files>
<file name="example.ext">
<verification>
<hash type="md5">example-md5-hash</hash>
<hash type="sha1">example-sha1-hash</hash>
</verification>
<resources>
<url type="ftp" location="us" preference="90">ftp://ftp.example.com/example.ext</url>
<url type="ftp" location="uk" preference="90">ftp://ftp.example.net/example.ext</url>
<url type="http" location="us" preference="90">http://example.com/example.ext</url>
<url type="http" location="de" preference="90">http://example.net/example.ext</url>
</resources>
</file>
</files>
</metalink>

Actual .metalinks in use:
http://download.opensuse.org/distribution/11.1/iso/openSUSE-11.1-GNOME-LiveCD-i686.iso.metalink
http://releases.ubuntu.com/releases/9.04/ubuntu-9.04-alternate-i386.metalink

Discussion

MongoDB Logo MongoDB