This article gives information on how to add a placeholder text policy to the Acquia Optimize scan.
This is the most basic policy for websites containing placeholder text that should have been changed or removed before publishing.
Click Select Domain from the Acquia Optimize landing page. The Domain Overview page opens.
Click Open on the same row as the domain name.
The Dashboard for the domain opens.
Click the Global Policies Overview button (mallet icon) on the top menu bar.
Alternatively, click on the header of the Content Policies section.
The Global Policies page opens.
Click Add new policy.
The New Policy page opens.
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
Regex: Use regular expressions to define what should be searched for.
Regular Expressions in source-code exclusions are not 100% compatible with Acquia Optimize Policies. The languages are different (Java and Ruby).
This section gives a common example for a placeholder text policy.
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:
Lorem ipsum
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:
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:
For instructions on how to build a custom policy, see the User Guide chapter: Create your own Policy. If the policy you need is difficult to create, contact Support for assistance.
For more information, see the User Guide chapters:
See Acquia Optimize for Developers for documentation and advanced help files including SDK information for developers.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Wed Nov 27 2024 08:04:21 GMT+0000 (Coordinated Universal Time)