[GET] G0g0l's Spintax Content Generator (nested spintax supported)

Gogol

Administrator
Staff member
Moderator
Executive VIP
Jr. VIP
Joined
Sep 10, 2010
Messages
11,807
Reaction score
26,658
Hi all!
I coded this script for generating spinned content for my work. I am sharing it with BHW people. Find the file attached to my post!

Uploading Instruction:
Just upload it on any server / you local host and call it directly. This script also support nested spintax ( e.g. {i am a {fool|cool} guy| i am an idiot}).


VT:

Code:
https://www.virustotal.com/file/8fcbf62daf8515cc4fbbada2f74193577e633ddecfdc669199994f1ab0d99f19/analysis/1359903198/
Response appreciated :-)
 

Attachments

Great code. Would you be so kind and explain me what do:
- ?>
and
- ?R
in (?>[^\{\}]+)|(?R) mean.
 
Great code. Would you be so kind and explain me what do:
- ?>
and
- ?R
in (?>[^\{\}]+)|(?R) mean.

Well im not the greatest when it comes to pattern matching. I will search for the logic when i have my pc handy :)

Sent from my E310 using Tapatalk 2
 
thanks for this, i was kinda hoping it would create some spintax out of an article as well, but its a good and handy script none the less

thanks mate =;0)
 
This is gonna come in useful for a little project I have in my head.

Cheers

D
 
Hi all!
I coded this script for generating spinned content for my work. I am sharing it with BHW people. Find the file attached to my post!

Uploading Instruction:
Just upload it on any server / you local host and call it directly. This script also support nested spintax ( e.g. {i am a {fool|cool} guy| i am an idiot}).


VT:

Code:
https://www.virustotal.com/file/8fcbf62daf8515cc4fbbada2f74193577e633ddecfdc669199994f1ab0d99f19/analysis/1359903198/
Response appreciated :-)


Tried you script, I tried something in it and problems,

I tried this

Code:
This is text {1|2|3} with this <a href="http://google.com" title="Title of link" target="_blank">link</a>
?

and I get this after submit
Code:
This is text {1|2|3} with this <a href=\"http://google.com\" title=\"Title of link\" target=\"_blank\">link</a>


Is there any chance to fix those slashes \?

Katika
 
Tried you script, I tried something in it and problems,

I tried this

Code:
This is text {1|2|3} with this <a href="cant post links" title="Title of link" target="_blank">link</a>
?

and I get this after submit
Code:
This is text {1|2|3} with this <a href=\"cant post links\" title=\"Title of link\" target=\"_blank\">link</a>


Is there any chance to fix those slashes \?

Katika

G0g0l, looks like you are missing stripslashes. Or may be it is his server's magic quotes gpc turned on. :)

Good share! :)
 
Hi all
Sorry for the late reply. Yes, it doesn't have stripslashes.. why not turn magic quotes off instead, because it can also do evil!


If you can't disable it, then open the file and replace line number 55 and 56 with
<textarea name="content" placeholder="Enter the content here..."><? if(isset($_POST['content'])) echo stripslashes($_POST['content']);?></textarea><br>
<textarea placeholder="output:"><? if(isset($content)) echo stripslashes($content);?></textarea>

Let me know if it works.
 
Back
Top