NAME

MP3::PodcastFetch::Feed::Channel -- Structure for recording Podcast channel information

SYNOPSIS

use MP3::PodcastFetch::Feed::Channel;
my $channel = MP3::PodcastFetch::Feed::Channel->new(title=>'my feed',
                                                    description =>'my very own feed'
                                                   );
my $title = $channel->title;
$channel->add_item($new_items);
my @items = $channel->items;

DESCRIPTION

This is a utility class for MP3::PodcastFetch that defines accessors for various attributes of a Podcast Channel, including channel title, description, author, and the list of podcast episodes currently available.

Accessors

The following accessors are defined. They can be used to get and/or fetch the current value:

title         Channel title
description   Channel description
guid          Channel unique ID
pubDate       Channel publication date (in original format)
author        Channel author
link          Link to Channel URL
items         List of MP3::PodcastFetch::Feed::Item objects corresponding to
                 podcast episodes currently available (read only accessor;
                 use add_item() to add new items).

In addition, this class defines an add_item() method, which will add a list of MP3::PodcastFetch::Feed::Item objects to the set of podcast episodes.

SEE ALSO

podcast_fetch.pl, MP3::PodcastFetch, MP3::PodcastFetch::Feed, MP3::PodcastFetch::Feed::Channel, MP3::PodcastFetch::Feed::Item, MP3::PodcastFetch::TagManager,

AUTHOR

Lincoln Stein <lstein@cshl.org>.

Copyright (c) 2006 Cold Spring Harbor Laboratory

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See DISCLAIMER.txt for disclaimers of warranty.