Lyo Kato > XML-APML > XML::APML::Source

Download:
XML-APML-0.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

XML::APML::Source - Source markup.

SYNOPSIS ^

    my $explicit_source = XML::APML::Source->new;
    $explicit_source->key('http://feeds.feedburner.com/apmlspec');
    $explicit_source->value(1.00);
    $explicit_source->name('APML.org');
    $explicit_source->type('application/rss+xml');

    my $implicit_source = XML::APML::Source->new(
        key     => 'http://feeds.feedburner.com/apmlspec',
        value   => 1.00,
        from    => 'GatheringTool.com',
        updated => '2007-03-11T01:55:00Z',
        name    => 'APML.org',
        type    => 'application/rss+xml',
    );

    $implicit_source->add_author($author);

    foreach my $author ($implicit_source->authors) {
        print $author->key;
    }

DESCRIPTION ^

Class that represents Source mark-up for APML.

METHODS ^

new

authors

add_author