Generate: Content Spinning (Spintax)


Videos are not designed to be a substitute for instructions. Please refer to the detailed Documentation below.

Overview

Page Generator Pro supports Content Spinning, which allows you to generate variants of strings or paragraphs within your content for each generated Page – without using the Keywords system – in a random fashion.

Specifically, Page Generator Pro supports:

  1. Block Spinning
  2. Spintax

Block Spinning

It’s best to think of block spinning as a way of generating unique sections or paragraphs of content, by specifying one or more sentences, where each sentence has two or more choices.

Specifically, three tags are used:

  • #section# and #/section#: These denote a single section.  All paragraphs within these tags will be sorted randomly when block spinning takes place.  You don’t have to use sections if you wish to preserve the order of your paragraphs.
  • #p# and #/p#: These denote a single paragraph.  All sentences within these tags will be wrapped in a single paragraph.  They may be used within a section, if you want to output them in a random order.
  • #s# and #/s#: These denote a single sentence.  They must be used within a paragraph (#p# and #/p#).  Within each sentence (#s# and #/s#), you’ll enter two or more sentences, each on its own line.  Block spinning will then choose one sentence from the available sentences specific to that sentence block.
It’s best to write Block Spintax in HTML (i.e. not a Visual Editor), to avoid tags being wrapped in HTML tags (e.g. <p>#section#<br />#p#</p>), which will result in no parsing of spintax.
Our syntax slightly differs from block spinning that you might have used with AutofillMagic.  We use #section# in place of #block, and groups of sentences in a paragraph must be wrapped with #s# and #/s#

Block Spinning Example

For example, a sentence might be:

Writing content is a lot of fun.

Using block spinning, we can define variants of that sentence:

#p#
	#s#
		Writing content is a lot of fun.
		Creating articles is a rewarding experience.
	#/s#
#/p#

Page Generator Pro will then, at random, generate a variation for each generated Page.  In this case there are 2 possible variations:

Writing content is a lot of fun.
Creating articles is a rewarding experience.

Indentation isn’t a requirement; provided you have #p# and #s# (with closing #/p# and #/s#), block spinning will work.  Indentation is at your discretion, and can be used to make it easier to view block spinning.

Block Spinning Example, with multiple sentences.

Extending on our example, we can construct a paragraph comprising of several sentences.

#p#
	#s#
		Writing content is a lot of fun.
		Creating articles is a rewarding experience.
	#/s#
	#s#
		When done correctly, it captures the audience’s attention.
		The audience is immersed in the story, and continue to read.
	#/s#
#/p#

Page Generator Pro will then, at random, generate a paragraph comprising of sentence variations for each generated Page.  In this case there are 4 possible variations:

Writing content is a lot of fun. When done correctly, it captures the audience’s attention.
Writing content is a lot of fun. The audience is immersed in the story, and continue to read.
Creating articles is a rewarding experience. When done correctly, it captures the audience’s attention.
Creating articles is a rewarding experience. The audience is immersed in the story, and continue to read.

If you are familiar with traditional spintax, using curly braces, you’ll notice Block Spinning is similar in functionality.  It’s best used for larger pieces of content, such as paragraphs, where you wish to retain readability versus using traditional spintax.

Block Spinning Example, with multiple paragraphs and sentences.

Extending on our example, we can construct multiple paragraphs comprising of several sentences.

#p#
	#s#
		Writing content is a lot of fun.
		Creating articles is a rewarding experience.
	#/s#
	#s#
		When done correctly, it captures the audience’s attention.
		The audience is immersed in the story, and continue to read.
	#/s#
#/p#
#p#
	#s#
		It's important to add rich media, such as images and video.
		Images and video add to the audience's experience.
	#/s#
	#s#
		Be sure to optimize media for the audience's device.
		However, avoid media that takes a long time to load.
	#/s#
#/p#

Page Generator Pro will then, at random, generate two paragraphs comprising of sentence variations for each generated Page.  In this case there are 4 possible variations in each paragraph, resulting in 16 possible variations in total:

Writing content is a lot of fun. When done correctly, it captures the audience’s attention.
It’s important to add rich media, such as images and video. Be sure to optimize media for the audience’s device.

Writing content is a lot of fun. When done correctly, it captures the audience’s attention.
It’s important to add rich media, such as images and video. However, avoid media that takes a long time to load.

Writing content is a lot of fun. When done correctly, it captures the audience’s attention.
Images and video add to the audience’s experience. Be sure to optimize media for the audience’s device.

Writing content is a lot of fun. When done correctly, it captures the audience’s attention.
Images and video add to the audience’s experience. However, avoid media that takes a long time to load.

Writing content is a lot of fun. The audience is immersed in the story, and continue to read.
It’s important to add rich media, such as images and video. Be sure to optimize media for the audience’s device.

Writing content is a lot of fun. The audience is immersed in the story, and continue to read.
It’s important to add rich media, such as images and video. However, avoid media that takes a long time to load.

Writing content is a lot of fun. The audience is immersed in the story, and continue to read.
Images and video add to the audience’s experience. Be sure to optimize media for the audience’s device.

Writing content is a lot of fun. The audience is immersed in the story, and continue to read.
Images and video add to the audience’s experience. However, avoid media that takes a long time to load.



Creating articles is a rewarding experience.
When done correctly, it captures the audience’s attention.
It’s important to add rich media, such as images and video. Be sure to optimize media for the audience’s device.

Creating articles is a rewarding experience. When done correctly, it captures the audience’s attention.
It’s important to add rich media, such as images and video. However, avoid media that takes a long time to load.

Creating articles is a rewarding experience. When done correctly, it captures the audience’s attention.
Images and video add to the audience’s experience. Be sure to optimize media for the audience’s device.

Creating articles is a rewarding experience. When done correctly, it captures the audience’s attention.
Images and video add to the audience’s experience. However, avoid media that takes a long time to load.



Creating articles is a rewarding experience.
The audience is immersed in the story, and continue to read.
It’s important to add rich media, such as images and video. Be sure to optimize media for the audience’s device.

Creating articles is a rewarding experience. The audience is immersed in the story, and continue to read.
It’s important to add rich media, such as images and video. However, avoid media that takes a long time to load.

Creating articles is a rewarding experience. The audience is immersed in the story, and continue to read.
Images and video add to the audience’s experience. Be sure to optimize media for the audience’s device.

Creating articles is a rewarding experience. The audience is immersed in the story, and continue to read.
Images and video add to the audience’s experience. However, avoid media that takes a long time to load.

If you are familiar with traditional spintax, using curly braces, you’ll notice Block Spinning is similar in functionality.  It’s best used for larger pieces of content, such as paragraphs, where you wish to retain readability versus using traditional spintax.

Block Spinning Example, with a section, multiple paragraphs and sentences.

Extending on our example, we can have Page Generator Pro swap the order of the paragraphs at random, by placing our existing paragraphs and sentences inside a #section

#section#
	#p#
		#s#
			Writing content is a lot of fun.
			Creating articles is a rewarding experience.
		#/s#
		#s#
			When done correctly, it captures the audience’s attention.
			The audience is immersed in the story, and continue to read.
		#/s#
	#/p#
	#p#
		#s#
			It's important to add rich media, such as images and video.
			Images and video add to the audience's experience.
		#/s#
		#s#
			Be sure to optimize media for the audience's device.
			However, avoid media that takes a long time to load.
		#/s#
	#/p#
#/section#

Page Generator Pro will then, at random, generate two paragraphs comprising of sentence variations for each generated Page in the same way as we did in the previous example. In this case, however, there are 32 possible variations in total – the 16 above, multiplied by the 2 possible paragraph orders.

Spintax

It’s best to think of spintax as a way of generating unique sentences, by specifying one or more words within a sentence, where each word has two or more choices.

Spintax Example

For example, a sentence might be:

Writing content is a lot of fun.

Using spintax, we can use:

{Writing|Creating} {content|articles} is a {lot of fun|rewarding experience}

Page Generator Pro will then, at random, generate a variation for each generated Page.  In this case there are 8 possible variations:

Writing content is a lot of fun
Creating content is a lot of fun
Writing articles is a lot of fun
Creating articles is a lot of fun
Writing content is a rewarding experience
Creating content is a rewarding experience
Writing articles is a rewarding experience
Creating articles is a rewarding experience

Nested Spintax Example

Spintax can also be nested.  For example:

{Hello|Hi}, {{Joe|Steve}|Tim|Tom}

Page Generator Pro will then, at random, generate a variation for each generated Page.  In this case there are 8 possible variations:

Hello, Joe
Hello, Steve
Hello, Tim
Hello, Tom
Hi, Joe
Hi, Steve
Hi, Tim
Hi, Tom

Combining Block Spinning and Spintax

Both Block Spinning and Spintax can be combined.  Building on our earlier examples:

#p#
	#s#
		{Writing|Creating} {content|articles} is {a lot of fun|rewarding experience}.
		{Creating|Publishing} {articles|posts} is a {great SEO tool|fantastic way to generate unique content}.
	#/s#
	#s#
		When done correctly, it captures the audience’s attention.
		The audience is immersed in the story, and continue to read.
	#/s#
#/p#

Page Generator Pro will then, at random, generate a variation for each generated Page.  In this case there are a total of 128 possible variations:

  • First sentence: 64 variations (8 x 8):
    • {Writing|Creating} {content|articles} is {a lot of fun|rewarding experience}: 8 variations (2 x 2 x 2)
    • {Creating|Publishing} {articles|posts} is a {great SEO tool|fantastic way to generate unique content}: 8 variations (2 x 2 x 2)
  •  Second sentence: 2 variations

Keywords

You can nest keywords anywhere within both Block Spinning and Spintax.  When this happens, Page Generator Pro will replace the keyword with one of the keyword terms, and then execute / run the block spin or spintax.

For example, if we have a city keyword with the terms Birmingham and London:

Thanks for visiting {{city}|us}

Page Generator Pro will then, at random, generate a variation for each generated Page.  In this case there are 3 possible variations:

Thanks for visiting Birmingham
Thanks for visiting London
Thanks for visiting us

Supported Fields

Block Spinning and Spintax is supported on all fields on the Generate screen, including Page Builders.

We do not recommend using Spintax on the Title or Permalink.  This is because Spintax increases the chances of the same Title / Permalink being generated twice in a generation set.  As WordPress does not support multiple Pages having the same URL, and Page Generator Pro avoids duplicate content by Title and Permalink, should this condition occur, the duplicate Pages would not be generated.  This results in fewer Pages being generated than expected, and is by design.

Automatically Generate Spintax

Page Generator Pro provides an automatic spintax generation tool.

If you’ve specified a third party service to use for generating spintax on the Settings screen, it will be used here.

This can be used to replace selected content in the Visual Editor with spintax.  To use this:

  1. Select some text, or a paragraph.
    Page Generator Pro: Spintax: Auto Generate: Before
  2. In the Visual Editor’s toolbar, click the spintax button:
    Page Generator Pro: Tutorial: Spintax Button
  3. The selected text will be replaced by Spintax, using the service defined in the Plugin’s Spintax Settings.
    Page Generator Pro: Spintax: Auto Generate: After
If no spintax replaces the selected text, the Plugin could not find any suitable spintax replacements for the given text.

Troubleshooting

  1. Ensure that you’re using the exact format in the above example.
  2. Some users report issues of Block Spinning and Spintax failing to work when pasting into the Visual Editor of the Content window; to workaround this, use the Text view (Page Generator Pro > Generate > click “Text” tab on the Content section > paste).

Keywords vs Block Spinning and Spintax

Keywords are more suited to generating uniform Pages, with each Page using one Term across all fields for that given Page – for example, if we’re generating a unique page for 3 cities (Birmingham, London and Bristol), we’d want the same city term to be used across every content field on a Page:

  • Birmingham Travel Guide
  • London Travel Guide
  • Bristol Travel Guide

It wouldn’t be useful if the Birmingham Travel Guide had London in it!

Block Spinning and Spintax is more suited to quick, inline random Pages, where you’re not fussed what the content is for each generated Page – so long as it’s some variant of the supplied spintax.

You can use Keywords, Spintax or a mixture of both on your Generated Pages.