Nattsurfaren
Power Member
- Apr 12, 2010
- 593
- 82
My intention is to work with you to improve it. I know many of you are struggling with SEO ranking and have no clue WTF you're doing wrong. So we need a basic clear understand how to do something. In my experience this is impossible to find. Maybe fraction of it but no blue print.
I know most of you will probably ignore this but I'm dead certain this will grow to something awesome if we are willing to work with it. I will give it a try and see how many are jumping in on this. Please post comment or suggestion to keep this alive.
Not finished with the code but here is the first version:
If you run it you will see how a blog network is made.
The phpdump tool seams to not exists any more on the web but it is pretty awesome to see the array structure. I recommend you search for a dump script or if you want I can upload it.
Cheers
I know most of you will probably ignore this but I'm dead certain this will grow to something awesome if we are willing to work with it. I will give it a try and see how many are jumping in on this. Please post comment or suggestion to keep this alive.
Not finished with the code but here is the first version:
Code:
<?php
//include_once("phpdump.php");
$AlwaysBlog=true;//Never stop blogging
$number_of_days_wait="1"; //Example wait '1' day before posting to this blog again.
$primary_keyword="buy bananas";
$secondary_keyword = "how to eat bananas";
$LSIKeywordList[]="get cheap bananas";
$LSIKeywordList[]="cheap bananas";
$LSIKeywordList[]="buy cheap bananas";
$LSIKeywordList[]="order bananas online";
for($blogcount=0;$blogcount<5;$blogcount++)
{
$MyBlogList[] = CreateEmptyBlog(GetRandomWeb20Host(),"Blog$blogcount");
}
while($AlwaysBlog)
{
foreach($MyBlogList as $blogid => $CurrentBlog)
{
$PostSource = GetPostSource();
$BlogPost = GetBlogPost($PostSource,$LSIKeywordList);
$CurrentBlog = CreateBlogPost($CurrentBlog,$BlogPost);
$MyBlogList[$blogid]=$CurrentBlog;
}
WaitNumberOfDays($number_of_days_wait);
//dump($MyBlogList);
exit;
}
?>
<?php
function GetPostSource()
{
$PostSourceList[]="ezinearticles.com";
$PostSourceList[]="goarticles.com";
shuffle($PostSourceList);
return $PostSourceList[0];
}
function GetBlogPost($PostSource,$LSIKeywordList)
{
shuffle($LSIKeywordList);
$BlogPost = SearchArticle($PostSource,$LSIKeywordList[0]);
return $BlogPost;
}
function CreateBlogPost($CurrentBlog,$BlogPost)
{
$CurrentBlog["postid"]++;
$BlogPost["status"]="I successfully posted an article to '".$CurrentBlog["name"]."'";
$BlogPost["link"]="http://".$CurrentBlog["web 2.0 host"]."/".$CurrentBlog["postid"].".htm";
$CurrentBlog["posts"][]=$BlogPost;
return $CurrentBlog;
}
function SearchArticle($PostSource,$LSIKeyword)
{
$article["title"]="Scraped title with keyword '$LSIKeyword' from '$PostSource'";
$article["text"]="We now have a text about '$LSIKeyword' from '$PostSource'";
return $article;
}
function CreateEmptyBlog($web20host,$name)
{
$blog["name"]=$name;
$blog["blog title"]="Random title";
$blog["web 2.0 host"]=$web20host;
$blog["posts"][]="Default post";
$CurrentBlog["postid"]=0;
return $blog;
}
function GetRandomWeb20Host()
{
//List of web 2.0 blogs
$Web20HostList[]="wordpress.com";
$Web20HostList[]="blogigo.com";
$Web20HostList[]="bravejounal.com";
shuffle($Web20HostList);
return $Web20HostList[0];
}
function WaitNumberOfDays($number_of_days_wait)
{
echo "'$number_of_days_wait' days will now pass before posting again<br>";
}
?>
If you run it you will see how a blog network is made.
The phpdump tool seams to not exists any more on the web but it is pretty awesome to see the array structure. I recommend you search for a dump script or if you want I can upload it.
Cheers