Web Ninja Article Rewriting API

This is my secret weapon when it comes to getting organic traffic. This is why within 3 months most of my blogs can go from 50 organic visitors (coming from search engines) to nearly 15,000 organic vistors a month. It’s common knowledge that search engines love two things: more content and original content. Usually, sites will have either one or the other. They will have tons of content that you can find all over the internet because all they do is repost existing articles or they will have very little content because all of their stuff is original and who has time to make 3 or 4 original articles a day? Now you can have both without doing a thing!

The Web Ninja Article Rewriter (or Spinner) API is designed to rewrite your articles on the fly. Nowadays, there are many article rewriters available on net which simply rewrite the content using synonymous without keeping the original meaning and the grammar of the sentence/article intact. Most of the time it makes the article very hard to read.

To counter this problem, I have used a few different techniques. First, it takes common phases or combination of words to determine the nouns and verbs within a sentence. Once that is determined, it can replace phases and individual words based on the meaning as if it were nouns or verbs. Once words have been replaced, it then runs the sentences through a very comprehensive grammar checker which then makes sure that all grammar is correct.

Now, I will say that no article rewriting software is 100% prefect and it may throw out a sentence that makes no sense on a rare occasion but I have made a ton of rules to be sure that this is the best rewriting API out there and I am improving it on almost a daily basis. I am always testing this software through autoblogs, and improving it to make it more efficient. I have also made sure that it does more then a 30% change in the article to be sure that it qualifies as “original content” to search engines. I will warn you though that since it uses a very large database to replace phases and words it will rarely put words that are very big and require a college degree to read, lol. But it does make your article sound good!

I have also released a WordPress Plugin that can be used with this API that can rewrite your articles as they are published into your wordpress blog. This can be found here: Web Ninja Article Rewriter WordPress Plugin. When used with autoblogging or rss feed software, this plugin can turn your wordpress blog into a gold mine!

Article Rewriter Example

Original Article

U.S. environmental regulators released a plan on Thursday for the nation's power plants and refineries to cut greenhouse gas emissions, pressing ahead with the Obama administration's strategy of tackling the pollution in the absence of federal climate legislation.

The Environmental Protection Agency said it would propose so-called performance standards on greenhouse gas emissions on both new and existing plants beginning in July for power plants and for oil refineries by December. The fossil fuel plants emit about 40 percent of U.S. greenhouse gases.

The plan resulted from an agreement with states, including California and New York, and environmental groups that had sued the agency to regulate emissions of gases blamed for warming the planet.

The standards, the specifics of which have not been established, are also the latest stage of President Barack Obama's effort to drive U.S. policy to combat global warming.

*From CNET.com

Rewriten Article

United States environmental lawmakers issued a design on Thursday for the nation's electric plants and refineries to reduce greenhouse gas emissions, looking forward with the Obama administration's plan of defeating the air contamination in the nonattendance of federal climate legislation. The Environmental Protection Agency verbalized it would suggest so-called accomplishment guidelines on greenhouse gas emissions on both new and old plants starting in July for power plants and for oil refineries by December.

The fossil fuel plants discharge close to 40 percent of United States greenhouse gases. The design came from an concurrence with states, not limited to California and New York, and environmental bands that had filed suit against the organization to legislate emissions of gases accused for heating the planet. The guidelines, the details of which have not been set, are also the newest stage of President Barack Obama's effort to drive United States policy to fight global warming.

API Usage

You can access the API by making a POST request to the following URL:

http://josh-fowler.com/articlerewrite/

The following parameters are required:

Parameter Description
key This is your API Key. If you do not have an API Key please refer to the “Request an API Key” section.
text This is your article to be rewritten.

PHP Example

<?php 

function rwapi_post_request($url, $referrer, $_data) {
	$data = array();
	while(list($n,$v) = each($_data)){
		$data[] = "$n=$v";
	}
	$data = implode('&', $data);
	$url = parse_url($url);
	if ($url['scheme'] != 'http') {
		die('Only HTTP request are supported !');
	}
	$host = $url['host'];
	$path = $url['path'];
	if ($fp = @fsockopen($host, 80, $errno, $errstr, 30)){
		fputs($fp, "POST $path HTTP/1.1\r\n");
		fputs($fp, "Host: $host\r\n");
		fputs($fp, "Referer: $referrer\r\n");
		fputs($fp, "Content-type: application/x-www-form-urlencoded\r\n");
		fputs($fp, "Content-length: ". strlen($data) ."\r\n");
		fputs($fp, "Connection: close\r\n\r\n");
		fputs($fp, $data);
		$result = '';
		while(!feof($fp)) {
			$result .= fgets($fp, 128);
		}
		fclose($fp);
	 }
	$result = explode("\r\n\r\n", $result, 2);
	$content = isset($result[1]) ? $result[1] : '';
	return $content;
}

function rwapi_call($text, $key,$referrer) {
	$senddata=array('key'=>$key,
	'text'=>$text
	);
	$data = rwapi_post_request('http://josh-fowler.com/articlerewrite/',
$referrer,$senddata);
	return $data;
}

echo rwapi_call('<Your Text>', '<Your API Key>',  '<Your Domain>');

?>

*Replace <Your Text> with your article to be rewritten.
*Replace <Your API Key> with your API Key. If you do not have an API Key please refer to the “Request an API Key” section.
*Replace <Your Domain> with your domian url. e. g. http://example.com

Responses

Most of the time you will just get your rewritten article back but sometimes there are errors. Here are a list of those errors:

Code Response
Error: 1 This means that your API Key is invalid.
Error: 2 Your API is already in use on your maximum allowed IP Addresses.

Request an API Key

For information on requesting an API Key please go here:  Obtaining a Web Ninja Article Rewriting API Key

Support

All support will be handled through the forums at http://josh-fowler.com/forum/forum.php?id=15. I try to check them often and will get to your questions as soon as possible.