On Thu, May 13, 2010 at 05:50, Richard Salz <[email protected]> wrote:
>
> It's more verbose, but I strongly recommend using a pair of attributes to
> represent algorithm/value.
>

Yahoo has used the following construct in their Media RSS format [1]:

"This is the hash of the binary media file. It can appear multiple
times as long as each instance is a different algo. It has 1 optional
attribute.

        <media:hash algo="md5">dfdec888b72151965a34b4b59031290a</media:hash>

algo indicates the algorithm used to create the hash. Possible values
are 'md5' and 'sha-1'. Default value is 'md5'. It is an optional
attribute."


And the Metalink draft [2] is using this:

<hash type="sha-1">a97fcf6ba9358f8a6f62beee4421863d3e52b080</hash>

[1]: http://video.search.yahoo.com/mrss
[2]: http://tools.ietf.org/html/draft-bryan-metalink-28#section-4.2.4

Regards,

Peter Krantz

Reply via email to