In the Contents browser, you can search through all components in a folder to see if there is XML content that is used repeatedly. This option creates a Find Duplicate Content Report.
-
Click
Components.
-
In the Folders pane, navigate to the folder where you've saved the components you want to search.
-
To set the scope, in the Components pane search bar, go to within and choose one of the following folder options to search.
- Current Folder
- Current and Subfolders
- All folders
-
Click
Find duplicate content.
-
On the Find Duplicate Content screen:
![](FDC_340screen_f63e7c41-ade3-407b-a49d-7530d09daa6c.jpg)
-
Enter or paste in content you search for and see if it's used in more than one component.
You can include XML code.
For example,
id="image_vfd_y3p_tyb"/> <b>Tips and tricks</b>
Tips and tricks
- Using parenthesis. Inspire recognizes a parenthesis character ( ) as something that indicates a grouping of search items. If you want to search for a text value that actually contains a parenthesis character ( ), you must tell Inspire to interpret it literally. To do that, use a slash \ before any parenthesis character ( ). For example, if you want to search for the following value: Chapter1_Intro(with_endnotes), in the Search for box you would enter Chapter1_Intro\(with_endnotes\).
-
By default, Ignore Whitespace is selected. If you want to include white spaces, clear this option.
-
By default, Ignore ID Attributes is selected. If you included ID attributes in your search text and want to search inside id tags, clear this option.
For example,
If you are searching for "image" inside id tags, you must clear this option to find them.
-
By default, Ignore All Attributes is not selected. If you only want to search for text and don't care what kind of attribute tag it's in, select this option.
For example,
If you are searching for the text "my image" but you don't care about the id tags, you can leave this option unselected.
-
On the Find Duplicate Content screen, click Find.
Results: You see a notification that a report is being created for you.
To view your report, go to the Notifications tab and open one with a Subject line of Find Duplicate Content Report.
Tips and tricks
- To see what content you were searching for, look in Segment.
- If the component's content needs to be updated, you can click on the component Name, which is a link that opens the component in the Oxygen editor.
- The Name is listed first.
- The Name does not contain the file extension. For example, "Copyrights".
- If the component is locked or a binary, you see the component in a read-only viewer.
- If you need to update a component using a system function such as Rename, you can click on the File Name which is a link that opens the folder where it's stored.
- The File Name is listed second, after the shorter Name and in parenthesis ().
- The File Name contains the file extension. For example, "Copyrights_cda13aa4.xml".