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

Articlebase Changed

Discussion in 'Blogging' started by Freeopkiller, Nov 9, 2010.

  1. Freeopkiller

    Freeopkiller Junior Member

    Joined:
    Dec 30, 2009
    Messages:
    117
    Likes Received:
    47
    Location:
    Montana
    If your using Wprobot and the article module, articlebase did some changes on the 7th. So if you weren't lucky to catch it, well you might wanna check your autoblogs. Mine was posting a lot of crap...Had to disable the article module..

    Using WPR 3.10. Back to cleaning...l8r
     
    • Thanks Thanks x 1
  2. rlugo29

    rlugo29 Junior Member

    Joined:
    Dec 23, 2009
    Messages:
    145
    Likes Received:
    5
    Occupation:
    just a squirrel trying to get a nut
    Location:
    Largo, Florida
    I was just about to post about this. I'm getting a lot of crap from Articlebase too. I'm also using WPR 3.10. I only have two blogs at the moment. So it's not a huge prob, but any ideas on a fix???

    To be honest, I'm not that impressed with the article module. What else do you all use to get good written content??
     
  3. sksugo

    sksugo Junior Member

    Joined:
    Jun 13, 2010
    Messages:
    121
    Likes Received:
    18
    it's fixed. download new version wp robot
     
  4. Freeopkiller

    Freeopkiller Junior Member

    Joined:
    Dec 30, 2009
    Messages:
    117
    Likes Received:
    47
    Location:
    Montana
    It would be nice to simply download it.. I don't have that option.
     
  5. rlugo29

    rlugo29 Junior Member

    Joined:
    Dec 23, 2009
    Messages:
    145
    Likes Received:
    5
    Occupation:
    just a squirrel trying to get a nut
    Location:
    Largo, Florida
    Me either!!! At least not at this point......
     
  6. warp0011

    warp0011 Junior Member

    Joined:
    May 13, 2008
    Messages:
    137
    Likes Received:
    66
    Occupation:
    IT Executive
    Home Page:
    anyone who has the latest 3.24 of wprobot pls share here as I'd appreciate very much.
     
  7. fung1990

    fung1990 Power Member

    Joined:
    Dec 21, 2009
    Messages:
    577
    Likes Received:
    51
    is getting this like me?
     
  8. wickedguy

    wickedguy Supreme Member

    Joined:
    Jul 22, 2009
    Messages:
    1,402
    Likes Received:
    1,379
    Location:
    BHW--> South Africa
    Home Page:
    ok guys, I know my regex is not the same as wprobot, but for those who have experience with php, here is some code you can use.
    PHP:
    $pattern='/<meta name=\"keywords\" content=\"(.*?)\" \/>(.*?)<h1>(.*?)<\/h1>(.*?)<div class=\"KonaBody\">(.*?)<\/div>(.*?)<strong>About the Author:<\/strong><br \/>(.*?)<\/p><\/p> /si';
    preg_match($pattern,$data,$match);
    $article_keywords=$match[1];
    $article_title=$match[3];
    $article_body=$match[5];$article_body=preg_replace('/<strong><a rel=\"nofollow\"(.*?)\">(.*?)<\/a><\/strong>/si','$2',$article_body);
    $article_resource=$match[7];
    I don't understand the developers of wprobot. I mean, I've got my own personal scraper, but it ALWAYS check to see if a site's template has been changed and if it has my scraper does not scrape anything from that site!

    Anyways, I've got a project going to create autoblogs FULLY automated


    Check it out here: http://zar.tc/wp-auto.html

    You will be able to run it yourself to see it in action!
     
  9. Freeopkiller

    Freeopkiller Junior Member

    Joined:
    Dec 30, 2009
    Messages:
    117
    Likes Received:
    47
    Location:
    Montana
    I see the problem lies in the module/article.php file. The file is ducumented, its a curl issue since they changed their page we need to change what the curl filters out.. I haven't messed around with curl or DOMDocument being a newbie and all. But going to give it a crack.. An article ( almost mirror copy of code ) can be seen here

    hungrycoder.xenexbd.com/tutorial/articlebase-com-scraping-tutorial---part-1-getting-links-under-category.html


    Excellent Job ! I thought of a project like this that would automatically create, based on search terms, someone searches for, then get related keywords, create blog.. This would work great for a ***topics. website..

    Nice job, I like it., Stick me on the beta list..
     
    Last edited: Nov 9, 2010
  10. Freeopkiller

    Freeopkiller Junior Member

    Joined:
    Dec 30, 2009
    Messages:
    117
    Likes Received:
    47
    Location:
    Montana
    Well seems like I can't post the fix with the spam block. Stupid Shit.
    It's code not a link, can't wrap it to display'

    Ok, here is the fix for the Wprobot Article Module..
    I'm using ver 3.10 However looking at older version the Module doesn't change much so it should work for all...

    Open your /modules/article.php file. Save a backup copy..
    Scroll down to line 159 : $paras2 = $xpath2->query --CANT POST THE REST OF LINE --

    Code:
    Change This 
    class='article_cnt KonaBody'
    
    To :

    Code:
    To just This
    class='KonaBody'
    
    I found searching your site using $.browser.msie will give you all the post affected..

    Now get back to work and make some cash...
     
    • Thanks Thanks x 12
    Last edited: Nov 9, 2010
  11. Stu784

    Stu784 Regular Member

    Joined:
    Nov 2, 2009
    Messages:
    426
    Likes Received:
    106
    I've just opened up the articles.php file in dreamweaver and this line of code:

    Code:
    class='article_cnt KonaBody'
    is on lines 315 & 331...

    For version 2.08 do we need to change both of these for it to continue scraping articlesbase correctly?
     
  12. Freeopkiller

    Freeopkiller Junior Member

    Joined:
    Dec 30, 2009
    Messages:
    117
    Likes Received:
    47
    Location:
    Montana
    Haven't checked that old of version, but it shouldn't matter as its just a fetch function.. So backup your file..
    But yes, remove all the article_cnt
    And it should fix it..


    I just did a search on Big G for[SIZE=-1] : Article 0 && $.browser.msie[/SIZE]
    About 3,450,000 results (0.25 seconds)
    So were not the only ones having a bad day..
     
  13. jimthemonkey

    jimthemonkey Newbie

    Joined:
    Jun 1, 2008
    Messages:
    31
    Likes Received:
    13
    This worked like a champ! Thanks a ton! I had just barely started using WProbots article module last week and when the articles started posting funky, I thought I was doing something wrong...but I guess not. Thanks again!
     
  14. redstone.1337

    redstone.1337 BANNED BANNED Jr. VIP Premium Member

    Joined:
    Dec 30, 2009
    Messages:
    1,259
    Likes Received:
    999
    Just noticed that it was posting crap on my Blogs. Many many thanks man! :D :D
     
  15. Stu784

    Stu784 Regular Member

    Joined:
    Nov 2, 2009
    Messages:
    426
    Likes Received:
    106
    Thanks for confirming, I'll give it att try tomorrow.

    Is there much difference between v3.10 & v2.08 (I know they both can be found online)
    Posted via Mobile Device
     
  16. Freeopkiller

    Freeopkiller Junior Member

    Joined:
    Dec 30, 2009
    Messages:
    117
    Likes Received:
    47
    Location:
    Montana
    I switched because of the ability to run manual crons jobs. Wp-cron was killing me. But yeah Theres a big difference in the way you setup your campaigns. Especially if you have a lot of categories. It's worth the switch.. I use it so much now, next adsense check gonna ACTUALLY buy it..
     
  17. Stu784

    Stu784 Regular Member

    Joined:
    Nov 2, 2009
    Messages:
    426
    Likes Received:
    106
    Just tried this and it worked.

    For me I'm using v2.08 and I just removed the article_cnt section on lines 315 & 331 ran a manual post and checked the results on my blog and the post has gone on fine.

    Nice fix thank you!!
     
  18. rdx_karan

    rdx_karan Registered Member

    Joined:
    Dec 27, 2009
    Messages:
    82
    Likes Received:
    52
    Thanks worked for me!
     
  19. Stu784

    Stu784 Regular Member

    Joined:
    Nov 2, 2009
    Messages:
    426
    Likes Received:
    106
    I've just checked my blog since I made the manual (articlesbase) post this morning and an autopost has been created which is looking fine without the additional links and crap before amending the articles.php code.
     
  20. biznets2

    biznets2 Regular Member

    Joined:
    Apr 11, 2010
    Messages:
    379
    Likes Received:
    73
    Home Page:
    Thanks! this has saved a shit-load of money!!