Hello,<br><br>As far as I know, the value of the "type" attribute always applies to the resource at the end of the "href" attribute. (Not what is nested in/under the <a> element.)<br><br><br>See ya
<br><br><div><span class="gmail_quote">On 1/31/06, <b class="gmail_sendername">brian suda</b> <<a href="mailto:brian.suda@gmail.com">brian.suda@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Be aware that the 'a' element has a 'type' attribute:<br><br>type = content-type [CI]<br>This attribute gives an advisory hint as to the content type of the<br>content available at the link target address. It allows user agents to
<br>opt to use a fallback mechanism rather than fetch the content if they<br>are advised that they will get content in a content type they do not<br>support.<br>Authors who use this attribute take responsibility to manage the risk
<br>that it may become inconsistent with the content available at the link<br>target address.<br>For the current list of registered content types, please consult<br>[MIMETYPES].<br><br>You could easily put something like:
<br><a href="checksum.md5" type="text/md5">687926...32b9</a><br><br>The downside is that you would for all HASHES to be links and they also<br>must have mimetypes.<br><br>-brian<br><br>Charles Iliya Krempeaux wrote:
<br>> Hello Anthony,<br>><br>> As you mentioned, some people do pay attention to checksums and<br>> hashes. So why not keep it in the open. How about something like:<br>><br>> <span class="download">
<br>> <a rel="bookmark" href="...">Download OOo</a><br>> <span class="checksum md5">e0d123e5f316bef78bfdf5a008837577</span><br>> </span>
<br>><br>> Note, with Microformats you can throw a whole bunch of stuff in there<br>> to make it look nice. (If you're not sure what I mean, I can<br>> explain.) And you could put those "class" attributes on other tags
<br>> besides the <span>.<br>><br>><br>> See ya<br>><br>><br>> On 1/30/06, anthony l. bryan <<a href="mailto:albryan@comcast.net">albryan@comcast.net</a>> wrote:<br>><br>>> Hello everyone,
<br>>><br>>> I've been following the discussions for a few days & just wanted to say hi.<br>>> You guys are doing some interesting cool stuff.<br>>><br>>> I'd like to propose a simple format that I would find useful. I'm new at
<br>>> this, so please correct my errors!<br>>><br>>> Basically, checksums (MD5 & SHA-1 hashes) are offered for software<br>>> releases/files to prove they haven't been tampered with.<br>>>
<br>>> No average people use them. I think its safe to say only technical people<br>>> do, and probably not as often as they should/could. What I think a<br>>> microformat could do is make it easier to automatically use them and verify
<br>>> files. If you aren't familiar, check out<br>>> <a href="http://download.openoffice.org/2.0.1/md5sums.html">http://download.openoffice.org/2.0.1/md5sums.html</a> and<br>>> <a href="http://www.openoffice.org/dev_docs/using_md5sums.html">
http://www.openoffice.org/dev_docs/using_md5sums.html</a> .<br>>><br>>> Here's a few examples of what they might look like. I'm not familiar w/<br>>> "rel" but I see you guys use it quite a bit. If it's ok to create a new
<br>>> element, I would say "hash" or "checksum" would be better. I believe MD5 is<br>>> 32 characters and SHA-1 is 40, so you should be able to tell the difference<br>>> by length.<br>
>><br>>> <a<br>>> href="<a href="http://mirrors.isc.org/pub/openoffice/stable/2.0.1/OOo_2.0.1_LinuxInte">http://mirrors.isc.org/pub/openoffice/stable/2.0.1/OOo_2.0.1_LinuxInte</a><br>>> l_install.tar.gz" rel="md5:e0d123e5f316bef78bfdf5a008837577">
OpenOffice.org<br>>> 2.0.1 for Linux</a><br>>><br>>> (use sha-1:xxxxxx for sha-1 etc)<br>>><br>>> <a<br>>> href="<a href="http://mirrors.isc.org/pub/openoffice/stable/2.0.1/OOo_2.0.1_LinuxInte">
http://mirrors.isc.org/pub/openoffice/stable/2.0.1/OOo_2.0.1_LinuxInte</a><br>>> l_install.tar.gz" hash="e0d123e5f316bef78bfdf5a008837577">OpenOffice.org<br>>> 2.0.1 for Linux</a><br>>>
<br>>> <a<br>>> href="<a href="http://mirrors.isc.org/pub/openoffice/stable/2.0.1/OOo_2.0.1_LinuxInte">http://mirrors.isc.org/pub/openoffice/stable/2.0.1/OOo_2.0.1_LinuxInte</a><br>>> l_install.tar.gz" checksum="e0d123e5f316bef78bfdf5a008837577">
OpenOffice.org<br>>> 2.0.1 for Linux</a><br>>><br>>> Anyways, you get the idea. A browser/extension/plugin/download manager could<br>>> easily read this, then verify if the file is good (actually, just alert them
<br>>> if its bad would probably be easier).<br>>><br>>> Another nice thing about the checksum is that it references a specific file.<br>>> Some installation files don't contain a version number in them, so they all
<br>>> have the same filename (iTunes 5, 6, 6.0.1, 6.0.2 wer all called<br>>> iTunesSetup.exe, all versions of Skype are SkypeSetup.exe, or documents,<br>>> etc) so you could reference a specific version of a file & maybe find it
<br>>> with a search engine that stores hashes.<br><br></blockquote></div><br clear="all"><br>-- <br> Charles Iliya Krempeaux, B.Sc.<br><br> charles @ <a href="http://reptile.ca">reptile.ca</a><br> supercanadian @
<a href="http://gmail.com">gmail.com</a><br><br> developer weblog: <a href="http://ChangeLog.ca/">http://ChangeLog.ca/</a><br><br>