Download the PHP package sahusoftcom/articlebuilder-net-laravel without Composer
On this page you can find all versions of the php package sahusoftcom/articlebuilder-net-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sahusoftcom/articlebuilder-net-laravel
More information about sahusoftcom/articlebuilder-net-laravel
Files in sahusoftcom/articlebuilder-net-laravel
Package articlebuilder-net-laravel
Short Description Service Provider for ArticleBuilder.net API & XMLRPClientWordpress Blog Posting
License Sahu Soft India Private Limited
Homepage https://github.com/sahusoftcom/articlebuilder-net-laravel
Informations about the package articlebuilder-net-laravel
Articlebuilder.Net Laravel Version: 1.0
Service Provider of ArticleBuilder.net API & XMLRPClient Wordpress for Laravel PHP Framework [ Packagist ]
Installation
Type the following command in your project directory
composer require sahusoftcom/articlebuilder-net-laravel
OR
Add the following line to the require
section of composer.json
:
Setup
In /config/app.php
, add the following to providers
:
How to use
- You should use the
ArtileBuilderService
to access its function - Pass
username
&passsword
parameter inArticleBuilderService
Class - You should use the
XMLRPClientWordpress
to access its function - Pass
xmlrpccurl
,username
&password
parameter inXMLRPClientWordpress
Class
For example:
Article Builder Service Functions
-
authenticate
function
: authenticate()require
: function does not require any parameter.Returns:
[Variable] [Value] success true session (a unique session id)
Session ID is not required to be saved or to be passed in every call.
-
buildArticle
:Build Article function authenticates user and fetches desired article.
function
: article($dataArray)require
: dataArray having folllowing keys and valuesIMPORTANT NOTE: If you choose to spin multiple articles together, it costs one quota point for each article generated. That is, if you set 'spintogether' as 1 and set a 'count' of 5, it will cost you 5 daily quota points.
-
injectContent
:Inject Content function authenticates user and performs the content injection.
function
: article($dataArray)require
: dataArray having folllowing keys and values -
superSpun
:Generates an article from a randomly selected super-spun document in the specified category.
function
: article($dataArray)require
: dataArray having folllowing keys and values -
getTip
:Returns one tip from the given category. Very useful as blog post comments or other shorter backlink texts.
function
: article($dataArray)require
: dataArray having following keys and values -
blogAdd
:Adds a new configured blog to the user's account. If a blog matching the description already exists, its details are updated.
function
: addDeleteBlog($dataArray)require
: dataArray having following keys and values -
blogDelete
:Deletes a blog (and all associated auto-posting jobs for the blog) from the user's account.
function
: addDeleteBlog($dataArray)require
: dataArray having following keys and values -
createBlogPostJob
:Create's an auto-posting job for the passed blog in the user's account. The job ID is returned in the output parameter, and is required for deleting the job or creating auto-posts on demand (using the doAutoPost API call).
function
: blogPostJob($dataArray)require
: dataArray having following keys and values -
deleteBlogPostJob
:Deletes an auto-posting job from the user's account.
function
: blogPostJob($dataArray)require
: dataArray having following keys and values -
doAutoPost
:Runs the specified auto-posting job on demand, which will post content to the configured blog. The posted url returned by XMLRPC is returned in the output variable if successful.
function
: blogPostJob($dataArray)require
: dataArray having following keys and values -
createUniquePostJob
Create's a unique content auto-posting job for the passed blog in the user's account. The job ID is returned in the output parameter, and is required for deleting the job or creating auto-posts on demand (using the doUniqueAutoPost API call).
function
: unqiuePostJob($dataArray)require
: dataArray having following keys and values -
deleteUniquePostJob
Deletes a unique content auto-posting job from the user's account.
function
: unqiuePostJob($dataArray)require
: dataArray having following keys and values -
doUniqueAutoPost
Runs the specified unique content auto-posting job on demand, which will post content to the configured blog. The posted url returned by XMLRPC is returned in the output variable if successful. Keep in mind that there have to be completed articles available from iNeedArticles.com or the call will fail.
function
: unqiuePostJob($dataArray)require
: dataArray having following keys and values -
categories
function
: categories() -
apiQueries
function
: apiQueries() -
apiTipQueries
function
: apiTipQueries()
XMLRPClientWordpress Service Functions
-
createPost
function
: createPost($title, $body, $category, $keywords, $encoding)require
: -
getPost
function
: getPost($blogId)require
: -
displayAuthors
funtion
: displayAuthors($blogId)require
: