XML::OPML::SimpleGen(3pm) | User Contributed Perl Documentation | XML::OPML::SimpleGen(3pm) |
XML::OPML::SimpleGen - create OPML using XML::Simple
version 0.07
require XML::OPML::SimpleGen; my $opml = new XML::OPML::SimpleGen(); $opml->head( title => 'FIFFS Subscriptions', ); $opml->insert_outline( group => 'news', # groups will be auto generated text => 'some feed', xmlUrl => 'http://www.somepage.org/feed.xml', ); # insert_outline and add_outline are the same $opml->add_group( text => 'myGroup' ); # explicitly create groups print $opml->to_string; $opml->save('somefile.opml'); $opml->xml_options( $hashref ); # XML::Simple compatible options # See XML::OPML's synopsis for more knowledge
XML::OPML::SimpleGen lets you simply generate OPML documents without having too much to worry about. It is a drop-in replacement for XML::OPML in regards of generation. As this module uses XML::Simple it is rather generous in regards of attribute or element names.
XML::OPML::SimpleGen - create OPML using XML::Simple
Stephen Cardie "<stephenca@cpan.org>"
<https://github.com/stephenca/XML-OPML-SimpleGen>
The git repository for this module is at L<https://github.com/stephenca/XML-OPML-SimpleGen>
Please report any bugs or feature requests to "bug-xml-opml-simlegen@rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=XML-OPML-SimleGen>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
XML::OPML XML::Simple
Marcus Theisen <marcus@thiesen.org>
This software is copyright (c) 2013 by Marcus Thiesen.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
2021-01-05 | perl v5.32.0 |