Instructions¶
This section contains instructions about the most basic policy for identifying placeholder text that should have been changed or removed before publishing.
Click the Global Policies Overview button (mallet icon) on the top menu bar.
Alternatively, click on the header of the Content Policies section on the dashboard.
The Global Policies page opens.
Click Add new policy.
The New Policy page opens.
- Select a pre-programmed placeholder text policy from the list. The most common pre-programmed placeholder text policies are:
Text that starts with Lorem ipsum
Finds any text that starts with “Lorem ipsum” (the placeholder text). Helps to spot any overlooked areas where the actual content is missing.
Most likely policy type: Unwanted
Subject: HTML pages
- Assign Rule Operators, see below for instructions.
- Assign Rules, see below for instructions.
- Click Save to save the changes. A dialog box opens.
- In the dialog box, enter the policy Name (required) and Note if needed and then click Save.
- From the options at the top of the page, select +Add rule to the policy. Repeat the steps above to add as many rules as needed.
- Click Save. The Policy List is open and the new policy is present. A policy scan begins automatically.
Rule Operators¶
Rules¶
- Page HTML: Search for text in the entire domains html.
- Page URL: Set a rule for internal page URLs.
- Text: Search for text excluding CSS and HTML tags.
- Page title: Search for text in the page title (title is not the header).
- Page title length: Define when the rule should apply for the title.
- Heading text: Search for text in headers (h1,h2,h3,h4,h5,h6).
- Heading text length: Define when the rule should apply header texts.
- Meta header: Search for meta header tags, that matches query.
- Meta header length: Define when the rule should apply for meta headers.
- Link text length: Define when the rule should apply for link texts.
- External link count: Define when the rule should apply for external links.
- File size: Search files across selected domains.
- Image size: Search for images across selected domains.
- Image text: Search for images with this name.
- Image text length: Define when the rule should apply for image texts.
- Readability level: Search for text that is in compliance with a school degree.
Example¶
This section gives a common example for a placeholder text policy.
Lorem ipsum¶
This is the simplest of placeholders to set up a policy for. To make this policy, check the RegEx and clear the Case sensitive box and enter the following in the Query field:
Insert [something] here
This policy finds every page or document that contains a phrase that contains the word ''insert'', 1-3 other words, and the word ''here''. Examples of what would be found include:
- "Insert heading here"
- "Insert summary or text here"
To make this policy, check the RegEx, clear the Case sensitive box, and then enter the following in the Query field:
Insert(\s*\w+\s*){1,3}here
Adjustments:
- This example matches between 1 and 3 words between "insert" and "here". Change the numbers in {1,3} to other values as needed.
For instructions on how to build a custom policy, visit Create a custom policy. If the policy you need is difficult to create, contact support for assistance.