Autoblog blogger with popular tags

well Regular Expressions are a pretty complicated thing (I don't know what else to call it :D) at first but it helps a lot if you want to extract particular parts of a text (among other things). At its simplest form, you could replace around 5 lines of your code with just 1 line of regexp. It is very powerful but as I told you its probably going to scare you at first :). It will be something like alien language but after a couple of tests becomes understandable. PM me if you want some help...

psychoul
 
ok i will google it and will try to learn that...
 
Finally i made up my mind to use this script so i have set it up for one of my very old blog which was already indexed in google(some how)
http://funmastijokes.blogspot.com/

i was not using the blog and its account so i won't be loosing anythig.....

Lets see what happens. :confused:


my 1st autopost stuffed with trends tags has been indexed in Big g in 22 minutes....

FUNNY SMS: spike jones salma hayek wedding clocks ellen pompeo ...
17 Feb 2009 ... micro usb gm nachrichten st. james davis trump bankruptcy htc magic rpi nikon mx philtrum gm news tevatron animecrazy conan o brien wife ...
funmastijokes.blogspot.com/2009/02/spike-jones-salma-hayek-wedding-clocks.html - 22 minutes ago -



but being indexed alone won't do ,i need traffic.
 
Last edited:
It's a great idea. I like it so much. But why only few people use it and expressed their thanks? Cus it's too techie. They need simple steps. But yes I can follow your tutorial. And I admit that this is a wonderful Wordpress autoblogging for Blogger. No manual email forwarding whatsoever. It makes your Blogger blog grows on autopilot. 100% autopilot. Well I guess this will help people get rich with just a little effort. :cool2:2 thumbs up.
 
Wow this is cool... thanks, this is really helpful..
 
Last edited:
@Lintang

you have send me a pm... this is in reply to that pm


i have used
atom/hourly because its the part of the address.


above script can get data only form google trends.....


I had made another script which gets data from "blogger blogs" rss feed

here is it

Code:
<?




$ur="any good blogger rss feed-url";


$cde = get_content($ur);  

echo $cde;


$lin="";
for($cd=0;$cd<=10;$cd=$cd+1)
{

$t = "<item>";
$a= strpos($cde, $t);

$cde=substr($cde,$a);


$a= strpos($cde, '<title>');
$A= strpos($cde, '</title>');

$l=substr($cde,$a,$A);

$a= strpos($cde, '<link>');
$A= strpos($cde, '</link>');
$L=substr($cde,$a,$A);
$l=$l." ".$L;

$lin=$lin.$l."\n";

$cde=substr($cde,$A+7);
}

echo $lin;

$Name = "Aj"; //senders name
$email = "[email protected]"; //senders e-mail adress
$recipient = "ur blogger [email protected]"; //recipient

$header = "From: ". $Name . " <" . $email . ">\r\n"; //optional headerfields

mail($recipient, "Some Topic" , $lin, $header); //mail command :)
}

function get_content($url)  
 {  
    $ch = curl_init();  
   
    curl_setopt ($ch, CURLOPT_URL, $url);  
    curl_setopt ($ch, CURLOPT_HEADER, 0);  
   
    ob_start();  
   
    curl_exec ($ch);  
    curl_close ($ch);  
    $string = ob_get_contents();  
   
    ob_end_clean();  
     
    return $string;      
   
 } 

?>

but this script is not working well... now i am busy with studies so am anable to work on it.... if you or anybody else has knowledge of PHP then i request him or her to please debug it.....

However google trend script is working well but now i am not trying it anymore on my blog...

BTW Thanks for your interest....
 
Will test it and report back once I get some time. The script can be a middle man to do content rewrite after scraping some articles, using google translate.

I will dust off the script I made to get the content rewrite once I get a chance.
 
That can be considered as a great script. But anybody out there has tried this as well.? Does it works really the way it boasts? Hope to see some positive reply soon..
 
I tried this script. It works but what it posts does not make any sense at all. Just random keywords. I've not checked if it got indexed yet.

Thanks a look populartaggs.blogspot.com
 
Great guide but I need a little bit of tweaking...
I'm not a programmer, maybe someone can help

How can I change
"random text here" in the "something.php", to actually instead display content from RSS feed?

and will the tags.txt actually put in as "tags" or will it just post it as text on the blog?

Good idea I don't know if it can work...
But here's something that could be useful.
So you have like 100 blogs that you create... all using this same script...

Basically the script could randomly select an rss feed from listed rss so you have
<somephp random select code to read 1,2 or 3 of
rss1
rss2
rss3
< / php script or whatever >
Basically some code that will pull the content for title and content

The 2nd part of the code pulls a random txt file like you have done...
Only the text uses
<a href="your link . com" title="one version of your keyword"> Anchor text 1</a>
for one line of txt txt
And the 2nd is
<a href="your link . com" title="another version of anchor txt"> Anchor text 1</a>
Then you set up this script like [email protected] and you have the same thing for [email protected] for a different blog...
and repeat for asdf100 or however many blogs
Now you would have multiple blogs on the same niche, all pulling DIFFERENT randomly selected content (although I'm not even sure that's needed, but I'm sure someday google will figure out that if if the links all around same content it's probably automated) all focused on your keywords.

Then if it could randomly post content from related RSS feed, with a link at the bottom to the site you're building links for, and a random anchor text...


Another idea would be to have for one post
<start>
<random abbreviated RSS>
pull up a txt file that has variations of keywords in actual txt, some bold content, and some filler words, but basically keyword stuffs
<random abreviiated RSS2>
access same TXT file
access the TXT file that actually links to page you're SEOing for
<random abreviiated RSS3>
Access same TXT file
tag post
</end>

Access the txt file that links to page you're SEOing for



1- Login to you Blogger.com Account and create a new blog.

2- Then Click Settings > Email and create the email which is shown beside Mail-to-Blogger Address. Your email will be like this [email protected]

3- Just Below this email setting, Click at Publish emails immediately

Ok Step 1 is DONE.







After replacing necessary code in the above script
upload above script in any of your site that has mail() enabled and allows file
reading and writhing and allows you to setup cron jobs.Save the above file by
name "something.php" now in same folder create a file tags.txt and write 1000
popular tags seperated by comma in tags.txt eg.

free sms,free downlod,free,torrents,movie,............other tags

now set up a cron job to run "something.php" periodically and you will get
random posts in your blogger account.


I don't know if above method can be successful or not
I have not tried this with any of my blogs but i have made the above script so

i wanted to share that.If you try this then plz. share your experience here.
I may write some more code to autoupdate tags.txt file with new tags.
i May get new popular tags from google trends.

You may use x10hosting . com to host the above script for free x10hosting. com
has all the things required for this script and is free as well.There are many
such free hosts if your are familiar with any other free host then plz. post it
here.

Plz. don't hesitate to improve above code and to give your suggestions.You and
i can together make something new and free.

I won't be able to reply quickly as i will be busy with some other works for
some days so plz. don't mind but do post your replies here.

plz. reply for improvements
 
i've try this one in my blog but dont post the articles, is there anyone can help?
 
@soccnut

well i made this code long ago but it should be working well .....
did you wrote 1000 comma separated tags in tags.txt .you can get comma separated list of keywords by googling.

For cron jobs you may use cronless.com
 
Nice Idea, Now I can Automate my blogger blogs by creating php rss feed.
 
Well i was trying to do similar thing.
Remember I am new to this, so plz. be kind all of you. hee heee:biggthump

i have written some code to extract data from rss feed of google trends.
But that isn't working properly

here is the code i wanted to display no. 1 google trend currently



it is't displaying anything
can anyone plz. help me to correct this error

i will give you my own code extracting G trends on the fly

PHP:
<?php
$trendurl = 'http://www.google.com/trends/hottrends/atom/hourly';
$gtrend = curl_init();
curl_setopt($gtrend, CURLOPT_USERAGENT, sprintf("Mozilla/%d.0",rand(4,5)));
curl_setopt($gtrend, CURLOPT_URL,$trendurl);
curl_setopt($gtrend, CURLOPT_FAILONERROR, true);
curl_setopt($gtrend, CURLOPT_AUTOREFERER, true);
curl_setopt($gtrend, CURLOPT_RETURNTRANSFER,true);
curl_setopt($gtrend, CURLOPT_TIMEOUT, 30);
$trend = curl_exec($gtrend);
preg_match_all("/<a href=\"[^>]*>(.*?)<\/a>/is", $trend, $keywords, PREG_PATTERN_ORDER);

$i=0;
while ($i<10)
{
?>
<li><a href="/search/<?php echo $keywords[1][$i]; ?>"><?php echo $keywords[1][$i]; ?></a></li>
<?php
    $i++;
}
curl_close($gtrend);
?>

have fun :)
 
Doing setup with IFTTT is better and much easier than that if you use Blogger. Just my 2 cents.
 
Back
Top