<spanclass="pure-form-message-inline"><strong>Note!: //text() function does not work where the <element> contains <![CDATA[]]></strong></span><br/>
<spanclass="pure-form-message-inline"><strong>Note!: //text() function does not work where the <element> contains <![CDATA[]]></strong></span><br/>
{% endif %}
{% endif %}
<spanclass="pure-form-message-inline">
<spanclass="pure-form-message-inline">One rule per line, <i>any</i> rules that matches will be used.<br/>
<ul>
<ul>
<li>CSS - Limit text to this CSS rule, only text matching this CSS rule is included.</li>
<li>CSS - Limit text to this CSS rule, only text matching this CSS rule is included.</li>
<li>JSON - Limit text to this JSON rule, using either <ahref="https://pypi.org/project/jsonpath-ng/"target="new">JSONPath</a> or <ahref="https://stedolan.github.io/jq/"target="new">jq</a> (if installed).
<li>JSON - Limit text to this JSON rule, using either <ahref="https://pypi.org/project/jsonpath-ng/"target="new">JSONPath</a> or <ahref="https://stedolan.github.io/jq/"target="new">jq</a> (if installed).
@ -91,8 +91,8 @@ class update_worker(threading.Thread):
return
return
n_object={'notification_title':'Changedetection.io - Alert - CSS/xPath filter was not present in the page',
n_object={'notification_title':'Changedetection.io - Alert - CSS/xPath filter was not present in the page',
'notification_body':"Your configured CSS/xPath filter of '{}' for {{watch_url}} did not appear on the page after {} attempts, did the page change layout?\n\nLink: {{base_url}}/edit/{{watch_uuid}}\n\nThanks - Your omniscient changedetection.io installation :)\n".format(
'notification_body':"Your configured CSS/xPath filters of '{}' for {{watch_url}} did not appear on the page after {} attempts, did the page change layout?\n\nLink: {{base_url}}/edit/{{watch_uuid}}\n\nThanks - Your omniscient changedetection.io installation :)\n".format(
watch['css_filter'],
", ".join(watch['include_filters']),
threshold),
threshold),
'notification_format':'text'}
'notification_format':'text'}
@ -189,7 +189,7 @@ class update_worker(threading.Thread):
ifnotself.datastore.data['watching'].get(uuid):
ifnotself.datastore.data['watching'].get(uuid):
continue
continue
err_text="Warning, filter '{}' not found".format(str(e))
err_text="Warning, no filters were found, no change detection ran."