GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PLAGGER::PLUGIN::FILTER::FINDENCLOSURES (3)

.ds Aq ’

NAME

Plagger::Plugin::Filter::FindEnclosures - Auto-find enclosures from entry content using <a> / <embed> tags

CONTENTS

SYNOPSIS



  - module: Filter::FindEnclosures



DESCRIPTION

This plugin finds enclosures from $entry->body by finding 1) <B><a>B> links with rel=enclosure attribute, 2) <B><a>B> links to any URL which filename extensions match with known audio/video formats and 3) src attributes in <B><img>B> and <B><embed>B> tags.

For example:



  Listen to the <a href="http://example.com/foobar.mp3">Podcast</a> now, or <a rel="enclosure"
  href="http://example.com/foobar.m4a">download AAC version</a>. <img src="/img/logo.gif" />



Those 3 links (foobar.mp3, foobar.m4a and logo.gif) are extracted as enclosures, while logo.gif is marked as inline, so that they won’t appear as enclosures in Publish::Feed.

You might want to also use Filter::HEADEnclosureMetadata plugin to know the actual length (bytes-length) of enclosures by sending HEAD requests.

AUTHOR

Tatsuhiko Miyagawa

Masahiro Nagano

SEE ALSO

Plagger, Plagger::Plugin::Filter::HEADEnclosureMetadata, <http://www.msgilligan.com/rss-enclosure-bp.html>, <http://forums.feedburner.com/viewtopic.php?t=20>
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PLAGGER::PLUGIN::FILTER::FINDENCLOSURES (3) 2006-12-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.