Open topic with navigation

# DeleteStringCheck

Use this parameter to specify a bit-wise mask number used to determine which pages to delete from IDOL server. Enter a bit-wise mask number specifying where strings (defined in the parameter `DeleteStringCSVs`) must appear for a page to be deleted. You can create the number by adding together some of the following numbers as appropriate:

Page header: 4 | If you enter `4`, the connector determines whether the HTML <HEAD> tag of a page contains any of the strings specified in the parameter `DeleteStringCSVs`. If the header contains any of these strings, the page is deleted from IDOL server.
Page content: 8 | If you enter `8`, the connector checks whether the content of a page contains any of the strings specified in the parameter `DeleteStringCSVs`. If the content contains any of these strings, the page is deleted from IDOL server.
Case insensitive: 64 | If you add `64` to the `DeleteStringCheck` value, the connector checks the appropriate page parts for a case-insensitive match for any of the strings specified in the parameter `DeleteStringCSVs`. If the connector finds any of these strings, the page is deleted from IDOL server. Note that if you specify `64`, you must also specify another value to indicate which part of the page the connector should check for the `DeleteStringCSVs` strings.
Before download: 128 | If you add `128` to the `DateCheck` value, the connector checks the URL to determine whether the date for the page is in the range specified by the parameters `BeforeDate` and `AfterDate`. If a page's date is not in this range, the connector does not download the page.
Spider check cache URL: 256 | If you enter `256` to the `DateCheck` value, the connector checks the appropriate page parts for any of the date formats specified in the parameter `DateFormats`, and discards any page that does not contain one of the specified formats. Note that if you specify `256`, you must also define another value to specify which parts of the page the connector should check for the `DateFormats` strings.

If you enter `0`, the connector does not check for `DeleteStringCSVs`.

In the example below, the connector checks the content of pages for case-insensitive matches for the strings you specified in the parameter `DeleteStringCSVs`. If the content of a page contains any of these strings, the page is deleted from IDOL server.

Type: | Long
Default: | 0
Required: | No
Configuration Section: | TaskName or Default
Example: | `DeleteStringCheck=72`
See Also: | DeleteStringCSVs

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm