NAME

XML::Grammar::Fortune::Synd - Provides syndication for a set of XML-Grammar-Fortune files.

VERSION

Version 0.0211

SYNOPSIS

use XML::Grammar::Fortune::Synd;

my $syndicator = XML::Grammar::Fortune::Synd->new();
...

FUNCTIONS

my $syndicator = $class->new(\%args)

Returns the new Syndicator.

$syndicator->calc_feeds(\%args)

\%args should be:

{
    yaml_persistence_file => "/path/to/yaml-persistence.yaml",
    yaml_persistence_file_out => "/path/to/yaml-persistence.yaml",
    xml_dirs => "/path/to/the/directory-containing-xmls",
    feed_params =>
    {
        title => "My feed title",
        link => "http://mysite.tld/",
        tagline => "Feed tagline",
        author => "john.doe@hello.tld (John Doe)"
        atom_self_link => "http://mysite.tld/my-feed.atom",
        rss_self_link => "http://mysite.tld/my-feed.rss",
    }
}

Returns:

{
    recent-ids => \@list_of_recent_ids,
    feeds =>
    {
        Atom => $atom_XML_Feed_obj,
        rss20 => $rss_XML_Feed_obj,
    },
}

AUTHOR

Shlomi Fish, <shlomif at cpan.org>

BUGS

Please report any bugs or feature requests to bug-xml-grammar-fortune-synd at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=XML-Grammar-Fortune-Synd. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc XML::Grammar::Fortune::Synd

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2008 Shlomi Fish, all rights reserved.

This program is released under the following license: MIT/X11 License

http://www.opensource.org/licenses/mit-license.php