David Jacobs > Atom-JavaScript-0.1 > XML::Atom::JavaScript

Download:
Atom-JavaScript-0.1.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: Atom-JavaScript-0.5

NAME ^

XML::Atom::JavaScript - Atom syndication with JavaScript

SYNOPSIS ^

    ## get an Atom feed from the network

    use XML::Atom::API;
    use XML::Atom::JavaScript;

    my $api = XML::Atom::API->new();
    my $feed = $api->getFeed( 'http://example.com/atom.xml' );
    print $feed->asJavascript();

    ## get an atom feed from disk

    use XML::Atom::JavaScript;

    my $feed = XML::Atom::Feed->new( Stream => 'atom.xml' );
    print $feed->asJavascript();

DESCRIPTION ^

XML::Atom::Feed::JavaScript exports an additional function into the XML::Atom package for outputting Atom feeds as javascript.

FUNCTIONS ^

asJavascript()

AUTHORS ^

David Jacobs <globaldj@mac.com>
Ed Summers <ehs@pobox.com>
Brian Cassidy <brian@altnernation.net>