PageDateSelector
A list of CSS selectors to identify elements that might contain the date associated with a Web page.
- If the date is contained in the element's content, setting this parameter is sufficient to extract the date.
- If the date is contained in an attribute, set this parameter and then set PageDateAttribute to identify the attribute.
The connector uses the first date that it finds.
The date must be in one of the formats specified by the DateFormats parameter.
Type: | String (list) |
Default: | |
Required: | No |
Configuration Section: | TaskName or FetchTasks or Default |
Example: |
In this example, the connector searches for a date in a paragraph element with the attribute <p id="date">Page last updated on 2015-06-30</p> |
See Also: |