Content Profiles let you configure how Acrolinx reads your content. You'll find Content Profiles under Guidance Settings in the Dashboard.
In this guide, we'll go through each tab of the Content Profiles section and talk about each field.
Note
All the changes that you make in your Content Profile are effective immediately.
On the landing page, you'll see a list of all your Content Profiles. Here, you can upload or add a new one.
|
Content Profile name. |
|
Content Profile shortcut menu. |
|
Default system profile. You can't make any changes to this Content Profile, but you can copy or download it. |
Note
Acrolinx selects the Content Profile with the criteria that best match your content. If two Content Profiles have exactly the same criteria, Acrolinx will give priority to your Content Profile over a default system profile.
For example, you create a copy of a default system profile and adjust the settings but not the criteria. Acrolinx will then choose your copy over the default system profile.
Name |
Give your Content Profile a descriptive name. You might include the content type (for example, HTML) or the integration (for example, PowerPoint). |
Description |
Additional information that might be important for this Content Profile. |
Check all content confidentially |
Prevent any text or statistics from being written to the Acrolinx Analytics database. For more information about this feature, see the article Protect Confidential Content. |
Tell Acrolinx when to apply this Content Profile to your content.
Integration |
Field type: String or Regular Expression The signature that an Acrolinx Integration sends when it authenticates with an Acrolinx Platform. You might use this identifier for customized Acrolinx Integrations such as CMS integrations that don't send an integration short name. NoteOnly use this matching criterion if no other matching criteria work for you. Matching on the signature means that the Content Profile will only match when writers check from a certain editor. It can be useful if the host editor is the only way of determining the document type. Example |
Language |
Field type: String or Regular Expression The language of the check as indicated by the Acrolinx Integration. You can use this property to change the extraction settings based on the language of the content. Example One scenario might be that you're checking a multilingual XML format such as TMX. You would want to include the parts of the file that match the checking language. To target the German segments in a TMX file, you would enter the language as follows: de |
Target |
Field type: String or Regular Expression You can use this criteria if you want a Content Profile to apply to a specific Target. Simply enter the name of a Target. NoteIf you don't have Targets yet, you can enter the name of a Writing Guide or Checking Profile. If your Writing Guide and a Checking Profile have the same name, Acrolinx will select the Checking Profile. |
Starting Element |
The starting element set to "include" works for most cases. This means that Acrolinx will read everything. |
Default Break Level |
Define how the text should be broken up, such as sentence break or token break elements. NoteXML processing instructions have their break level set to none by default. You can always set this to a different value if you need to. |
Mark excluded elements |
Insert placeholders for excluded elements when Acrolinx processes the text. This property prevents false issues caused by excluded elements. |
Remove Extra Whitespace |
NoteThis option is only present for XML Content Profiles. Replace sequences of whitespace with a single whitespace character. This is useful if your XML editor sends content to Acrolinx in a pretty-printed format. If you want to set up a new XML Content Profile, you should generally select this option. |
Allowed External DTDs |
Field type: Regular Expression Allow external DTDs. You need this setting if your Content Profile applies to files that reference external DTDs. Example If your Content Profile applies to DocBook articles, and those articles reference the DTD "docbookx.dtd," you need to allow that DTD. Otherwise, Acrolinx will ignore it. To allow all DTDs in the "DITA" directory, you would enter the property as follows: .*/dita/.*.dtd If you had multiple directories such as "DITA" and "doc book," you would separate them with the OR operator " .*/dita/.*.dtd|.*/doc book/.*.dtd |
Entity Conversion Map |
Field type: String Tell Acrolinx how you've defined your own entities in your DTDs. Enter your entities in the format: Acrolinx replaces the entity with the value. So, for the above example, Acrolinx replaces all instances of You can enter Unicode characters two ways:
|
Extraction Settings
Element Name |
Name of the element without any syntax. Example If your element is comment You can also match an element and its attributes. Use the following format: elementName attribute=value Example If you have the following element: paragraph internal=true TipUse wildcards to match multiple elements or attribute values at once. For example, the following Element Name matches all elements that include the attribute Example * internal=true |
Filter Mode |
|
Break Level |
|
Attributes to Extract |
Attributes in your elements that you want Acrolinx to read. For example, if you had a paragraph element that has the attributes title and subtitle. <paragraph internal="true" title="Title of this paragraph" subtitle="This is the subtitle of this paragraph"> </paragraph> If you want Acrolinx to read the title and subtitle, then add 'title' and 'subtitle' to your Attributes to Extract. |
Parenthetic |
Treat the element as a separate sentence, even if it's embedded in another sentence. A typical example is a footnote that's embedded in the middle of a sentence like this: <p>This is the <footnote>This is a second sentence.</footnote> first sentence.</p> This situation is kind of rare, but it's good to know about it anyway. You know, just in case. |
Much of guidance is context-dependent. Map your elements to the contexts in your guidance.
|
Select a context from the list or click + to add a new context. |
|
Enter the name of the context. You can also change the name of a context. |
|
The mapping field expects an XPath. List the elements that you want to map to your context. Click + to add a new mapping. |
The issue location helps your users to find the issue that they're looking for in the Sidebar, configure the issue location.
For example, here's how it looks in the Sidebar when the issue is in a list or a table:
|
Select an issue location from the list or click + to add a new issue location. |
|
Issue location ID. |
|
Define the location with XPath. |
|
The localization is what appears in the Sidebar to show the name of the location of the issue. |
This section lists any custom fields that you've configured to read data from your content. You can then use XPaths to define the precise locations of each data point.
Note
This feature only works for structured formats such as XML, HTML, or Markdown. For more information about this feature, visit Configure Automatic Data Mapping.
Custom Field |
The name of the custom document-level field that's configured to read data from your content. |
Location |
An XPath to the precise element that contains the data to receive. |