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

[GET] Imacros Article Finder

Discussion in 'Black Hat SEO Tools' started by warrior skunk, Jan 2, 2010.

  1. warrior skunk

    warrior skunk Newbie

    Joined:
    Sep 1, 2009
    Messages:
    40
    Likes Received:
    22
    Hey I thought I would finally contribute to the forums after reading countless posts by others.

    I just finished creating an Imacros script that will search ezinearticles.com for your specific keyword take the top ten results, rewrite them, and then save them in your Imacros downloads folder.

    In more detail, the script will rewrite the articles using Google Translator to translate them into French and then back into English. I know this is not the best way to go about rewriting articles, but for my purpose I think it will be OK. If anyone else knows of a free fully automatic online article spinner that is better let me know and I can change it to utilize that tool fairly easily. :D

    To use the tool you simply play the macro and enter in your keyword when asked. Then sit back and watch as it gathers 10 fresh articles for you. There is, however, a possibility that an author appears in your top 10 results in which case the script will just keep going and you will have an empty article.

    Anyway here is the code:
    Code:
    keyword = prompt("Enter your article keyword(s)", "");
    
    
    macro = "CODE:\n";
    macro += "TAB T=1\n";
    macro += "URL GOTO=http://ezinearticles.com/\n";
    macro += "TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://ezinearticles.com/results/ ATTR=NAME:q CONTENT="+keyword.replace(/ /gi, "<SP>") +"\n";
    macro += "TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:http://ezinearticles.com/results/ ATTR=NAME:sa&&VALUE:Google<SP>Search\n";
    macro += "FRAME F=1\n";
    macro += "TAG POS=1 TYPE=img ATTR=ALT:Google EXTRACT=TXT\n";
    macro += "SET !EXTRACT NULL\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    retcode = iimPlay(macro);
    extract = iimGetLastExtract();
    //alert(extract);
    urls = extract.split("[EXTRACT]");
    
    for (i = 0; i < urls.length; i++) {
        //alert(urls[i]);
        macro = "CODE:\n";
        macro += "URL GOTO="+urls[i]+"\n";
        macro += "TAG POS=1 TYPE=div ATTR=ID:body EXTRACT=TXT\n";
        macro += "URL GOTO=http://translate.google.com/#\n";
        macro += "TAG POS=1 TYPE=TEXTAREA FORM=NAME:text_form ATTR=ID:source CONTENT={{!EXTRACT}}\n";
        macro += "TAG POS=1 TYPE=SELECT FORM=NAME:text_form ATTR=ID:old_sl CONTENT=%en\n";
        macro += "TAG POS=1 TYPE=SELECT FORM=NAME:text_form ATTR=ID:old_tl CONTENT=%fr\n";
        macro += "TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:text_form ATTR=ID:old_submit\n";
        macro += "SET !EXTRACT NULL\n";
        macro += "TAG POS=1 TYPE=SPAN ATTR=ID:result_box EXTRACT=TXT\n";
        macro += "URL GOTO=http://translate.google.com/#\n";
        macro += "TAG POS=1 TYPE=TEXTAREA FORM=NAME:text_form ATTR=ID:source CONTENT={{!EXTRACT}}\n";
        macro += "TAG POS=1 TYPE=SELECT FORM=NAME:text_form ATTR=ID:old_sl CONTENT=%fr\n";
        macro += "TAG POS=1 TYPE=SELECT FORM=NAME:text_form ATTR=ID:old_tl CONTENT=%en\n";
        macro += "TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:text_form ATTR=ID:old_submit\n";
        macro += "SET !EXTRACT NULL\n";
        macro += "TAG POS=1 TYPE=SPAN ATTR=ID:result_box EXTRACT=TXT\n";
        macro += "SAVEAS TYPE=EXTRACT FOLDER=* FILE="+keyword.replace(/ /gi, "_")+"_"+i+".txt\n";
        retcode = iimPlay(macro);
        extract = iimGetLastExtract();
        article = temp[temp.length-1];
    }
    One example that I plan on using this code for is to make things like linkwheels or other web 2.0 backlinks. I am not necessarily looking for the pages to actually get visitors, but just be good related backlinks. That is why I don't require high quality rewritten articles.
     
    • Thanks Thanks x 16
  2. rufus15

    rufus15 Junior Member

    Joined:
    May 21, 2009
    Messages:
    134
    Likes Received:
    162
    Occupation:
    Spammer :D
    Location:
    Philippines
    I see some programming in the code. can this be used on php?
     
  3. devilived

    devilived Junior Member

    Joined:
    Jul 13, 2009
    Messages:
    124
    Likes Received:
    59
    Was trying to code a macro to do this ! Thats what i call a new year's gift ! Thanx
     
  4. shadowfax

    shadowfax Power Member

    Joined:
    Mar 9, 2009
    Messages:
    513
    Likes Received:
    695
    Occupation:
    IM, Marketing, Programming
    Location:
    Where there is money baby
    Thanks for the share.. Will try to modify it to add one more level of translation to get even more uniqueness..
     
  5. matha048

    matha048 Newbie

    Joined:
    Jun 17, 2009
    Messages:
    3
    Likes Received:
    0
    Thanks for the share.

    :)
     
  6. shadowfax

    shadowfax Power Member

    Joined:
    Mar 9, 2009
    Messages:
    513
    Likes Received:
    695
    Occupation:
    IM, Marketing, Programming
    Location:
    Where there is money baby
    Hey warrior,

    I get this error when I try run the macro

    Code:
    SyntaxError: unknown command: KEYWORD at line 1
    Here's what I did..

    1) I created a new .iim file in the Imacros folder
    2) Copied & pasted the code that you have given in the new file
    3) Saved the file and then tried to run it from the iMacros sidebar

    Did I miss anything?
     
  7. gogetta

    gogetta Power Member

    Joined:
    Oct 4, 2008
    Messages:
    688
    Likes Received:
    1,307
    Occupation:
    Internet Hustla
    Location:
    Trapped Online
    You have to run this in the javascript... So edit your macro and at the top you will see a drop down, just click on javascript and save it. Instead of .iim it will be .js
     
    • Thanks Thanks x 2
  8. sputnik11

    sputnik11 Junior Member

    Joined:
    May 8, 2009
    Messages:
    106
    Likes Received:
    46
    Occupation:
    International Man of Mystery
    Location:
    OC-SoCal
    pretty cool - temp is not defined - line 49 error

    will peek at it further ... on first go ...
     
  9. warrior skunk

    warrior skunk Newbie

    Joined:
    Sep 1, 2009
    Messages:
    40
    Likes Received:
    22
    Sorry just got up... it looks like I left a line of code in there that is not needed. Take out the entire line 49
    Code:
    article = temp[temp.length-1];
    The updated code will look like this. Sorry about that!
    Code:
    keyword = prompt("Enter your article keyword(s)", "");
    
    
    macro = "CODE:\n";
    macro += "TAB T=1\n";
    macro += "URL GOTO=http://ezinearticles.com/\n";
    macro += "TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://ezinearticles.com/results/ ATTR=NAME:q CONTENT="+keyword.replace(/ /gi, "<SP>") +"\n";
    macro += "TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:http://ezinearticles.com/results/ ATTR=NAME:sa&&VALUE:Google<SP>Search\n";
    macro += "FRAME F=1\n";
    macro += "TAG POS=1 TYPE=img ATTR=ALT:Google EXTRACT=TXT\n";
    macro += "SET !EXTRACT NULL\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    macro += "TAG POS=R1 TYPE=a ATTR=* EXTRACT=HREF\n";
    retcode = iimPlay(macro);
    extract = iimGetLastExtract();
    //alert(extract);
    urls = extract.split("[EXTRACT]");
    
    for (i = 0; i < urls.length; i++) {
        //alert(urls[i]);
        macro = "CODE:\n";
        macro += "URL GOTO="+urls[i]+"\n";
        macro += "TAG POS=1 TYPE=div ATTR=ID:body EXTRACT=TXT\n";
        macro += "URL GOTO=http://translate.google.com/#\n";
        macro += "TAG POS=1 TYPE=TEXTAREA FORM=NAME:text_form ATTR=ID:source CONTENT={{!EXTRACT}}\n";
        macro += "TAG POS=1 TYPE=SELECT FORM=NAME:text_form ATTR=ID:old_sl CONTENT=%en\n";
        macro += "TAG POS=1 TYPE=SELECT FORM=NAME:text_form ATTR=ID:old_tl CONTENT=%fr\n";
        macro += "TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:text_form ATTR=ID:old_submit\n";
        macro += "SET !EXTRACT NULL\n";
        macro += "TAG POS=1 TYPE=SPAN ATTR=ID:result_box EXTRACT=TXT\n";
        macro += "URL GOTO=http://translate.google.com/#\n";
        macro += "TAG POS=1 TYPE=TEXTAREA FORM=NAME:text_form ATTR=ID:source CONTENT={{!EXTRACT}}\n";
        macro += "TAG POS=1 TYPE=SELECT FORM=NAME:text_form ATTR=ID:old_sl CONTENT=%fr\n";
        macro += "TAG POS=1 TYPE=SELECT FORM=NAME:text_form ATTR=ID:old_tl CONTENT=%en\n";
        macro += "TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:text_form ATTR=ID:old_submit\n";
        macro += "SET !EXTRACT NULL\n";
        macro += "TAG POS=1 TYPE=SPAN ATTR=ID:result_box EXTRACT=TXT\n";
        macro += "SAVEAS TYPE=EXTRACT FOLDER=* FILE="+keyword.replace(/ /gi, "_")+"_"+i+".txt\n";
        retcode = iimPlay(macro);
        extract = iimGetLastExtract();
    }
     
    • Thanks Thanks x 6
    Last edited: Jan 4, 2010
  10. bangus

    bangus Newbie

    Joined:
    Jan 19, 2009
    Messages:
    24
    Likes Received:
    1
    thanks i love it!! i can continue working on with this and automatically post save article to my wordpress blog.
     
  11. sputnik11

    sputnik11 Junior Member

    Joined:
    May 8, 2009
    Messages:
    106
    Likes Received:
    46
    Occupation:
    International Man of Mystery
    Location:
    OC-SoCal
    nice one skunky- thanks for that ... very useful.

    U got time and any desire to code a few paid gigs for me privately?

    Imacros - javascript macros that run in the free firefox add-on version.

    kinda simple stuff really - im just not a core programmer.

    Needsif then logic and randomization logic.

    if this tag appears on hte page as X - then

    TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:lOgin ATTR=VALUE:Sign<SP>In

    if tag Y exists then do

    TAG POS=1 TYPE=INPUT:BUTTON FORM=NAME:lOgin ATTR=VALUE:Sign<SP>In

    Then the other is a random spun article macro ...

    Lets say I have a .csv full of 10 different niche articles spun 100 times each ...

    row 1, article 1 title, article 1 body, article 2 title, article 2 body, thru article 10

    ....

    row 100, article 1 title, article 1 body, article 2 title, article 2 body, thru article 10

    javascript to create a randow ROW 1-100, and then a random set of column pairs [ colmun1-article's title | column 2, article's body ]

    simply looping over isnt gettin it done for me :)

    would like to be able to randomizenot only the row selected of 1-100 versions of the article ... but also by randomizing column pairs i can randomize the niche of the articles - and post like a bat outta hell with pretty unique random content.

    thoughts ohhhh imacros article wizards?
     
  12. warrior skunk

    warrior skunk Newbie

    Joined:
    Sep 1, 2009
    Messages:
    40
    Likes Received:
    22
    sputnik i am sending you a PM
     
  13. dreamnaja

    dreamnaja Newbie

    Joined:
    May 19, 2010
    Messages:
    35
    Likes Received:
    4
    thank you, I want get updates for this script.
     
  14. noermanto

    noermanto Regular Member

    Joined:
    Nov 18, 2009
    Messages:
    305
    Likes Received:
    288
    Occupation:
    None
    Location:
    # JKT #
    Home Page:
    Amazing!

    This thread and the method are great. Thanks
     
  15. entri3

    entri3 Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 26, 2008
    Messages:
    1,904
    Likes Received:
    418
    dude, your stuff are rocks, this is what I have been looking for
     
  16. treasurechest

    treasurechest Newbie

    Joined:
    Mar 27, 2010
    Messages:
    21
    Likes Received:
    4
    Hi,

    Please i really wish i could use this macros but i dont know how to use it, i downloaded and installed the firefox extension of imacros but i dont know what to do next to be able to use the code given above, please i kindly need help.
     
  17. treasurechest

    treasurechest Newbie

    Joined:
    Mar 27, 2010
    Messages:
    21
    Likes Received:
    4
    Hi,


    i need help, please can you kindly teach me how to use this software. i really donnot understand any thing about it, i just downloaded the firefox extension i.e imacros, but dont know how to use it to get articles




     
  18. leehughes

    leehughes Regular Member

    Joined:
    Jul 11, 2010
    Messages:
    255
    Likes Received:
    18
    amazing!!

    Mine stops though with the following error

    Code:
    RuntimeError: element SELECT specified by ID:old_sl was not found, line: 6
     
    Last edited: Sep 24, 2010
  19. pirondi

    pirondi Power Member

    Joined:
    Jan 5, 2010
    Messages:
    562
    Likes Received:
    118
    I am with the same problem.
     
  20. neobavesten

    neobavesten Newbie

    Joined:
    Jan 19, 2010
    Messages:
    31
    Likes Received:
    0
    Location:
    Far away
    Same problem here. Any solution? BTW, great idea and work!