The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
NAME
    XML::RSS::FromAtom - create a XML::RSS object out of an Atom feed

VERSION
    version 0.02_03

SYNOPSIS
        require XML::RSS::FromAtom;
        use LWP::Simple;
    
        my $atom2rss = new XML::RSS::FromAtom;
        my $data = get 'http://ntess.blogspot.com/atom.xml';

        my $rss = $atom2rss->parse($data);
        #$rss->isa('XML::RSS');

        # - OR -
        require XML::Atom::Syndication;
        my $atomic = XML::Atom::Syndication->instance;
        my $doc = $atomic->get('http://www.timaoutloud.org/xml/atom.xml');

        my $rss2 = $atom2rss->atom_to_rss($doc);
        #$rss2->isa('XML::RSS');

DESCRIPTION
    XML::RSS::FromAtom converts a Atom style feed into an XML::RSS object.

ATTRIBUTES
    syndicator
        An instance of a class that will parse the chosen Atom feed. By
        default, this is XML::Atom::Syndication, but it can be any class
        that exposes an equivalent interface.

    rss_processor
        An instance of a class that will hold the converted Atom feed as
        RSS. By default, this will be XML::RSS.

    content
        The Atom feed represented as a string. This will normally be
        populated by a call to the parse() method.

METHODS
    new( )
        Instanciates a new XML::RSS::FromAtom object

    parse( $string )
        Parses contents of $string as an Atom feed (using
        XML::Atom::Syncdication) and returns it as an XML::RSS object.

    atom_to_rss ( $object )
        Converts an XML::Atom::Syndication::Element as returned by
        XML::Atom::Syndication get into an XML::RSS object.

    build_rss_processor ()
        Provides a default implementation for the rss_processor attribute.

    build_syndicator ()
        Provides a default implementation for the syndicator attribute.

AUTHOR
    Marcus Thiesen, "<marcus@thiesen.org>"

BUGS
    Please report any bugs or feature requests to
    "bug-xml-rss-fromatom@rt.cpan.org", or through the web interface at
    <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=XML-RSS-FromAtom>. I
    will be notified, and then you'll automatically be notified of progress
    on your bug as I make changes.

SEE ALSO
    XML::RSS XML::Atom::Syndication

COPYRIGHT & LICENSE
    Copyright 2005 Marcus Thiesen, All Rights Reserved.

    This program is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.

CVS
    $Id: FromAtom.pm,v 1.1 2005/03/18 17:04:44 marcus Exp $

AUTHOR
    Stephen Cardie <stephenca@ls26.net>

COPYRIGHT AND LICENSE
    This software is copyright (c) 2013 by Marcus Thiesen
    <marcus@thiesen.org>.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.