1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Autoblog on blogspot using wordpress?

Discussion in 'Blogging' started by samonlight, May 17, 2009.

  1. samonlight

    samonlight Newbie

    Joined:
    May 16, 2009
    Messages:
    34
    Likes Received:
    4
    I've already done like this (with a free host):
    1. Set up wordpress blog using wp-o-matic to get posts from feed.
    2. Use a plugin to send every post to your email.
    3. Configure blogger to post via email.

    My plugin i used is post2mail using mail() function for sending post to email. But i met some problems:
    1. Every post can not be sent to email automatically with that plugin. Only work when i click "fetch" of wp-o-matic. And only one post sent to email.
    2. Some hosts disables mail() function.

    I'm not a coder, so difficult to solve the problems. Anyone can write another plugin for this?
     
    • Thanks Thanks x 1
  2. finerpleasures

    finerpleasures Regular Member

    Joined:
    Feb 17, 2009
    Messages:
    322
    Likes Received:
    97
    use feed my inbox
     
  3. kaidoristm

    kaidoristm Power Member

    Joined:
    Feb 13, 2009
    Messages:
    561
    Likes Received:
    726
    Occupation:
    Freelancer
    Location:
    Estonia
    Home Page:
    Just greated 4 autoblogs yesterday to blogger lets see how it goes
     
  4. trapmuzik

    trapmuzik Junior Member

    Joined:
    Mar 20, 2009
    Messages:
    192
    Likes Received:
    22
    im not sure i understand you but are you trying to setup a wordpress blog using wp-o-matic and then send post to your email where blogger gets your post from the same email and publishes it? If so why not just use the feed from your wordpress blog and make blogger use that...unless blogger cant.. never really fooled around with free blog hosts before..
     
  5. samonlight

    samonlight Newbie

    Joined:
    May 16, 2009
    Messages:
    34
    Likes Received:
    4
    Just tried finding an easy way to make an auto blogger. I'm not a coder, so i thought that way.
    How will the account be suspended? I don't think it will. ;)

    How can i make blogger using the feed from my wordpress? Feedmyinbox?
    Well, if you already used it, you could realize its limit. Do you have another way?
     
  6. trapmuzik

    trapmuzik Junior Member

    Joined:
    Mar 20, 2009
    Messages:
    192
    Likes Received:
    22
    ok my bad.. i just checked out blogger (yes this is my first time using blogger) and i see you cant do much custom shit.. so my suggestion is using a plugin to auto email every post to your blogger email... That type of plugin should be pretty easy to make.. but i aint doin it :)
     
  7. samonlight

    samonlight Newbie

    Joined:
    May 16, 2009
    Messages:
    34
    Likes Received:
    4
    That's exactly the plugin i need. I tried using one but as i said: It only works only when i click "fetch" of wp-o-matic and only one post sent to email. It's the problem, understand? ok?
    Well, wish someone can write one plugin using php Mail function or Smtp to auto send every post to mail. ;)
     
    Last edited: Jun 5, 2009
  8. trapmuzik

    trapmuzik Junior Member

    Joined:
    Mar 20, 2009
    Messages:
    192
    Likes Received:
    22
    ok i wrote a quick plugin but im wondering if i should release it or keep it to myself..lol
     
  9. samonlight

    samonlight Newbie

    Joined:
    May 16, 2009
    Messages:
    34
    Likes Received:
    4
    If you share it, many people will thank you. And if you do not want to share it, that's ok. I only mention one way to make an autoblog, so i think i shared my idea.
     
  10. demoniox

    demoniox Registered Member

    Joined:
    Mar 5, 2007
    Messages:
    98
    Likes Received:
    83
    PHP:
    <?php
    /* 
    Plugin Name: Demon Post Mailer
    Plugin URI:  mailto:eldemoniox@gmail.com
    Description: Email every post to an email adress    
    Author: eldemoniox@gmail.com
    Version: 1.0a
    Author URI: mailto:eldemoniox@gmail.com
    */  

    add_action('transition_post_status''email_this_post'153);

    function 
    email_this_post($new_status$old_status$post) {
        if (
    $old_status == 'publish' || $new_status != 'publish' || $post->post_type != 'post') return;
        
        
    //$post->post_title,$post->post_content
        
    $to      'youremail@domain.com';
        
    $subject $post->post_title;
        
    $message $post->post_content;
        
    $headers 'From: youremail@domain.com' "\r\n" .
            
    'Reply-To: youremail@domain.com' "\r\n" .
            
    'X-Mailer: PHP/' phpversion();

        @
    mail($to$subject$message$headers);
    }

    ?>
    replace youremail@domain.com for you email
     
    • Thanks Thanks x 1
  11. lookyoung

    lookyoung Newbie

    Joined:
    May 13, 2009
    Messages:
    34
    Likes Received:
    4
    Just read this post. If you post from your Wordpress Blog, then your blogspot blog will have the same post. Is that ok ?
     
  12. samonlight

    samonlight Newbie

    Joined:
    May 16, 2009
    Messages:
    34
    Likes Received:
    4
    @demoniox: Thank you. i'm trying now.

    @lookyoung: I think it's ok. I just use wordpress blog for posting to blogger, no more. ( Of course wp blog with free hosting) :D

    @all: Anyone has a plugin using Smtp?
     
  13. demoniox

    demoniox Registered Member

    Joined:
    Mar 5, 2007
    Messages:
    98
    Likes Received:
    83
    here is a smtp version that works with gmail :)
     

    Attached Files:

    • Thanks Thanks x 1
  14. YONITED

    YONITED Newbie

    Joined:
    May 8, 2009
    Messages:
    33
    Likes Received:
    0
    great idea dude
    great job demoniox thanks so much for sharing

    but i have question /
    how the labels in the receiving blogger will be organized
    is it grab them automatically from the mailed feed post or you will have to this manually
     
    Last edited: Jun 7, 2009
  15. samonlight

    samonlight Newbie

    Joined:
    May 16, 2009
    Messages:
    34
    Likes Received:
    4
    Yes, have to do it manually.
     
  16. samonlight

    samonlight Newbie

    Joined:
    May 16, 2009
    Messages:
    34
    Likes Received:
    4
    Demonsmtpmailer works fine, but there's a problem when combine it with wp-o-matic. It sends duplicate posts to mail although i have used the plugin: clearDuplicatePosts
    Anyone can fix it?

     
  17. demoniox

    demoniox Registered Member

    Joined:
    Mar 5, 2007
    Messages:
    98
    Likes Received:
    83
    here is a quick fix for that :)

    is a modified version of clearDuplicatePosts and an update of demonsmptmailer
     

    Attached Files:

    • Thanks Thanks x 4
  18. Alex Brooks

    Alex Brooks BANNED BANNED

    Joined:
    Mar 17, 2009
    Messages:
    1,199
    Likes Received:
    297
    Your better off investing in a domain + hosting if your serious about starting auto blogging.
     
  19. samonlight

    samonlight Newbie

    Joined:
    May 16, 2009
    Messages:
    34
    Likes Received:
    4
    @demoniox: Thanks, but it seems the plugin still sends duplicate posts. I wonder can you use another method such as only sending posts that have unique titles. :)
     
  20. samonlight

    samonlight Newbie

    Joined:
    May 16, 2009
    Messages:
    34
    Likes Received:
    4
    Waiting for new version of demonmailer. :)