Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Net::Blogger::API::ExtUserdContributed Perl DocuNet::Blogger::API::Extended(3)

NAME
       Net::Blogger::API::Extended - provides helper methods not defined in
       the Blogger API.

SYNOPSIS
	It's very dark in here because this is a black box.

DESCRIPTION
       This package is inherited by Net::Blogger::Engine::Base and provides
       helper methods not defined in the Blogger API.

OBJECT METHODS
   $pkg->MaxPostLength
       Abstract	method for returning the max post length

   $pkg->GetBlogId(\%args)
       Return the unique blogid	for $args{'blogname'}.

       Valid arguments are

       o   blogname => string.

       Releases	prior to Net::Blogger 0.85 accepted a list of arguments	rather
       than a reference. Version 0.85+ are backwards compatible.

       Returns a string. If no blogname	is specified, the current blogid for
       the object is returned.

   $pkg->DeleteAllPosts(\%args)
       Delete all the posts on a weblog. Valid arguments are :

       o   publish

	   Boolean.

       Releases	prior to Net::Blogger 0.85 accepted a list of arguments	rather
       than a reference. Version 0.85+ are backwards compatible.

       Returns true or false.

   $pkg->PostFromFile(\%args)
       Open a filehandle, and while true, post to Blogger. If the length of
       the amount read from the	file exceeds the per-post limit	assigned by
       the Blogger servers -- currently	65,536 characters -- the contents of
       the file	will be	posted in multiple "chunks".

       Valid arguments are

       o   file

	   /path/to/file required

       o   postid

	   String.

       o   publish

	   Boolean.

       o   tail

	   Boolean.

	   If true, the	method will not	attempt	to post	data whose length
	   exceeds the limit set by the	Blogger	server in the order that the
	   data	is read. Translation : last in becomes last post becomes the
	   first thing you see on your weblog.

       If a postid argument is present,	the method will	call the Blogger API
       editPost	method with postid. Otherwise the method will call the Blogger
       API newPost method.

       Releases	prior to Net::Blogger 0.85 accepted a list of arguments	rather
       than a reference. Version 0.85+ are backwards compatible.

       Returns true or false, followed by an array of zero, or more, postids.

   $pkg->PostFromOutline(\%args)
       Like PostFromFile, only this time the file is an	outliner document.

       This method uses	Simon Kittle's Text::Outline::asRenderedHTML method
       for posting. As of this writing,	the Text::Outline package has not been
       uploaded	to the CPAN. See below for a link to the homepage/source.

       Valid outline formats are OPML, tabbed text outline, Emacs' outline-
       mode format, and	the GNOME Think	format.

       Valid arguments are

       o   file

	   /path/to/file required

       o   postid

	   String.

       o   publish

	   Boolean.

       If a postid argument is present,	the method will	call the Blogger API
       editPost	method with postid. Otherwise the method will call the Blogger
       API newPost method.

       Releases	prior to Net::Blogger 0.85 accepted a list of arguments	rather
       than a reference. Version 0.85+ are backwards compatible.

       Returns true or false, followed by an array of zero, or more, postids.

VERSION
       1.0

DATE
       $Date: 2005/03/26 19:29:08 $

AUTHOR
       Aaron Straup Cope

SEE ALSO
       Net::Blogger::Engine::Base

       Net::Blogger::API::Core

LICENSE
       Copyright (c) 2001-2005 Aaron Straup Cope.

       This is free software, you may use it and distribute it under the same
       terms as	Perl itself.

perl v5.24.1			  2017-07-03	Net::Blogger::API::Extended(3)

NAME | SYNOPSIS | DESCRIPTION | OBJECT METHODS | VERSION | DATE | AUTHOR | SEE ALSO | LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Net::Blogger::API::Extended&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help