The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

WordPress - Perl extension for blah blah blah

SYNOPSIS

  use WordPress;
  use WordPress;

        my $wp = WordPress->new(

                'http://www.domain.com/xmlrpc.php',
                'admin',
                'pass!'
        );

        # show the available categories
        my @categories = @{ $wp->get_categories };
        print map { "$_\n" } @categories;

        # post in a random category
        $wp->post(

                "Hello, Perl asdf  World!",
                "<h1>Posted via Perl</h1>",
                [ $categories[ rand @categories ] ]
        );

DESCRIPTION

Post to wordpress with the help of perl

EXPORT

None by default.

SEE ALSO

http://www.zoozle.net http://www.zoozle.org http://www.zoozle.biz http://www.sebastian-enger.com/ http://www.zoozle.es

AUTHOR

Sebastian Enger, <bigfish82-A!T-gmail.com>

COPYRIGHT AND LICENSE

Copyright 2006: John Bokma / Web: http://johnbokma.com/mexit/2006/07/06/perl-post-wordpress-xml-rpc.html Copyright 2006,2007: Sebastian Enger / Web: http://www.sebastian-enger.com/

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.