Kaptain Krayola - pie 2.0

Mangoes Support Communism
Archive for the 'Keyword Gathering' Category
Words for the Keyword Creator
Author: The KaptainYesterday The Kaptain posted his PHP Keyword Creator for the world to enjoy. He got to thinking last night that it might be somewhat helpful to provide you good spammers with some words to use along with it. Since The Kaptain is such a nice guy, he zipped up 141,000 nouns and 31,000 adjectives for your keyword creating pleasure. The files are zipped CSV files so you can parse them however you see fit or import them directly to a database.
Click Here for the Nouns!
Click Here for the Adjectives!
Good luck and stay out of our niches.
read comments (0)PHP Mass Keyword Creator
Author: The KaptainThe Kaptain recently ported his Keyword Spinner tool from ColdFusion to PHP to fit in with his new suite of blackhat internet hate tools. This bit of code is used to take a list of keywords and a list of “mixer” words and combine them into unique key phrases. You can also specify the maximum number of words you want in a phrase for another level of control.
For testing purposes the Kaptain created 2 arrays with 7 elements each and told the script to generate 1000 keywords. The script took about 1.5 seconds to return with 961 unique key phrases all containing 4 words or less.
Here is the code and usage will follow:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | <?php function GenerateKeywords($keywords,$mixerwords,$numtogen,$maxwordsinkey){ $pos = 0; $numToMix = 1; $counter = 1; $newKeys = array(); for($i=0; $i <= $numtogen; $i++){ $useKey = $keywords[$pos]; $mixedKey = MixKey($numToMix,$mixerwords,$useKey); if(!in_array($mixedKey,$newKeys)){ $newKeys[] = $mixedKey; $counter++; } if($pos == count($keywords)){ $pos = 0; if($numToMix < $maxwordsinkey){ $numToMix++; } } $pos++; } return $newKeys; } function MixKey($mixers,$mixwords,$keytomix){ for($i=1; $i<=$mixers; $i++){ $append = rand(0,1); $tmp = rand(0,count($mixwords)); if( $i == 1){ $returnThis = $keytomix; } $word = $mixwords[$tmp]; if($append == 1 && strpos($returnThis,$word) === false){ $returnThis = $returnThis ." ". $mixwords[$tmp]; }else if(strpos($returnThis,$word) === false ){ $returnThis = $mixwords[$tmp] ." ". $returnThis; } } //echo $returnThis."<br>"; return trim($returnThis); } ?> |
Simply include the file, setup some arrays of keywords and mix-in words from whatever sources you see fit, decide how many key phrases you want to create, and the maximum number of words in a phrase. Note: each keyword in your keyword array no matter how many words it contains, will count as one keyword to the script. So, if your keyword is “tasty pies” and you tell the script to create a phrase that is a maximum of 4 words - you will get “tasty pies” plus 3 additional words thus yielding a 5 word phrase. So be mindful of that when selecting your starter keywords and maximum word count.
Usage:
1 2 3 4 5 6 7 8 9 10 | <?php include 'keywordSpinner.php'; $mix = array("big","smelly","red","orange","expensive","tasty","pies"); $keys = array("sunglasses","shoes","hats","pants","cars","trucks","toys"); $newKeys = GenerateKeywords($keys,$mix,1000,4); print_r($newKeys); ?> |
Obviously in this example the code was saved as “keywordSpinner.php” which is the file that is included.
read comments (1)Kaptain Keyword Misspeller 1.0
Author: The KaptainKaptain Keyword Misspeller is a Windows application that will take two lists of words, 1 keyword list and 1 misspelling list, and combine them to give you a giant list of misspelled words. For an example, we will use pie keywords:
Keywords
apple pie
shepherd's pie
pie chart
chicken pot pie
shepards pie
pie in the face
pie recipes
strawberry pie
pie crust
lemon meringue pie
Misspellings of Pie
ie
ipe
ppie
oie
0ie
lie
pe
pei
piie
pue
poe
pje
pke
p8e
p9e
pi
piee
piw
pir
pis
pid
pi3
pi4
After we load those in we will tell it that we want to replace the word “pie”. After that we tell it to Create Keywords and ZANG! We now have a list of 55 misspelled pie keywords from a seed list of 5 keywords and 11 misspellings of the word pie. You can also tell the program to save the newly generated keyword lists and it will write them to a text file for you.
For larger lists (146 keywords and 36 misspellings) the program generated 5256 new keywords in about 5 seconds.
Download here: http://www.kaptainkrayola.com/downloads/KaptainMisspeller.zip
Enjoy!
read comments (1)















