W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2008

Re: [APPS-REVIEW] Metalink XML Download Description Format (draft-bryan-metalink-01)

From: Julian Reschke <julian.reschke@gmx.de>
Date: Wed, 03 Sep 2008 15:22:30 +0200
Message-ID: <48BE8F96.2010404@gmx.de>
To: Anthony Bryan <anthonybryan@gmail.com>
CC: Dave Cridland <dave@cridland.net>, general discussion of application-layer protocols <discuss@apps.ietf.org>, Applications Review List <apps-review@ietf.org>, xml-dev@lists.xml.org, ietf-http-wg@w3.org

Anthony Bryan wrote:
>> So, in general, this would be for IRIs that do not identify a resource to
>> download, but metadata about a resource to download? Strictly speaking,
>> isn't metalink not yet another format for that?
> 
> Yes, it is.
> 
> Do you think about a "metadata" element (a sub-element of
> "resources")with a required "type" attribute of MIME type is
> appropriately generic?

Sounds good.

> This could then be used to describe Metalinks if needed, and other
> types that may come later.

Right.

> I don't think BitTorrent's MIME type is in the is listed in the IANA
> MIME Media Types. Would this be a problem?
> 
>    <?xml version="1.0" encoding="UTF-8"?>
>    <metalink xmlns="http://www.metalinker.org">
>      <files>
>        <file name="example.ext">
>          <resources>
>            <url>ftp://ftp.example.com/example.ext</url>
>            <url>http://example.com/example.ext</url>
>            <metadata
> type="application/x-bittorrent">http://example.com/example.ext.torrent
>            </metadata>
>          </resources>
>        </file>
>      </files>
>    </metalink>

One of these issues that regularly come up :-)

One way out of that would by to "grab" special type names like 
"torrent", and hardwire them. That should be ok as long as they can't 
collide with registered names (thus no "/" allowed).

BR, Julian
Received on Wednesday, 3 September 2008 13:29:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:50:54 GMT