Metalink

出自开源百科

跳转到: 导航, 搜索

Metalink is an open specification that harnesses the speed and power of peer to peer networking, FTP, and HTTP with a single click.

For users and content providers, Metalink makes things simpler, faster, and more reliable.

Metalink Code

Features

Example

.metalink is an XML text file.

<source lang="xml">
<?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>
        <signature type="pgp"/>
      </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>
        <url type="bittorrent" preference="100">http://example.org/example.ext.torrent</url>
        <url type="rsync"/>
        <url type="magnet"/>
        <url type="ed2k"/>
      </resources>
    </file>
  </files>
</metalink>
</source>

Links


个人工具
名字空间
变换
动作
导航
赞助商链接

工具箱