This has been integrated in two free tools available for download! The Text Blender and the Article Blender.
… drove all sphinners crazy! SlightlyshadySEO gave out a tip on how to variate the anchor text (text in your links) when doing link exchange or link spamming. And he gave a basic function to achieve this.
It is time for my text blender to enjoy its well diserved popularity. This function is special becase it takes imbricated blocks of options and processes them all.
I'm just being modest here :) It is because it can take text like: (I know the text look really stoopid but that's the point :))
{{{Fast|Expensive|Shiny|Red|Blue} shoes make|An {Expensive|Pretty|Hot} shoe makes} me {look|appear|seem} {rich|expensive} and {cool|pretty|hot|sexy|stoopid|tall}!|It's all {a lie|misleading informations|smoke and mirrors|a joke|a test}!}
and get something like this out of it:
As you may notice the rules are imbricated. So they are parsed recursivley and translated one at a time. I also allow you to set as parameter the separator but I always use | as it's not used too often except for coders. Look below how it all really looks like:
{
{
{Fast|Expensive|Shiny|Red|Blue} shoes make
|
An {expensive|pretty|hot} shoe makes
}
me
{look|appear|seem} {rich|expensive} and {cool|pretty|hot|sexy|stoopid|tall}!
|
It's all {a lie|misleading informations|smoke and mirrors|a joke|a test}!
}
So many brenches of possibility are resolved with style. I used to have this function work with explode and a lot of string work to reach this but sience I got into regexp … things will never be the same again.
Randomize link exchange text after your own patterns aiming for a keyphrase but providing variations. Spamming … easier to produce different relevant text. Content generation: write 1 page output 10 and so on …
Enjoy!
PS: I got it in C++ if anyone cares :)