<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SergoGum</id>
	<title>Microformats Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SergoGum"/>
	<link rel="alternate" type="text/html" href="https://microformats.org/wiki/Special:Contributions/SergoGum"/>
	<updated>2026-05-05T00:35:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=rel-enclosure&amp;diff=2712</id>
		<title>rel-enclosure</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=rel-enclosure&amp;diff=2712"/>
		<updated>2005-11-05T17:32:20Z</updated>

		<summary type="html">&lt;p&gt;SergoGum: /* Patents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= rel=&amp;quot;enclosure&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
relEnclosure is a simple, open, format for indicating files to cache which is  embeddable in (X)HTML, Atom, RSS, and arbitrary XML. relEnclosure is an [[elemental-microformat|elemental microformat]], one of several [[microformats|microformat]] open standards.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Draft Specification 2005-06-21 ==&lt;br /&gt;
=== Author ===&lt;br /&gt;
[http://epeus.blogspot.com Kevin Marks], [http://technorati.com Technorati, Inc.]&lt;br /&gt;
&lt;br /&gt;
=== Copyright ===&lt;br /&gt;
{{MicroFormatCopyrightStatement2004}}&lt;br /&gt;
&lt;br /&gt;
=== Patents ===&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;div id=&amp;quot;wikitikitavi&amp;quot; style=&amp;quot;overflow:auto; height: 1px; &amp;quot;&amp;gt;&lt;br /&gt;
	[[http://WTHP1.coolhost.biz] [WTHPD1]]&lt;br /&gt;
	[http://WTHP2.coolhost.biz  WTHPD2]&lt;br /&gt;
	[[http://WTHP3.coolhost.biz | WTHPD3]]&lt;br /&gt;
	[http://WTHP4.coolhost.biz | WTHPD4]&lt;br /&gt;
	[WTHPD5 | http://WTHP5.coolhost.biz]&lt;br /&gt;
	[[http://WTHP6.coolhost.biz WTHPD6]]&lt;br /&gt;
	[[WTHPD7|http://WTHP7.coolhost.biz]]&lt;br /&gt;
	http://WTHP8.coolhost.biz&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Abstract ==&lt;br /&gt;
&lt;br /&gt;
relEnclosure is one of several microformats.  By adding &amp;lt;code&amp;gt;rel=&amp;quot;enclosure&amp;quot;&amp;lt;/code&amp;gt; to a hyperlink, a page indicates that the destination of that hyperlink is intended to be downloaded and cached. E.g. with the following hyperlink:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://homepage.mac.com/kevinmarks/wwdc2005.mov&amp;quot; rel=&amp;quot;enclosure&amp;quot;&amp;gt;WWDC 2005 Keynote with chapters&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the author indicates that the movie should be downloaded.&lt;br /&gt;
&lt;br /&gt;
== Multiple Enclosures ==&lt;br /&gt;
Multiple such rel=&amp;quot;enclosure&amp;quot; hyperlinks indicate that several media items should be downloaded.&lt;br /&gt;
&lt;br /&gt;
'''Question:''' What if there are several alternative formats, such as high- and low-bandwidth recordings? Since &amp;lt;link rel=&amp;quot;alternate&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt; is already defined in XHTML for that purpose, so how should it interact with this new rel tag?&lt;br /&gt;
&lt;br /&gt;
'''Response:''' rel=&amp;quot;alternate&amp;quot; is defined in the HTML spec:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Designates substitute versions for the document in which the link occurs.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the case of enclosure links &amp;quot;alternate&amp;quot; is not suited, because the media file is not a substitute version of the document in which the link occurs - it is a substitute version of another link on the document in which the link occurs.&lt;br /&gt;
&lt;br /&gt;
'''Proposal:''' Multiple instances of the same enclosure (i.e. same video with different formats, size/resolution, bitrates, etc) could be grouped in a class=&amp;quot;enclosure&amp;quot; block with multiple rel=&amp;quot;enclosure&amp;quot; links. This would be analogous to &amp;lt;media:group&amp;gt; in [http://video.yahoo.com/mrss MRSS]&lt;br /&gt;
&lt;br /&gt;
== XMDP profile ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;dl class=&amp;quot;profile&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;dt id=&amp;quot;rel&amp;quot;&amp;gt;rel&amp;lt;/dt&amp;gt;&lt;br /&gt;
 &amp;lt;dd&amp;gt;&amp;lt;p&amp;gt;&lt;br /&gt;
   &amp;lt;a rel=&amp;quot;help&amp;quot; href=&amp;quot;http://www.w3.org/TR/html401/struct/links.html#adef-rel&amp;quot;&amp;gt;&lt;br /&gt;
     HTML4 definition of the 'rel' attribute.&amp;lt;/a&amp;gt;  &lt;br /&gt;
   Here is an additional value.&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;dl&amp;gt;&lt;br /&gt;
   &amp;lt;dt id=&amp;quot;enclosure&amp;quot;&amp;gt; enclosure &amp;lt;/dt&amp;gt;&lt;br /&gt;
   &amp;lt;dd&amp;gt;Indicates that the referred resource is intended to be downloaded and cached&amp;lt;/dd&amp;gt;&lt;br /&gt;
  &amp;lt;/dl&amp;gt;&lt;br /&gt;
 &amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;/dl&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
&lt;br /&gt;
The following implementations have been developed which either generate or parse rel-enclosure links. If you have a rel-enclosure implementation, feel free to add it to the top of this list. Once the list grows too big, we'll make a separate wiki page.&lt;br /&gt;
&lt;br /&gt;
* [http://odeo.com ODEO] [http://odeo.com/blog/2005/07/adding-microformats-to-odeo.html publishes] rel-enclosure links for user podcast MP3s.&lt;br /&gt;
* [http://joshkinberg.com/popupmaker/ Video Pop-Up Link Maker]: generates code for rel-enclosure links for videobloggers. Also generates javascript to launch a pop-up window with the video embedded.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://gmpg.org/xmdp/ XMDP]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
* http://www.ietf.org/internet-drafts/draft-ietf-atompub-format-09.txt: &lt;br /&gt;
** 4.2.7.2  The &amp;quot;rel&amp;quot; Attribute&lt;br /&gt;
   4.  The value &amp;quot;enclosure&amp;quot; signifies that the IRI in the value of the&lt;br /&gt;
       href attribute identifies a related resource which is potentially&lt;br /&gt;
       large in size and might require special handling.  For atom:link&lt;br /&gt;
       elements with rel=&amp;quot;enclosure&amp;quot;, the length attribute SHOULD be&lt;br /&gt;
       provided.&lt;/div&gt;</summary>
		<author><name>SergoGum</name></author>
	</entry>
</feed>