Webmaster Top
hbg
Languages
Preferred Language :
USA DEU POL
Text Link Ads
Zaloguj
 



 


 Log in Problems?
 New User? Sign Up!

Main Menu
Web Host Center

Choinka ::

RSS enclosure

Web Design & Development Guide

RSS enclosure

Home
Up


RSS enclosures are a way of attaching multimedia content to RSS feeds by providing the URL of a file associated with an entry, such as an MP3 file to a music recommendation or a photo to a diary entry. Unlike e-mail attachments, enclosures are merely hyperlinks to files, the actual data is not embedded into the feed. Support and implementation among aggregators varies: if the software understands the specified file format, it may automatically download and display the content, otherwise provide a link to it or silently ignore it.

The addition of enclosures to RSS, as first implemented by Dave Winer in late 2000 [1], was an important prerequisite for the emergence of podcasting, arguably the most common use of the feature as of 2006. In podcasts and related technologies enclosures are not merely attachments to entries, but provide the main content of a feed.

Syntax

In RSS 2.0, the syntax for the <enclosure> tag, an optional child of the <item> element, is as follows:

<enclosure url="http://domain.com/file.mp3" length="123456789" type="audio/mpeg" />

where the value of the url attribute is a URL of a file, length is its size in bytes, and type its mime type.

There may only be a single <enclosure> per <item>.

Similar technologies

The RSS <enclosure> has similarities to:

  • the SMIL <prefetch> element,
  • the HTML <link> element with rel="prefetch".[2]
  • the HTTP Link header with rel="prefetch". (See RFC 2068 section 19.6.2.4.)
  • the Atom <link> element with rel="enclosure"

See also

External links


Home
Up
RSS enclosure
Rss tracking
RSS TV
Yahoo! Pipes

§ Good Partners §
stopka

Webmaster.M106.COM

Web Development CSS DHTML Domains Google Yahoo Guide.

Ezines | CSS Web | Domains Guide | PHP | Pop Ups | Email Database | SEO M106 | Free Templates | Charset UTF | WP

Travel Planet Japan Grecja Piano Music Software Polecenia Windows
Page created in 0.026746 Seconds