XML technologies / RSS & Atom / Reference: RSS 2.0 elements / The element enclosure
(Excerpt from "Newsfeeds with RSS and Atom" by Heinz Wittenbrink, published by Galileo Press, 2005)
Meaning
Reference to binary data. enclose is the basis for podcasting.
Ancestors
item
Descendants/content
None
Attributes
Name | Value | Meaning | required |
|---|---|---|---|
| URI | Attachment address | yes |
| Number | Attachment size in bytes | yes |
| Name of a registered media type | Attachment type | yes |
Example
<item>
<enclosure url="http://triest.fh-joanneum.at/SDR25FEB.mp3" length="1024" type="audio/mpeg"/>
...
</item>
Notes
It has been proposed to allow more than one element of this type per item.
Language version
RSS 0.92, 0.93, 2.0
Equivalents
RSS 1.1 | Atom | |
|---|---|---|
|
|

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.