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

Expand Spintax site like sp1n.me?

Discussion in 'Black Hat SEO Tools' started by BHopkins, Sep 17, 2013.

  1. BHopkins

    BHopkins Moderator Staff Member Moderator Jr. VIP

    Joined:
    Dec 31, 2010
    Messages:
    2,388
    Likes Received:
    1,453
    Gender:
    Male
    Occupation:
    ORM and SEO company owner
    Location:
    California
    Home Page:
    I want to expand a line of spintax into all possible variations and then copy all of those variations. Sp1n.me puts each one into a text box so they can't all be copied. Anyone else know a site that expands spintax?
     
  2. BHopkins

    BHopkins Moderator Staff Member Moderator Jr. VIP

    Joined:
    Dec 31, 2010
    Messages:
    2,388
    Likes Received:
    1,453
    Gender:
    Male
    Occupation:
    ORM and SEO company owner
    Location:
    California
    Home Page:
    Anyone know a way to expand spintax to all possible variations?
     
  3. sockpuppet

    sockpuppet Junior Member

    Joined:
    Nov 7, 2011
    Messages:
    155
    Likes Received:
    145
    spin your text with sp1n.me, then open the chrome dev tools or firebug and paste this into the console
    Code:
    var text = ''; var t = document.getElementsByName('txt[]'); for(var i=0;i<t.length;++i) { text += t[i].value+'\n'; }; document.getElementById('spinResults').innerHTML = '<textarea rows="50" cols="100">'+text+'</textarea>'; 
    
    that code compines all textareas into one


    or some very ugly javascript code that runs also in node.js:
    Code:
    var text = "sp1n.me is a {{beautiful |}{{content |}text |}{spinner|generator|tractor}|{wonderful |}{service|tool}} which {allows you to|can} {easily|recursively} {spin|rotate|generate} {text|text content|content}.\nGive it a try ;)"
    
    var re = /\{[^\{]*?\}/
    var dup = {};
    function doit( str ) {
    	var r = re.exec( str );
    	if ( r == null ) {
    		if ( dup[ str ] )
    			return;
    		console.log(str);
    		dup[str]=true;		
    		return;
    	}
    	var alt = r[0].substr(1, r[0].length-2 ).split('|');
    	var begin = str.substr(0, r.index );
    	var end = str.substr( r.index+r[0].length );
    	alt.forEach( function(a){
    		doit( begin+a+end );
    	});
    }
    
    doit( text );
    
     
    • Thanks Thanks x 1
  4. RedLable

    RedLable Regular Member

    Joined:
    Feb 16, 2011
    Messages:
    244
    Likes Received:
    32
    An interesting thread....
     
  5. jimmyr

    jimmyr Jr. VIP Jr. VIP

    Joined:
    Sep 26, 2011
    Messages:
    199
    Likes Received:
    37
    Location:
    Australia
    Home Page:
    Got me curious and wanted to see if my own software could do this :)

    If you've got Chimp Rewriter, do this:

    1. Put your text in the editor
    2. Open export manager
    3. Tick "plain text", and "single file per profile"
    4. Set the delimiter to nothing
    5. Hit export
     
  6. spajaphi

    spajaphi Newbie

    Joined:
    Feb 21, 2016
    Messages:
    26
    Likes Received:
    5
    spin.me + firebug + that code is clutch, thanks very much. you just made my instagress to followliker transition so much more smooth.
     
  7. SEO INC

    SEO INC Regular Member

    Joined:
    Oct 24, 2015
    Messages:
    307
    Likes Received:
    70
    Location:
    Search Metrico
    Fuck yeah, you dug it out of the grave to thank him. Next time use the thanks button below the post on the left hand side :D