Dave Cross > XML-Feed-0.52 > XML::Feed::Enclosure

Download:
XML-Feed-0.52.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  4
View/Report Bugs
Module Version: 0.52   Source  

NAME ^

XML::Feed::Enclosure - Wrapper for enclosure objects

SYNOPSIS ^

    my ($enclosure) = $entry->enclosure;
    print $enclosure->type;

DESCRIPTION ^

XML::Feed::Enclosure represents a content object in an XML::Feed::Entry entry in a syndication feed.

USAGE ^

wrap

Take params and turn them into a XML::Feed::Enclosure object.

new

A synonym for wrap.

$enclosure->url

The url of the object.

$enclosure->type

The MIME type of the item referred to in url.

$enclosure->length

The length of object refereed to in url

AUTHOR & COPYRIGHT ^

Please see the XML::Feed manpage for author, copyright, and license information.

syntax highlighting: