-
-
08 Mar 2008 02:00:43 UTC
- Distribution: Catalyst-Model-NetBlogger
- Module version: 0.04001
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (1)
- Testers (719 / 64 / 13)
- Kwalitee
Bus factor: 0- % Coverage
- License: artistic_1
- Perl: v5.8.0
- Activity
24 month- Tools
- Download (27.92KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Christopher H. Laco
- Dependencies
- Catalyst
- Net::Blogger
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Catalyst::Model::NetBlogger - Catalyst Model to post and retrieve blog entries using Net::Blogger
SYNOPSIS
# Model __PACKAGE__->config( engine => 'movabletype', blogid => 1, username => 'login', password => 'apipassword', proxy => 'http://example.com/mt/mt-xmlrpc.cgi' ); # Controller sub default : Private { my ($self, $c) = @_; { local $^W = 0; my ($return, @entries) = $c->model('Blog')->metaWeblog->getRecentPosts({numberOfPosts => 5}); if ($return) { $c->stash->{'entries'} = \@entries; }; }; $c->stash->{'template'} = 'blog.tt'; };
DESCRIPTION
This model class uses Net::Blogger to post and retrieve blog entries to various web log engines XMLRPC API.
CONFIG
The following configuration options are available. They are taken directly from Net::Blogger:
engine
The name of the blog engine to use. This defaults to 'blogger',
proxy
The url of the remote XMLRPC listener to connect to.
blogid
The id of the blog to post or retrieve entries to.
username
The username used to log into the specified blog.
password
The password used to log into the specified blog.
appkey
The magic appkey used when connecting to Blogger blogs.
uri
The URI to post to at the proxy specified above.
METHODS
See Net::Blogger for the available methods.
SEE ALSO
Catalyst::Manual, Catalyst::Helper, Net::Blogger
AUTHOR
Christopher H. Laco CPAN ID: CLACO claco@chrislaco.com http://today.icantfocus.com/blog/
Module Install Instructions
To install Catalyst::Model::NetBlogger, copy and paste the appropriate command in to your terminal.
cpanm Catalyst::Model::NetBlogger
perl -MCPAN -e shell install Catalyst::Model::NetBlogger
For more information on module installation, please visit the detailed CPAN module installation guide.