Menterprise Publishing Spintax Syntax (MPSS)
Menterprise Publishing Spintax Syntax is an overhaul of tradition Spintax and is the name for Menterprise Publishing's Spintax interpreter. It is more commonly referred to as MPSS.
MPSS vs. Campaign/Subdomain variables
Unlike campaign/subdomain variables MPSS is creation-time defined and cannot be directly updated live. It is entirely defined and used within the content of a campaign. Like Spintax, it is interpreted when the campaign is launched and is then removed (like curly braces.)
With that said, however, MPSS can take on a lot more data and can expand much more than campaign/subdomain variables. It is also page-based, in that it is either random on a per-page basis or unique on a per-page basis, unlike campaign variables (unique per campaign) and subdomain variables (unique per subdomain) - as mentioned previously, this allows much more data.
MPSS Syntax
All MPSS uses single square brackets [ and ] in conjunction with other symbols which you'll see in the next section.
When using MPSS variables you need to define them before using them, otherwise nothing will happen.
An example of defining in MPSS syntax is as follows:
An example of using in MPSS syntax is as follows:
All MPSS definitions end with a [/name] block. When using MPSS variables, the defining part will have an equals symbol "=" and the using part will not (you can see this above)
MPSS Types
There are currently 6 types of MPSS definitions, 5 of which are variables. Firstly, let's start with an overview but to learn each type fully, open each section below.
Spintax Variables
Defines spintax and lets you re-use it. This is what the MPub Copy uses in Menterprise Content to reduce the size of the copied article.
Static Variables
Unlike Spintax Variables, Static Variables are spun once and then repeated. This is great for things like cities or locations, where you want your content to talk about the same thing consistently.
Property Variables
Property Variables are an extension to Static Variables that support multiple pieces (or columns) of data, which allows you to do things like city/postcode or product/price on a per-page basis with ease.
Spread Variables
Spread Variables are an extension to Static Variables that give the ability to guarantee a coverage of a set of Spintax across a campaign. This is especially useful for keywords that you want at least one page each for each keyword.
Pick Variables
Unlike Spintax Variables and Static Variables, Pick Variables introduce a way of creating "sets" of Spintax that can be used within the page. This is great for multiples of things - a good mix between the Static Variables and Spintax Variables.
Ignore Tags
Put in stuff you don't want spun. Super useful for Javascript code with curly braces {}.